Difference between revisions of "SoundData"
Line 2: | Line 2: | ||
You can not play SoundData back directly. You must wrap a [[Source]] object around it. | You can not play SoundData back directly. You must wrap a [[Source]] object around it. | ||
== Functions == | == Functions == | ||
− | {{#ask: [[Category:Functions]] [[parent::SoundData | + | {{#ask: [[Category:Functions]] [[parent::SoundData||Data||Object]] [[Since::<071]] |
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
Line 22: | Line 14: | ||
* [[Source]] | * [[Source]] | ||
[[Category:Types]] | [[Category:Types]] | ||
− | {{#set:Description=Contains raw audio samples. | + | {{#set:Description=Contains raw audio samples.}} |
− | }} | + | {{#set:Since=000}} |
== Other Languages == | == Other Languages == | ||
{{i18n|SoundData}} | {{i18n|SoundData}} |
Revision as of 17:56, 25 March 2011
Contains raw audio samples. You can not play SoundData back directly. You must wrap a Source object around it.
Functions
Data:getPointer | Gets a pointer to the Data. |
Data:getSize | Gets the Data's size in bytes. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
SoundData:getBits | Returns the number of bits per sample. |
SoundData:getChannels | Returns the number of channels in the stream. |
SoundData:getSample | Gets the value of the samplepoint at the specified position. |
SoundData:getSampleRate | Returns the sample rate of the SoundData. |
SoundData:setSample | Sets the sample at the specified position. |
Supertypes
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