Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
Sound Card Pitch-to-MIDI Dialog
This button opens a dialog that allows Pitch Track notes to produce corresponding MIDI events that can be recorded or used to control a synthesizer.
This button also shows whether Pitch-to-MIDI is on or off, but the actual On/Off button is in the Pitch-to-MIDI dialog itself.
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. By default, the Pitch Display button in the Spectrogram dialog is set to "Show Tracked Pitch", so the display will show the spectrogram of the full input signal, while Pitch-to-MIDI responds only to the tracked pitch. You will probably want to toggle Pitch Display to show MIDI notes, with color indicating velocity, instrument, voice, or level.
Please note: The Microsoft GS Wavetable Software Synthesizer that is the default MIDI device for most sound cards has excessive latency... over 100 milliseconds. This is not a problem for "normal" multimedia programs that play pre-recorded MIDI songs, since it merely means that playback starts slightly later than when you press the "Play" button. For the same reason, it's also not a problem for DaqMusic or KaleidoSynth operation. But when used for live performance (whether via Pitch Track or a separate keyboard), this latency means that each note is delayed from the time you perform it. This makes it extremely difficult to play.
If you use Pitch-to-MIDI with a hardware synth, there is no noticeable latency. Fast software synths are also suitable; see MIDI Device Select.
Pitch-to-MIDI allows up to 8 different pitched MIDI voices plus up to 6 unpitched percussion voices to be created for each Pitch Track note. Each pitch voice may be set to any of 128 different General MIDI Instrument Sounds, and the percussion voices to any of the General MIDI Percussion Sounds.
You may select whether the voices sound at a specified Tempo, or just follow the rate of the incoming pitch notes.
The Level (volume) and Pan position of each voice may be set directly from the Pitch-to-MIDI dialog. Buttons on the left side open dedicated voice setup dialogs, which include controls for timing and pitch, including fitting to a selected musical scale. You can enter velocity, note, or chord patterns to provide a general structure, or to provide a background beat or rhythm. You can even enter a complete song, then modify it as desired via the controls, or via a Changes script.
Each of the setup dialogs allows a Changes script to be programmed to operate any of the visible controls (plus other Changes-only controls) at specified intervals. For example, you can change the instrument number, or raise or lower the pitch, or adjust the range of notes that the voice will accept. You can set specific values, or use random values from user-specified ranges, or use one of 24 different adjustable oscillators to provide cyclic values.
You can copy sets of input notes to buffers and use them as recurring themes, bass lines, or background rhythms in the performance. You can make copies, modify them dynamically, and later return to the original.
Scripts can make IF-ELSE decisions based upon random or cyclic values, or upon computer key states or mouse position, or live or saved input notes. Scripts can evaluate mathematical expressions, and they can execute instructions in loops.
If the Spectrogram dialog is open and Pitch Track is active (such that the Pitch-to-MIDI button is enabled), PitchMIDIdlg=1 will open the Pitch-to-MIDI dialog, PitchMIDIdlg=0 will close it, and PitchMIDIdlg=x will toggle the current state.
If the Pitch-to-MIDI button is disabled, the PitchMIDIdlg command will produce an error message and abort the current macro.
Note that it is not necessary to open the Pitch-to-MIDI dialog to operate any of its controls via macros.
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