Difference between revisions of "Source:setPitch"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 
 
Sets the pitch of the Source.
 
Sets the pitch of the Source.
 
== Function ==
 
== Function ==
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the pitch of the Source.}}
 
{{#set:Description=Sets the pitch of the Source.}}
 +
== Other Languages ==
 +
{{i18n|Source:setPitch}}

Revision as of 19:05, 18 November 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

Other Languages