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!

Percussion On/Off

Controls: Sgram/PT Dialog >> Pitch-to-MIDI >> Percussion Setup
Changes: XP=n
Macro: MIDItogP
Table: General MIDI Percussion Sounds

The Percussion On/Off button appears at the upper left of the Percussion Setup dialog, and near the bottom of the Pitch-to-MIDI dialog.

Unlike the analogous Instrument On/Off button in the Voice Setup and Pitch-to-MIDI dialogs it does not show an instrument name. It controls the overall Percussion voice, which may include up to 6 separate instruments, each with its own Instrument On/Off button.

Note that toggling the Percussion On/Off does not toggle the associated Changes script operation, which must be toggled separately. A Percussion script can thus continue to run (affecting Voice Setups) while Percussion itself is off.

MIDI Changes Script:

XP=n sets the overall Percussion state to the value of 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, Percussion is off; any other value turns it on.

Alternatively, you can use x instead of a value to toggle the current state. For example, XP=x toggles the current Percussion state.

Tip: As noted, the n value can include random values. If you set the random limits to 0 and 1, as in XP=?(0,1), Percussion will be toggled on approximately half the time. See the Random Values topic for a simple method to control the average percentage of on or off states.

Macro Notes:

MIDItogP=1 sets Percussion on, MIDItogP=0 sets it off, and MIDItogP=x toggles the current state.

However, Changes scripts are recommended for this purpose.

See also Percussion Setup Dialog Pitch-to-MIDI dialog, Pitch Track Toolbox - Overview, Spectrogram / Pitch Track Controls, Spectrogram / Pitch Track (Sgram/PT)


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