AR/getSoundProperties: Difference between revisions
Jump to navigation
Jump to search
(getSoundProperties) |
(getSoundProperties) |
||
Line 24: | Line 24: | ||
==أنظر أيضاً== | ==أنظر أيضاً== | ||
{{AR/ | {{AR/Audio_functions}} |
Revision as of 03:46, 6 May 2013
This function gets the properties of a specific sound.
Syntax
float, float, float, bool getSoundProperties( element sound )
Required Arguments
- sound: A sound element that is created using playSound or playSound3D
Returns
This function returns 3 floats and a boolean value:
The first float is the sound's sample rate, the second one the sound's tempo, and the third one the pitch of the sound. The boolean representing whether the sound is reversed or not.
Example
Click to collapse [-]
Client-- not done yet
أنظر أيضاً
- getSoundBufferLength
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance