Difference between revisions of "SoundData:setSample"
m (forgot the second part...) |
m (more to the style of the getter) |
||
Line 6: | Line 6: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|number|i| | + | {{param|number|i|An integer value specifying the position of the sample (starting at 0).}} |
− | {{param|number|sample| | + | {{param|number|sample|The normalized samplepoint (range -1.0 to 1.0).}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Revision as of 12:00, 3 October 2017
Sets the value of the sample-point at the specified position. For stereo SoundData objects, the data from the left and right channels are interleaved in that order.
Function
Synopsis
SoundData:setSample( i, sample )
Arguments
number i
- An integer value specifying the position of the sample (starting at 0).
number sample
- The normalized samplepoint (range -1.0 to 1.0).
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info