Difference between revisions of "Source:setPitch"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Sets the pitch of the Source.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::Source]]
 
* [[parent::Source]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the pitch of the Source.}}

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