Skip to content

Sound.PureToneAndSync Method

Definition

Creates a pure tone sound followed by sync pulses.

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

View source

Parameters

Name Type Description
pureToneRepeats Int32 The number of pure tone pulse repetitions.
pureTonePulseLength Int32 The length of each pure tone pulse in T-states.
firstSyncPulseLength Int32 The length of the first sync pulse in T-states, or 0 for no first sync pulse.
secondSyncPulseLength Int32 The 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.