Difference between revisions of "SoundData:setSample"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Sets the sample at the specified position.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::SoundData]]
 
* [[parent::SoundData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the sample at the specified position.}}

Revision as of 16:17, 14 February 2010

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