CLM "scaled-to" problems (from Stella)

Larry Troxler lt@westnet.com
Thu, 28 Aug 1997 19:27:26 -0400


(First, please let me know if it's better to privately email the
authors, instead of reporting problems/questions to this list)
  
I'm attempting to use the "scaled-to" option in CLM "with-snd", by way
of the Stella "open" command. I've run into two problems. 

First, something gets screwed up with the file format when I specify the
scaled-to option, as you can see from the attached trace. (It works fine
if I don't specify scaled-to). 

Second, (And this might not be related to scaled-to), If I then perform
a new Stella "open" command, this time not using scaled-to, I get the
same problem, as if the scaled-to option is still in effect. This is
shown in the latter part of the attached trace. 

Relavent customizations that I use (on Linux/ACL) are these:  

(setf default-sound-file-type RIFF-sound-file)
(setq default-sound-file-data-format snd-16-linear-little-endian)


... and here is the trace:

Stella [T1]: open test.snd srate 44100 channels 2 statistics t
Stream: #<File: "test.snd">
Stella [T1]: mix
Mix objects: (<cr>=T1) 
Start time offset:(<cr>=None) 
File: test.snd
Channels: 2
Srate: 44100.0
Reverb: None

test.snd: 
  Duration: 1.0001, Last begin time: 0.0000
  Compute time: 0.585, Compute ratio: 0.58
  OutA max amp: 0.557 (near 0.632 secs)
  OutB max amp: 0.557 (near 0.634 secs)

*** ADDED NOTE: everything worked fine as you can see ***

Stella [T1]: open test.snd srate 44100 channels 2 statistics t scaled-to
0.3
Stream: #<File: "test.snd">
Stella [T1]: mix
Mix objects: (<cr>=T1) 
Start time offset:(<cr>=None) 
CLM/RIFF unsupported sound data format type: 5
Warning: CLM can't write 32-bit linear data into a RIFF sound file
File: test.snd
Channels: 2
Srate: 44100.0
Reverb: None
test.snd.temp: 
  Duration: 2.0001, Last begin time: 0.0000
  Compute time: 0.721, Compute ratio: 0.36
  OutA max amp (pre-scaled): 0.000 (near 0.136 secs)
  OutB max amp (pre-scaled): 1.000 (near 0.125 secs)

*** ADDED NOTE: Now something went very wrong. ***

Stella [T1]: open test.snd srate 44100 channels 2 statistics t
Stream: #<File: "test.snd">
Stella [T1]: mix
Mix objects: (<cr>=T1) 
Start time offset:(<cr>=None) 
CLM/RIFF unsupported sound data format type: 5
Warning: CLM can't write 32-bit linear data into a RIFF sound file
File: test.snd
Channels: 2
Srate: 44100.0
Reverb: None
test.snd.temp: 
  Duration: 2.0001, Last begin time: 0.0000
  Compute time: 0.656, Compute ratio: 0.33
  OutA max amp (pre-scaled): 0.000 (near 0.138 secs)
  OutB max amp (pre-scaled): 1.000 (near 0.125 secs)

*** ADDED NOTE: Problem #2, re-opened test.snd without  "scaled-to",
                still gives the same result! ***

--  Larry Troxler --  lt@westnet.com  --  Patterson, NY USA  --