[CM] sound-maxamp?

Michael Klingbeil michael@klingbeil.com
Sun, 27 Apr 2003 01:02:26 -0400


Perhaps someone can explain how sound-maxamp should be used in clm-2. 
In clm-1 it was a function of 1 argument. I'm not sure what the 
second argument should be. The documentation isn't too helpful. It 
says:
	get max amp vals and times of file name in vals

So I guess vals is an array? I tried this
(defun sound-max-maxamp (filename)
   (let ((amps (make-integer-array 2)))
     (sound-maxamp filename amps)
     amps))

? (sound-max-maxamp "signals:foo.aiff")
#(43065 5872025)
?

Not very helpful... Maybe this is a MacOS only issue? I suppose I 
could look at the C sources :(


Best regards,

Michael