[CM] run-time converter problem

Bill Schottstaedt bil@ccrma.Stanford.EDU
Mon, 17 Feb 2003 04:10:15 -0800


> but seconds->samples is listed in the manual among the run-time converters
> that are available.

Where?  I can't find anything about it.  In the lisp code, seconds->samples
is a function returning a list, so it's unlikely run can handle it, but
you could make an equivalent macro in the one arg case that run could
handle:

(defmacro seconds->samples-1 (arg) `(round (* *srate* ,arg)))

(This is not tested code...)