[CM] re: samples->seconds
Thu, 09 Sep 2004 13:36:58 +0200
You can set the default by something like
(setf *clm-srate* 44100)
somewhere (you find these in "defaults.lisp")
However, its easy to get confused, as (mus-srate) ignores the
initial value of *clm-srate*, and seems to stick with its last
value (from call on with-sound),
* (with-sound (:srate 48000 :play nil)
(format t "(mus-srate) = ~A, *srate* = ~A, *clm-srate* = ~A"
(mus-srate) = 48000.0, *srate* = 48000, *clm-srate* = 44100
Maybe a switch to configure: --with-srate=48000 or some such?