Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Buffer Note Values
These are MIDI note numbers from 0-127, or 255 for silence if there is no note. (0 also acts as silence here, although in normal MIDI usage it would be C-2 = 8.176 Hz.)
You can use a Buffer Note value anywhere a value can appear on the right side of an expression, typically shown as n in Changes command formats. The format to replace the n is Bvb.n0, where v is Voice number 1-8, and b is buffer number 1-4, or else 0 for that voice's live input (including any Note Delay). n0 is the index into the buffer, from 0-255. (For live input, the index is interpreted as "notes ago". See Buffer Copy for more information.)
Buffer Note values allow scripts to change in response to notes being played (or about to be played, or previously played). As an example, a Voice Setup could change the Instrument Number according to note range, perhaps selecting a piccolo for high notes and a tuba for low:
[B10.0>60 I1=72 | I1=58]
In this IF-ELSE statement, B10.0 is the current live input note for Voice 1. If it is above 60 (Middle C), the Voice 1 Instrument is set to 72 (Piccolo), else 58 (Tuba).
For DaqMusic or KaleidoSynth performances that don't need to track a live input in real-time, you can set a certain Note Delay for each voice. As usual, the 0th index refers to the current note to be played by a voice, but in this case you can use negative index values to peek ahead at upcoming notes.
Note that this command is "read-only" and can only appear on the right side of an expression, or in an IF test. However, it is equivalent to the 8-bit buffer direct access command Bbvb.n0 which can be used on either side of an expression, with the exception that you can't change live input notes (buffer 0).
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 30 Years of Innovative Instrumentation
© Copyright 2007 - 2013 by Interstellar Research
All rights reserved