Difference between revisions of "SoundData:getSample"

m
Line 13: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the sample at the specified position.}}
 
{{#set:Description=Gets the sample at the specified position.}}
 
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SoundData:getSample}}
 
{{i18n|SoundData:getSample}}

Revision as of 17:56, 25 March 2011

Gets the sample at the specified position.

Function

Synopsis

sample = SoundData:getSample( i )

Arguments

number i
The position of the sample (0 means first sample).

Returns

number sample
The normalized sample (range -1.0 to 1.0).

See Also


Other Languages