[CM] run-time converter problem

Bill Schottstaedt bil at ccrma.Stanford.EDU
Mon Feb 17 04:10:15 PST 2003


> 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...)



More information about the Cmdist mailing list