Difference between revisions of "Source:setPitch"

(Return type change)
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the pitch of the Source.}}
 
{{#set:Description=Sets the pitch of the Source.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Source:setPitch}}
 
{{i18n|Source:setPitch}}

Revision as of 09:19, 25 March 2011

Sets the pitch of the Source.

Function

Synopsis

Source:setPitch( pitch )

Arguments

number 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