Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Voice Pan Position
Pan values default to 0 (Center), and may range from -64 (full Left) to +63 (full Right).
Pv=n sets the Pan Position for Voice v to the value of n, which may be any signed integer or valid expression, including current MIDI control values, random values, current computer keyboard states or mouse position, input or buffered notes, or oscillators. Values will be limited to the range of -64 (Left) to +63 (Right).
For example, to slowly move the Pan Position for Voice 2 in a sinusoidal fashion with a 10-second cycle between full Left and full Right and back, you could use:
$1=0.1 W=1 P2=$1(-64,+63)
The first line sets oscillator 1 to 0.01 Hz. The second line waits 1 beat and then sets Pan Position using oscillator 1 running between limits of -64 and +63.
If you use this as a complete Changes script, the oscillator frequency will be reset redundantly on every beat, but the oscillator will continue to run normally and its output will not be reset unless an explicit phase value is specified.
Alternatively, you can set the frequency once at the start, then use an infinite loop that updates the Pan Position on each beat.
You can use "voice" 9 to set the Pan Position for all 8 voices at once.
MIDIpan2=64 sets the Pan Position for Voice 2 to 64. MIDIpan2=>1 increments the current Pan Position by one, while MIDIpan2=>-1 decrements it.
However, Changes scripts are recommended for this purpose.
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 30 Years of Innovative Instrumentation
© Copyright 2007 - 2017 by Interstellar Research
All rights reserved