[CM] adding an extra channel

e deleflie edeleflie at gmail.com
Mon Jun 11 16:57:23 PDT 2007


All,

I've got a situation where I read eiether 3 or 4 channel files, then
pump the channels through a LADSPA plugin.

the LADSPA plugin requires 4 channels. So when I read a 3 channel
file, I need to create a fourth, empty (no signal) channel.

I cant seem to find the command for creating a new channel.

something like this:

(let ((index (open-sound name)))
               ((if (= (channels 0) 3) (add-channel 0) ))

etienne




More information about the Cmdist mailing list