Skip to content

Sound.PureToneAndSync Method ​

Definition ​

Creates a pure tone sound followed by sync pulses.

c#
public static Sound PureToneAndSync(int pureToneRepeats, int pureTonePulseLength, int firstSyncPulseLength, int secondSyncPulseLength);

View source

Parameters ​

NameTypeDescription
pureToneRepeatsInt32The number of pure tone pulse repetitions.
pureTonePulseLengthInt32The length of each pure tone pulse in T-states.
firstSyncPulseLengthInt32The length of the first sync pulse in T-states, or 0 for no first sync pulse.
secondSyncPulseLengthInt32The length of the second sync pulse in T-states, or 0 for no second sync pulse.

Returns ​

Sound

A new Sound consisting of a pure tone followed by sync pulses.