GetSoundLevelData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
This function gets the left/right level from a [[sound]] [[element]]. | This function gets the left/right level from a [[sound]] [[element]]. | ||
If the element is a player, this function will use the players voice. | If the element is a player, this function will use the players voice. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">int, int getSoundLevelData ( element theSound )</syntaxhighlight> | <syntaxhighlight lang="lua">int, int getSoundLevelData ( element theSound )</syntaxhighlight> |
Revision as of 08:24, 10 June 2013
This function gets the left/right level from a sound element. If the element is a player, this function will use the players voice.
Syntax
int, int getSoundLevelData ( element theSound )
Required Arguments
Returns
Returns a 2 values with Left, Right level data from sound, false otherwise.
Example
TODO
--TODO
Requirements
This template will be deleted.
Changelog
Version | Description |
---|
1.3.2 | Added player element to use a players voice |
See Also
- getRadioChannel
- getRadioChannelName
- getSFXStatus
- getSoundBPM
- getSoundBufferLength
- getSoundEffectParameters
- getSoundEffects
- getSoundFFTData
- getSoundLength
- getSoundLevelData
- getSoundMaxDistance
- getSoundMetaTags
- getSoundMinDistance
- getSoundPan
- getSoundPosition
- getSoundProperties
- getSoundSpeed
- getSoundVolume
- getSoundWaveData
- isSoundLooped
- isSoundPanningEnabled
- isSoundPaused
- playSFX3D
- playSFX
- playSound3D
- playSound
- setRadioChannel
- setSoundEffectEnabled
- setSoundEffectParameter
- setSoundLooped
- setSoundMaxDistance
- setSoundMinDistance
- setSoundPan
- setSoundPanningEnabled
- setSoundPaused
- setSoundPosition
- setSoundProperties
- setSoundSpeed
- setSoundVolume
- stopSound
- Shared
- playSoundFrontEnd