Module ncine.audio_effect

The table containing audio effect related functions

Functions

ncine.audio_effect.new () Constructs an audio effect object.
ncine.audio_effect.delete (audio_effect) Destroys an audio effect object and releases its memory
ncine.audio_effect.get_type (audio_effect) Returns the effect type
ncine.audio_effect.get_effect_id (audio_effect) Returns the OpenAL effect id
ncine.audio_effect.apply_properties (audio_effect, properties) Sets an effect type with all of its properties

Tables

audioeffectObj The light user data of an audio effect object
ncine.audio_effect_type Audio effect types (enumeration)


Functions

ncine.audio_effect.new ()
Constructs an audio effect object.

Don’t forget to call ncine.audio_effect.delete when you are done with it!

Returns:

    audioeffectObj A new audio effect object
ncine.audio_effect.delete (audio_effect)
Destroys an audio effect object and releases its memory

Parameters:

ncine.audio_effect.get_type (audio_effect)
Returns the effect type

Parameters:

Returns:

    ncine.audio_effect_type
ncine.audio_effect.get_effect_id (audio_effect)
Returns the OpenAL effect id

Parameters:

Returns:

    integer
ncine.audio_effect.apply_properties (audio_effect, properties)
Sets an effect type with all of its properties

Parameters:

Tables

audioeffectObj
The light user data of an audio effect object
ncine.audio_effect_type
Audio effect types (enumeration)

Fields:

  • NULL_EFFECT
  • REVERB
  • EAXREVERB
  • CHORUS
  • DISTORTION
  • ECHO
  • FLANGER
  • FREQUENCY_SHIFTER
  • VOCAL_MORPHER
  • PITCH_SHIFTER
  • RING_MODULATOR
  • AUTOWAH
  • COMPRESSOR
  • EQUALIZER
generated by LDoc 1.5.0 Last updated 2024-12-18 15:08:56