User Guide  for  Hauptwerk
About Hauptwerk
Welcome
What is it?
What is it used for?
Licensing
Installation
Prerequisites
Background
Installing
Upgrading
Backups
Quick start
Stand-alone
MIDI sequencing
VSTi plug-in
Background
Tour of a pipe organ
Using Hauptwerk
The virtual console
Settings screens
Menus
The File menu
Loading sample sets
Combination files
The registration sequencer
Temperaments
Audio routing and multi-channel audio
Activation and reset
Capture mode
Recording audio
Master tuning
The transposer
MIDI input
MIDI output
Re-directable inputs
Component installer
Importing v1 organs
MIDI organ consoles
MIDI sequencing
Organ design tools
Performance tuning
General options
Sample set options
Voicing
Reference
MIDI implementation
Troubleshooting
Creating sample sets

Audio routing and multi-channel audio


Multi-channel audio output is only relevant if your computer has an audio interface that has multiple physical audio outputs which can be accessed independently (often not the case with surround-sound sound cards), and multiple amplifiers and speakers to drive from them. In such cases, you can route different ranks to different speakers, or groups of speakers, and thus provide a three-dimensional effect, at the same time optimising the load on the speakers and minimising distortions within the amplification system. With 'dry' sample sets (no room acoustic recorded into samples) the use of many separate speakers also makes the virtual pipes interact in a much more natural way with the acoustic of the listening room, helping the brain to identify them as separate sound sources and giving much greater perceived clarity.

Multi-channel audio output is also only available in the Advanced Edition of Hauptwerk. The relevant screens are accessible in the Hauptwerk Basic Edition but it is not possible to insert additional outputs via the screens, so only a single stereo or mono output can be used with the Basic Edition.

We will use an example (by no means optimal) to illustrate how it is configured:

Suppose you have an audio interface with eight physical (mono) analogue audio output channels, such as the Focusrite Saffire. Suppose that you want two of those channels to be used for Pedal ranks, with output to two separate mono amplifiers and bass speakers, and with the Pedal pipes distributed evenly amongst those two amplifiers. You also want the next four audio channels to drive two stereo amplifiers to which you will route the main pipework, with the pipes being distributed evenly between those two stereo amplifiers. Finally, the remaining two channels will be used for high-pitch ranks, with standard stereo output.

You would need to have three audio output groups in the General settings | Audio output groups screen:
  • Pedal.
  • Main.
  • Upperwork (high pitched ranks).
Audio output groups


The Output allocation algorithm within group setting determines how Hauptwerk will allocate each individual pipe amongst the available logical outputs within the group. For example, if a group contains three mono outputs and the the selected algorithm is 'Cyclic within octave, octaves constant', the a C-note pipe will be assigned to the first logical output, a C#-note pipe to the second, a D-note pipe to the third, a D#-note pipe back to the first, and so forth. Other algorithms can give a C/C# split, minimise the chance of any two pipes sounding through the same channel at the same time, minimise speaker intermodulation distortion, and other options.

After clicking OK on the screen you will receive a warning message that some groups do not have any logical audio outputs within them. This is to be expected because they have not been created at this stage.

You would then need to use the General settings | Audio outputs screen to configure five logical (primary) audio outputs:
  • Pedal 1, with its audio output group set to Pedal and channel format mono.
  • Pedal 2, with its audio output group set to Pedal and channel format mono.
  • Main 1, with its audio output group set to Main and channel format stereo.
  • Main 2, with its audio output group set to Main and channel format stereo.
  • Upperwork, with its audio output group set to Upperwork and channel format stereo.
Audio outputs - main tab


Audio outputs - routing tab


Still on the General settings | Audio outputs screen, make sure that the correct audio driver is selected for all entries (the Focusrite Saffire's native driver in this example) and select the audio interface's physical analogue audio output channels for each of the logical audio output channels:
  • Pedal 1, device channel 1 [L]: 001.
  • Pedal 2, device channel 1 [L]: 002.
  • Main 1, device channel 1 [L]: 003.
  • Main 1, device channel 2 [R]: 004.
  • Main 2, device channel 1 [L]: 005.
  • Main 2, device channel 2 [R]: 006.
  • Upperwork 1, device channel 1 [L]: 007.
  • Upperwork 1, device channel 2 [R]: 008.
Audio output channels


You are now ready to load the organ. Load the organ with Organ | Load organ, adjusting rank audio output routing so that the routing screen appears. For each of the Pedal ranks set the Destination output group to Pedal so that its pipes will be distributed evenly amongst the two available mono logical audio outputs, thus sounding in mono. For the high-pitched ranks, select Upperwork for the output group so that all of their pipes will be routed to the (only) stereo logical audio output within that group. Finally, select Main as the group for all remaining ranks. Because there are two stereo logical audio outputs within the group, the pipes will be distributed evenly between those two outputs, but each pipe will still produce stereo output because the logical audio output is stereo:

Rank audio output routing


To summarise some of the key points:
  • Ranks are routed to audio output groups.
  • Each group must contain one or more logical audio outputs.
  • The channel format (mono or stereo) of a logical audio output determines the channel format in which any pipes mapped to it will sound. Note that if a mono sample is played through a stereo logical audio output, it will automatically be panned to stereo in real-time, based on its virtual pipe position.
  • If a group contains more than one logical audio output, then its pipes will be distributed amongst the outputs in the group based on the selected allocation algorithm. Note that the mapping happens when the organ is loaded and remains static, so individual pipes do not move between speakers.
  • The logical audio outputs map logical channels to individual physical device channels.
[Note that panning mono samples into stereo in real-time is less processor-intensive than playing true stereo samples in the current version of Hauptwerk, unlike Hauptwerk version 1.]

It is also possible to route the lower and upper parts of a rank separately so that, for example, you could route the bottom octave of a rank to an audio output group containing high-powered mono bass amplifiers, and the remainder of the rank to standard full-range stereo amplifiers and speakers. To do so, on the Rank Bass Routing tab of the Rank Audio Output Routing screen, change the Main/bass split point note number from 0 (no split) to 48. 36 is the note number of the bottom C on a 61-note keyboard or a pedalboard, so 48 is the note number of the C one octave above it. You can then use the remaining settings on the tab to select a different audio output group for the bass part, and also to adjust the maximum channel format and resolution, as with the main part.

You can also create additional logical audio outputs which are used to mix down the audio from other logical outputs, forming a virtual mixing desk. This enables you to drive separate mixed-down outputs to be sent to external reverb processors, monitor speakers, headphones, and for recording a mixed-down stereo output from a multi-channel audio system, for example.

To do this, simply create a logical audio output for each such mixed-down output required, and set its Output type to 'Aux mix-down output':

Mix-down audio output


Now for each of the other (primary; non mix-down) logical audio outputs, specify the new mix-down output as an aux send destination on the Routing tab:

Audio output aux sends


You can also adjust the level for the send, thus providing different mix balances to different mix-down outputs.

As with all of Hauptwerk's setting screens, click on the pointer/question-mark icon immediately to the left of a screen's OK button:

Question-mark help


... then click onto the screen background or a specific setting for a detailed explanation of its function. This section in the user guide is only intended to give a very brief overview of the use of the audio screens, and must be used in conjunction with the pointer/question-mark.


Visit Crumhorn Labs on the Internet
© Crumhorn Labs Ltd 2001-2008

Hauptwerk, Hauptwerk virtual pipe organ, Crumhorn Labs and the Crumhorn Labs and Hauptwerk logos are trademarks of Crumhorn Labs Ltd.