Difference between revisions of "SoundData:getSample"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:18, 14 February 2010

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