yes, my only mistake was the syntax .... the ladspa plugin is now
working very well.

Here is the final syntax I am using:

(open-sound "WXYZ.amb")
(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.41 2 500 2)
               (mus-sound-frames "WXYZ.amb")
               "ambisonic file")
(save-sound-as "4_speaker_decode.wav")
(exit)

Etienne

On 5/15/07, Bill Schottstaedt <[EMAIL PROTECTED]> wrote:
> 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.



_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to