vocoder

Files: vocoder.h, vocoder.c

16-band channel vocoder

Functions

sp_vocoder_create(sp_vocoder **vocoder)
sp_vocoder_init(sp_data *sp, sp_vocoder *vocoder)
sp_vocoder_compute(sp_data *sp, sp_vocoder *vocoder, SPFLOAT *source, SPFLOAT *excite, SPFLOAT *out)
sp_vocoder_destroy(sp_vocoder **vocoder)

Mandatory Parameters


Optional Parameters

atk: Attack time . (Range 0.001 and 0.5 seconds)
(Default value: 0.1)
rel: Release time
(Default value: 0.1)
bwratio: Coeffecient to adjust the bandwidth of each band (0.1 - 2)
(Default value: 0.5)

Inputs

source: Source signal (also known as carrier).
excite: Excitation signal (also known as modulator)

Outputs

out: Signal output.