Difference between revisions of "EffectType"
(Created page with "{{newin|11.0|110|type=enum}} The different types of effects supported by love.audio.setEffect. == Constants == ;chorus: Plays multiple copies of the sound with slight...") |
m (param type changes) |
||
Line 4: | Line 4: | ||
== Constants == | == Constants == | ||
;chorus: Plays multiple copies of the sound with slight pitch and time variation. Used to make sounds sound "fuller" or "thicker". | ;chorus: Plays multiple copies of the sound with slight pitch and time variation. Used to make sounds sound "fuller" or "thicker". | ||
− | {{param| | + | {{param|EffectWaveform|waveform|}} |
{{param|number|phase|}} | {{param|number|phase|}} | ||
{{param|number|rate|}} | {{param|number|rate|}} | ||
Line 41: | Line 41: | ||
;flanger: Plays two copies of the sound; while varying the phase, or equivalently delaying one of them, by amounts on the order of milliseconds, resulting in phasing sounds. | ;flanger: Plays two copies of the sound; while varying the phase, or equivalently delaying one of them, by amounts on the order of milliseconds, resulting in phasing sounds. | ||
− | {{param| | + | {{param|EffectWaveform|waveform|}} |
{{param|number|phase|}} | {{param|number|phase|}} | ||
{{param|number|rate|}} | {{param|number|rate|}} | ||
Line 61: | Line 61: | ||
{{param|number|roomrolloff|}} | {{param|number|roomrolloff|}} | ||
{{param|number|airabsorption|}} | {{param|number|airabsorption|}} | ||
− | {{param| | + | {{param|boolean|highlimit|}} |
;ringmodulator: An implementation of amplitude modulation; multiplies the source signal with a simple waveform, to produce either volume changes, or inharmonic overtones. | ;ringmodulator: An implementation of amplitude modulation; multiplies the source signal with a simple waveform, to produce either volume changes, or inharmonic overtones. |
Revision as of 12:32, 28 November 2018
Available since LÖVE 11.0 |
This enum is not supported in earlier versions. |
The different types of effects supported by love.audio.setEffect.
Constants
- chorus
- Plays multiple copies of the sound with slight pitch and time variation. Used to make sounds sound "fuller" or "thicker".
EffectWaveform waveform
number phase
number rate
number depth
number feedback
number delay
- compressor
- Decreases the dynamic range of the sound, making the loud and quiet parts closer in volume, producing a more uniform amplitude throughout time.
boolean enable
- distortion
- Alters the sound by amplifying it until it clips, shearing off parts of the signal, leading to a compressed and distorted sound.
number gain
number edge
number lowcut
number center
number bandwidth
- echo
- Decaying feedback based effect, on the order of seconds. Also known as delay; causes the sound to repeat at regular intervals at a decreasing volume.
number delay
number tapdelay
number damping
number feedback
number spread
- equalizer
- Adjust the frequency components of the sound using a 4-band (low-shelf, two band-pass and a high-shelf) equalizer.
number lowgain
number lowcut
number lowmidgain
number lowmidfrequency
number lowmidbandwidth
number highmidgain
number highmidfrequency
number highmidbandwidth
number highgain
number highcut
- flanger
- Plays two copies of the sound; while varying the phase, or equivalently delaying one of them, by amounts on the order of milliseconds, resulting in phasing sounds.
EffectWaveform waveform
number phase
number rate
number depth
number feedback
number delay
- reverb
- Decaying feedback based effect, on the order of milliseconds. Used to simulate the reflection off of the surroundings.
number gain
number highgain
number density
number diffusion
number decaytime
number decayhighratio
number earlygain
number earlydelay
number lategain
number latedelay
number roomrolloff
number airabsorption
boolean highlimit
- ringmodulator
- An implementation of amplitude modulation; multiplies the source signal with a simple waveform, to produce either volume changes, or inharmonic overtones.
EffectWaveform waveform
number frequency
number highcut