SuperCollider
Mixing, signal distribution and Ambisonics encoding in the SeamLess System is based on SuperCollider. Two main scripts are used:
HuFo_SERVER.scd
HuFo_SERVER is the central distribution instance for the source signals, as well as for Ambisonics encoding.
SC IO Assignment
The following assignment is only valid for the 3rd order configuration:
Inputs | Description |
---|---|
00-63 | raw audio input |
Outputs | Description |
---|---|
00-63 | WFS input channels |
64-79 | HOA encoded |
80-83 | FOA encoded reverb |
84 | sub send |
HuFo_WFS.scd
HuFo_WFS is a mixing and distribution instance for the source signals, limited to WFS for use on the additional WFS rendering servers.
Starting
Both instances are take the same optional input arguments:
Defaults:- N_inputs: 64
- server_port: 58010
Setting Up
Build Decoders
Decoders in ADT have a problem for more than speakers 24? speakers. Use standalone decoder in that case.
Install Decoders
Copy the directory decoders
to the SC user
extension directory. It can be obtained in SC:
Platform.userExtensionDir
For larger loudspeaker setups (<24), standalone Jack decoders are used.
SuperCollider OSC Paths
The sueprcollider mixer listens to several OSC messages for signal routing and conrolling positions
Sends
To Ambisonics + WFS
/source/send/spatial i i f
- first argument = channel ID
- second argument = system ID
- 0 = Ambisonics (inside SC)
- 1 = WFS (external, WONDER)
To Subwoofer
/source/send/direct i i f
- first argument = channel ID
- second argument = output ID
- 0 = Subwoofer
Ambisonics Spatial Control
/source/pos/azim i f
- first argument = channel ID
- second argument = angle (rad)
/source/pos/elev i f
- first argument = channel ID
- second argument = angle (rad)
/source/pos/dist i f
- first argument = channel ID
- second argument = distance (meters)
/source/pos/aed i f f f
- first argument = channel ID
- second argument = azimuth (degree)
- third argument = elevation (degree)
- fourth argument = distance (meters)