Skip to content

setSoundEffectParameters function #320

Closed
@StrixG

Description

@StrixG

Is your feature request related to a problem? Please describe.
Inability to change the sound effects' parameters.

Describe the solution you'd like
Add the following functions:

  • setSoundEffectParameters(element sound, string effectName, table effectParams)
  • table getSoundEffectParameters(element sound, string effectName)

Example usage:

local params = getSoundEffectParameters(sound, "reverb")
setSoundEffectParameter(sound, "reverb", {inGain = -5, reverbTime = params.reverbTime + 200})

Additional context
We can use the BASS_FXSetParameters function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions