Data AcQuisition And Real-Time Analysis
Scope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
The following is from the Daqarta Help system:



Spectrum Analyzer

Signal Generator

(Absolutely FREE!)


Pitch Tracker


DaqMusiq Generator
(Free Music... Forever!)

Engine Simulator

LCR Meter

Remote Operation

DC Measurements

True RMS Voltmeter

Sound Level Meter

Frequency Counter
    Spectral Event

    MHz Frequencies

Data Logger

Waveform Averager


Post-Stimulus Time
Histogram (PSTH)

THD Meter

IMD Meter

Precision Phase Meter

Pulse Meter

Macro System

Multi-Trace Arrays

Trigger Controls


Spectral Peak Track

Spectrum Limit Testing

Direct-to-Disk Recording



Frequency response

Distortion measurement

Speech and music

Microphone calibration

Loudspeaker test

Auditory phenomena

Musical instrument tuning

Animal sound

Evoked potentials

Rotating machinery


Product test

Contact us about
your application!

MIDI Buffer Note Values

Changes: Bvb.n0

MIDI Changes scripts can use individual note values from a Buffer or from live input on the right side of any expression.

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 DaqMusiq 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).

See also Changes Script Buffer Operations, Changes Script Overview, Changes Script Editor, MIDI Voice Setup Dialogs, Pitch-to-MIDI dialog, Pitch Track Toolbox - Overview


Questions? Comments? Contact us!

We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved