A few comments on the recent Audacity-Nyquist postings:
Yes, "s" is a global variable, but in Nyquist
plugins, "s" is special
because it is set to NIL after the plugin expressions are
evaluated. So
(setf s (notch s x y))
is perhaps not the most elegant approach, but it should not
cause any
problems.
To iterate some filter on a signal with arguments from a
list, I'd
suggest using dolist instead of dotimes:
(setf params-list '((a b) (c d) (e f) (g h) ...))
(dolist (params parms-list)
(setf s (notch s (first params) (second params))))
-Roger
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
_______________________________________________
Audacity-nyquist mailing list
Audacity-nyquist lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audaci
ty-nyquist
|