Let’s use Level ()
to build a linear panner:
ControlIn[1]
>> Map (
mode: 'Linear'
minimum: 0.0
maximum: 1.0
bypass: off
)
>> PanPosition;
Microphone
>> Level (
gainType: 'Linear'
gain: PanPosition
offset: 0.0
bypass: off
)
>> MainOutput[1];
Microphone
>> Level (
gainType: 'Linear'
gain: 1.0 - PanPosition
offset: 0.0
bypass: off
)
>> MainOutput[2];
Microphone
>> Level (
gainType: [ 'Linear', 'Linear' ]
gain: [ PanPosition, 1.0 - PanPosition ]
offset: [ 0.0, 0.0 ]
bypass: [ off, off ]
)
>> MainOutput[1:2];
Microphone
>> Level (
gainType: 'Linear'
gain: [ PanPosition, 1.0 - PanPosition ]
offset: 0.0
bypass: off
)
>> MainOutput[1:2];
signal PanPosition {
default: 0.0
rate: ControlRate
reset: MasterReset
meta: 'Pan position'
}
ControlIn[1]
>> Map (
mode: 'Linear'
minimum: -1.0
maximum: 1.0
bypass: off
)
>> PanPosition;
Microphone
>> Pan (
position: PanPosition
bypass: off
)
>> MainOutput[1:2];