Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Percussion Instrument On/Off and Name
The Percussion Setup allows up to 6 percussion sounds at a time, labeled A-F. Each has an Instrument Number (Inst #) control that allows selection of the desired sound. Next to each is a long Instrument On/Off button that also shows the name of the selected instrument.
You can see the General MIDI Percussion Instruments list at any time by right-clicking the Instrument Number or Instrument On/Off controls for Instruments B through F. (Not Instrument A, which provides this control Help.)
Use Xv=n to set the Percussion Instrument v On/Off state to the value 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, the instrument is off; any other value toggles it on.
v must be a letter from A-F, case insensitive. Alternatively, use G to set all instruments A-F at once.
You can read XG to get the count of all active percussion instruments. Note that this count is independent of whether the overall Percussion On/Off state is on.
You can use x instead of a value for n to toggle the current state. For example, XB=x toggles the state of Percussion Instrument B.
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2021 by Interstellar Research
All rights reserved