Csound Csound-dev Csound-tekno Search About

using 'scale' with floating point wave files...

Date1998-09-29 19:12
FromTobiah
Subjectusing 'scale' with floating point wave files...
All of the binaries are from v3.485  I generated the file
'test' from csound using a stereo orc, and -W with -f for
floating point wave file.  Is this correct usage?  If so
then why:

toby:~/music/floats> sndinfo test
        WAVE soundfile
        srate 44100, stereo, 32 bit floats, 10.00 seconds
        headersiz 58, datasiz 3528000 (441000 sample frames)
toby:~/music/floats> scale test
WARNING: /big/sf/test sr = 44100, orch sr =     0.0
audio sr = 44100, stereo, reading both channels
scaling 441000 sample frames (10.0 secs)
Max val 41427 at index 9230 (time 0.1046, chan 0) 1 times
Min val -36787 at index 8975 (time 0.1017, chan 1) 1 times
Max scale factor = 0.791
toby:~/music/floats> scale -o test.scale -F0.791 test
WARNING: /big/sf/test sr = 44100, orch sr =     0.0
audio sr = 44100, stereo, reading both channels
scaling 441000 sample frames (10.0 secs)
unknown sound format 0(0x0)
toby:~/music/floats>

Thanks,

Toby