Difference between revisions of "Source:setPitch"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

Sets the pitch of the Source.

Function

Synopsis

Source:setPitch( pitch )

Arguments

float pitch
Calculated with regard to 1 being the base pitch. Each reduction by 50 percent equals a pitch shift of -12 semitones (one octave reduction). Each doubling equals a pitch shift of 12 semitones (one octave increase). Zero is not a legal value.

Returns

Nothing.

See Also