Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
MIDI Changes Script On/Off
The Changes button (next to the Changes script editor in the Voice Setup, or Enable Changes at the bottom of the Float editor) allows you to toggle the operation of the Changes script on and off. This is useful during testing, especially when there are multiple scripts running at the same time.
You can use a Changes script command to enable or disable script operation during a performance. Typically, you would have one script that is always running, and it would enable enable or disable other scripts as desired.
A script may disable itself (say, when it finishes a task), but once it is disabled it is no longer executing commands, so any command to re-enable it must be given by a running script.
cv=n sets the Changes enable state for the Voice v script to the value of n, which may be any unsigned integer or valid expression, including current MIDI control values, random values, current computer keyboard states or mouse position, input or buffered notes, oscillators, and User Variables. If the value is zero, Changes is off; any other value sets it on.
Alternatively, you can use x instead of a value to toggle the current state. For example, c2=x toggles the current Changes state for Voice 2.
Note that you can use "voice" 9 to set all tonal voices off or on at once via c9=0 or c9=1. (Of course, the latter must be run from a Percussion script that is still active.)
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