Routes inputs to various outputs, such as loudspeakers or plug-ins etc.
Based on Ville Pulkki's genius vbap object. Patch written by Noid & Klaus.
Consider vbap@ as a plug-in that has a dynamic amount of audio inputs and outputs.
Each input you create will be addressable from other acts. Note, that you will have to reselect vbap@ in other acts to see the updated list of inputs after changing inputs-amount.
Inputs are represented by colored and movable dots.
alt-click outside of dots will jump the selected one.
ctl-click outside of dots will move the selected one slowly, defined by the value of "jumpramp" in milliseconds.
the outramp is a general smoothing for any movements in vbap.
Outputs are represented by gray dots. By default the outputs will be routed to one of the 16 outputs of ho_st (ready to have a multiple loudspeaker setup), but you can change these setting with the list in the define-window.
Click on a line of the list, then edit menus above:
select output, act menu, audio-input (of selected act), azimuth (degrees) >>change the position of that output in the circle. elevation (degrees) >> only in 3D-mode.
vbap has two basic modes: 2D or 3D
2D-mode: position the sound source (input-dot) in the virtual space of outputs (loudspeakers or whatever).
3D-mode: basically the same, but a little tricky in projection on the computer screen: imagine looking on a sphere from top-view.
the dots, you can move, are always displayed on the surface of this sphere.
The parameter to move a sound source into the room is "spread" which can be edited as number bottom-left.
If spread is "0" the sound source is on the surface of the sphere, increasing spread will move the source towards the center of the ball (on an imaginary line between dot and center) but this will not be graphically indicated!
Loudspeaker positions are always on that sphere, never closer to the center (listening-position).
If you move a dot exactly on a loudspeaker with spread ==0, the second comes only from that speaker.
vbap@ loads itself with a default setup with one input and 4 outputs.
The input is represented by the (red) dot labeled with "1" in the middle of the black circle.
Now route any audio-out of another act to "email@example.com~1" (you should hear that immediately).
By default the 4 outputs are assigned to ho_st's outputs 1-4, whereas, 1 and 2 are left and right. Moving the red dot to output 1 (smaller grey dot labeled with "1") will bring your sound to the left speaker, moving to output2 will send it to the right.
If you have a multichannel-audio-card correctly assigned, outputs 3 and 4 will go there as well.
DEFAULT: If you created new outputs, pressing "default" will arrange the outputs evenly on the circle.
You can select one of the input-dots either by clicking on it or entering the number in the "sel" box (top-left).
The selected input is then marked with a circle-frame around it.
If you click in empty space (black), the selected point will jump to that position.
Ctl-clicking in empty space will move the selected dot there in a time defined by "jump-ramp"
The our-ramp smooths any move of the dots.
To have vbap@ loaded into an environment correct, you have to "write" a vbap@-preset before saving.