Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
This is the overall On/Off button for the Pitch-to-MIDI process. When it is on, notes detected by the Pitch Track process are translated into MIDI events. There will be a separate event for each MIDI Voice that is active, but they will all start at the same time unless you specifically set a Note Delay value.
While the Pitch-to-MIDI On/Off button is active, the elapsed time (in seconds) is shown to the left of the button. This is especially useful with DaqMusiq setups like the "Glossy" family, which don't depend on Pitch Track input and whose random performances can be replicated exactly by setting the same starting random seed. If you later want to record a particular passage in a longer performace, you can set the seed and wait for the same elapsed time.
The Pitch Track button doesn't need to be active to use Pitch-to-MIDI. As long as the Spectrogram (Sgram/PT) display is active, the Pitch Track function will be carried out in the background. The display will show the spectrogram of the full input signal, while Pitch-to-MIDI responds only to the tracked pitch.
Use X0=0 (or X0=x) to toggle Pitch-to-MIDI off. This allows a Changes script to turn itself off at the end of a performance. You can use an expression in place of the immediate value to allow Pitch-to-MIDI to be toggled off according to a calculated or random value.
Note that X0=1 (or any value above 0) causes Pitch-to-MIDI to be toggled off, then immediately back on. This allows you to restart a performance, either repeating the same one, or, if the performance is controlled by random values, giving a completely new performance. If a MIDI recording is in progress, it will continue through the restart.
One way to determine when to end a performance is to read elapsed time in milliseconds via the mT option, or elapsed beats via mB, using a read-only Changes Script Mouse and Miscellaneous Position command.
If you read X0 in a script (such as via UA=X0) it returns 1 if Pitch-to-MIDI has been restarted via the the above X0=1 method at any time since the last manual start, otherwise it returns 0. GlossyTracks uses this in its Percussion script to randomize the random seed only after a manual start, not for each track played. This allows repeating an entire series of tracks exactly.
PitchMIDI=1 turns Pitch-to-MIDI on, PitchMIDI=0 turns it off, and PitchMIDI=x toggles the current state.
Note that both Pitch Track and Spectrogram must be active for MIDI events to be produced.
If you read PitchMIDI (such as by assigning it to a variable, as in X=PitchMIDI) it returns the current state: 0 = Off and 1 = On.
PitchMIDI?m returns the number of milliseconds elapsed, updated on every trace update (10 msec default) during the performance. This is the raw value that is formatted into H:M:S before being shown to the left of the button.
Likewise, PitchMIDI?B returns the number of beats elapsed since the start of the performance. The value is also returned by reading Posn?B via a macro, or mB in a Changes script.
Posn?M returns a count of the number of MIDI note events received from Pitch Track, as does mM in a Changes Script. (This is typically much higher than the number of beats, since it is incremented on every trace update during a DaqMusiq performance.)
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