GetSoundEffectParameters: Difference between revisions
Jump to navigation
Jump to search
(OOP) |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
{{New feature/item|3.0159|1.5.8|20914|This function gets parameters of a sound effect.}} | {{New feature/item|3.0159|1.5.8|20914|This function gets the parameters of a sound effect.}} | ||
==Syntax== | ==Syntax== | ||
Line 8: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''sound''': the [[sound]] element. | *'''sound''': the [[sound]] element. | ||
*'''effectName''': the effect | *'''effectName''': the name of the effect whose parameters you want to retrieve. | ||
{{Sound_Effects}} | |||
===Returns=== | ===Returns=== | ||
Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised. | Returns a [[table]] with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised. | ||
===Parameters=== | ===Effects Parameters=== | ||
{{Sound_Effects_Parameters}} | |||
==Requirements== | ==Requirements== |
Revision as of 12:54, 9 August 2021
This function gets the parameters of a sound effect.
Syntax
table getSoundEffectParameters ( element sound, string effectName )
OOP Syntax Help! I don't understand this!
- Method: sound:getEffectParameters(...)
Required Arguments
- sound: the sound element.
- effectName: the name of the effect whose parameters you want to retrieve.
- gargle
- compressor
- echo
- i3dl2reverb
- distortion
- chorus
- parameq
- reverb
- flanger
Returns
Returns a table with the parameter names as the keys, and their values. If the specified effect name is not valid, an error is raised.
Effects Parameters
ExpandChorus |
---|
ExpandCompressor |
---|
ExpandDistortion |
---|
ExpandEcho |
---|
ExpandFlanger |
---|
ExpandGargle |
---|
ExpandI3DL2 Reverb |
---|
ExpandParametric Equalizer |
---|
ExpandReverb |
---|
Requirements
This template will be deleted.
Example
Click to collapse [-]
Clientlocal soundEchoParams = getSoundEffectParameters(sound, "echo")
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