[CM] sndplay on tiger?

Rick Taube taube@uiuc.edu
Mon, 17 Oct 2005 14:42:14 -0500


ok i see maybe part of the problem is we compiiled clm on an "install 
machine" and then distributed that file system out to the clients so 
mybe the install machine wasnt good for the ./configure step.

  so i downloaded  a new tarball, built on the local macine and sndplay 
partly works now

the remaining problem is that when sndplay outputs to the M-AUDIO it 
somehow flips the srate and channel settings on the device as it starts 
playing the file so we hear things at srate 96000 and only in 1 
channel. wierd!!

here is the mus-audio state before and then after playing a sound file 
--  second listing has the octave up:


? (mus-audio-describe)
found 2 audio devices
   Apple: Built-in Audio (default output)
     srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096
     flags: float big-endian packed
     vols: master: 0.712
     This device supports 6 formats:
       srate: 48000, chans: 2, bits/sample: 32, format: lpcm
       srate: 44100, chans: 2, bits/sample: 32, format: lpcm
       srate: 32000, chans: 2, bits/sample: 32, format: lpcm
       srate: 48000, chans: 2, bits/sample: 16, format: cac3
       srate: 44100, chans: 2, bits/sample: 16, format: cac3
       srate: 32000, chans: 2, bits/sample: 16, format: cac3

   M-Audio: FireWire Solo Multichannel (output)
     srate: 44100, chans: 4, bits/sample: 32, format: lpcm, buf: 16384
     flags: float big-endian packed
     vols: 1.000 1.000 1.000 1.000
     This device supports 5 formats:
       srate: 96000, chans: 4, bits/sample: 32, format: lpcm
       srate: 88200, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 4, bits/sample: 32, format: lpcm
       srate: 44100, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 2, bits/sample: 16, format: cac3

   Apple: Built-in Audio (default input)
     srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096
     flags: float big-endian packed
     vols: 0.000 0.000
     This device supports 3 formats:
       srate: 48000, chans: 2, bits/sample: 32, format: lpcm
       srate: 44100, chans: 2, bits/sample: 32, format: lpcm
       srate: 32000, chans: 2, bits/sample: 32, format: lpcm

   M-Audio: FireWire Solo Multichannel (input)
     srate: 44100, chans: 4, bits/sample: 32, format: lpcm, buf: 16384
     flags: float big-endian packed
     vols: 1.000 1.000 1.000 1.000
     This device supports 4 formats:
       srate: 96000, chans: 4, bits/sample: 32, format: lpcm
       srate: 88200, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 4, bits/sample: 32, format: lpcm
       srate: 44100, chans: 4, bits/sample: 32, format: lpcm
NIL
? (dac)
"test.aiff"
? (mus-audio-describe)
found 2 audio devices
   Apple: Built-in Audio (default output)
     srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096
     flags: float big-endian packed
     vols: master: 0.712
     This device supports 6 formats:
       srate: 48000, chans: 2, bits/sample: 32, format: lpcm
       srate: 44100, chans: 2, bits/sample: 32, format: lpcm
       srate: 32000, chans: 2, bits/sample: 32, format: lpcm
       srate: 48000, chans: 2, bits/sample: 16, format: cac3
       srate: 44100, chans: 2, bits/sample: 16, format: cac3
       srate: 32000, chans: 2, bits/sample: 16, format: cac3

   M-Audio: FireWire Solo Multichannel (output)
     srate: 96000, chans: 4, bits/sample: 32, format: lpcm, buf: 16384
     flags: float big-endian packed
     vols: 1.000 1.000 1.000 1.000
     This device supports 5 formats:
       srate: 96000, chans: 4, bits/sample: 32, format: lpcm
       srate: 88200, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 4, bits/sample: 32, format: lpcm
       srate: 44100, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 2, bits/sample: 16, format: cac3

   Apple: Built-in Audio (default input)
     srate: 44100, chans: 2, bits/sample: 32, format: lpcm, buf: 4096
     flags: float big-endian packed
     vols: 0.000 0.000
     This device supports 3 formats:
       srate: 48000, chans: 2, bits/sample: 32, format: lpcm
       srate: 44100, chans: 2, bits/sample: 32, format: lpcm
       srate: 32000, chans: 2, bits/sample: 32, format: lpcm

   M-Audio: FireWire Solo Multichannel (input)
     srate: 96000, chans: 4, bits/sample: 32, format: lpcm, buf: 16384
     flags: float big-endian packed
     vols: 1.000 1.000 1.000 1.000
     This device supports 4 formats:
       srate: 96000, chans: 4, bits/sample: 32, format: lpcm
       srate: 88200, chans: 4, bits/sample: 32, format: lpcm
       srate: 48000, chans: 4, bits/sample: 32, format: lpcm
       srate: 44100, chans: 4, bits/sample: 32, format: lpcm
NIL
?