Difference between revisions of "SoundData:setSample"

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

Revision as of 17:56, 25 March 2011

Sets the sample at the specified position.

Function

Synopsis

SoundData:setSample( i, sample )

Arguments

number i
The position of the sample (0 means first sample).
number sample
A normalized sample (range -1.0 to 1.0).

Returns

Nothing.

See Also


Other Languages