Well you learn something new every day
There should really be a warning about that. The problem is that the Vocoder is attempting to process sounds in the 20Hz to 20kHz range, but sample rates below 44100 do not go as high as 20kHz because the highest audio frequency possible is a little under half the sample rate (which is the
Nyquist frequency).
The code can be adapted quite easily to work with 22050 sample rates, but it's probably just as easy to convert the files to 44100.
If you want to modify the code, find the file "vocoder.ny" in your Audacity plug-ins folder. Open the file in a text editor (such as notepad) then find the line:
Code: Select all
(setf octaves (/ (log 1000.0) (log 2.0)))
and change it to
Code: Select all
(setf octaves (/ (log 500.0) (log 2.0)))
and save the file.
The down side of doing this is that you will loose some "fidelity" when using the vocoder on audio tracks with frequencies above 10kHz.