Daqarta
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:

# Main Tone Phase

Controls: Gen Dlg >> Stream >> Tone Freq >> Main Phase
Macro: TonePhase

This sets the starting phase of the main Wave stream, in hundredths of a degree from 0 to 360. The actual output resolution is one part in 8192 per 360 degrees, or about 0.044 degree. If you enter a negative value, it will be converted to the equivalent positive value (-90 = 270, etc).

In Burst mode, without Reset Tone Phase On Burst or Reset Phase On Train selected, this is the phase at the beginning of the entire Burst interval, including any Lag delay. In other words, Lag does not delay the start of the main wave, it just delays the beginning of the burst.

This control is present in the main Tone Frequency dialog, and also in the AM, FM, and PM modulator dialogs for convenience. It is not available when the main Wave is one of the Noise types.

The phase control is useful for starting the display at a certain part of the main wave, and also for adjusting the relative phases when two or more streams are used together.

One non-obvious use for Phase is to produce a constant DC level by setting the main Tone Frequency to 0. Then if you set Phase to 90 degrees, the output of that stream will be a constant 100%. Although this by itself would produce no sound from the AC-coupled outputs of the sound card, it can be modulated by the Burst or Phase Modulation options and used to modulate another stream.

This trick can be used with the Arb wave to allow random selection of predetermined values, and is employed in the Composer.GEN example to "compose" music.

Macro Notes:

L.1.TonePhase=90 sets the Left Stream 1 Tone Phase to 90 degrees.

L.1.TonePhase=>1 increments the Phase by 1 degree, and L.1.TonePhase=>-1 decrements by one degree. Only +/-1 step is accepted.

GO:

## Questions? Comments? Contact us!

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