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!

Voice Pan Position

Controls: Sgram/PT Dialog >> Pitch-to-MIDI >> Setup
Changes: Pv=n
Macros: MIDIpan1-8

The Pan control appears in the Voice Setup dialog for an individual voice, and together with the Pan controls for all voices (including Percussion) in the main Pitch-to-MIDI dialog.

Pan values default to 0 (Center), and may range from -64 (full Left) to +63 (full Right).

The Pan Scan, Pan Wrap, and Pan Beat controls in the Voice Setup dialog allow automated motion of the Pan position, or you can set it directly via Changes script commands.

MIDI Changes Script:

Pv=n sets the Pan Position for Voice v to the value of n, which may be any signed integer or valid expression, including current MIDI control values, random values, current computer keyboard states or mouse position, input or buffered notes, or oscillators. Values will be limited to the range of -64 (Left) to +63 (Right).

For example, to slowly move the Pan Position for Voice 2 in a sinusoidal fashion with a 10-second cycle between full Left and full Right and back, you could use:

W=1 P2=$1(-64,+63)

The first line sets oscillator 1 to 0.01 Hz. The second line waits 1 beat and then sets Pan Position using oscillator 1 running between limits of -64 and +63.

If you use this as a complete Changes script, the oscillator frequency will be reset redundantly on every beat, but the oscillator will continue to run normally and its output will not be reset unless an explicit phase value is specified.

Alternatively, you can set the frequency once at the start, then use an infinite loop that updates the Pan Position on each beat.

You can use "voice" 9 to set the Pan Position for all 8 voices at once.

Macro Notes:

MIDIpan2=64 sets the Pan Position for Voice 2 to 64. MIDIpan2=>1 increments the current Pan Position by one, while MIDIpan2=>-1 decrements it.

However, Changes scripts are recommended for this purpose.

See also 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