[CM] processing multi-channel Ladspa effects in SND
Bill Schottstaedt
bil@ccrma.Stanford.EDU
Tue, 15 May 2007 04:12:03 -0700
> does that sound like a possible reason that SND could not execute a plugin?
No. What error are you getting? Which Ambisonics plugin are you using?
Also, I notice in your first message that you are calling it:
(apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0
(make-sample-reader 0 0 1) ;chan 1
(make-sample-reader 0 0 2) ;chan 2
(make-sample-reader 0 0 3) ;chan 3)
(list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2)
duration? origin?)
but the first argument list close paren is commented out -- the "; chan 3)" comment
goes to the end of the line. Could it be that you want:
(apply-ladspa (list (make-sample-reader 0 0 0) ;chan 0
(make-sample-reader 0 0 1) ;chan 1
(make-sample-reader 0 0 2) ;chan 2
(make-sample-reader 0 0 3)) ;chan 3
(list "ambis1" "Ambisonics-square-decoder" 0 1 1.44 2 500 2)
(frames))
Emacs indentation and paren-matching makes it easier to find this kind of problem.