[CM] Sample depth?
Bill Schottstaedt
bil@ccrma.Stanford.EDU
Mon, 10 May 2004 04:03:27 -0700
Where did 'snd-32-float' come from? That style of data-format
name changed years ago to mus-bfloat or mus-lfloat (the 'b' and
'l' determining whether it's big or little endian). In the
clm1 to clm2 translator, I have these correspondences:
(list "snd-unsupported" "mus-unsupported")
(list "snd-16-linear" "mus-bshort")
(list "snd-8-mulaw" "mus-mulaw")
(list "snd-8-linear" "mus-byte")
(list "snd-32-float" "mus-bfloat")
(list "snd-32-linear" "mus-bint")
(list "snd-8-alaw" "mus-alaw")
(list "snd-8-unsigned" "mus-ubyte")
(list "snd-24-linear" "mus-b24int")
(list "snd-64-double" "mus-bdouble")
(list "snd-16-linear-little-endian" "mus-lshort")
(list "snd-32-linear-little-endian" "mus-lint")
(list "snd-32-float-little-endian" "mus-lfloat")
(list "snd-64-double-little-endian" "mus-ldouble")
(list "snd-16-unsigned" "mus-ubshort")
(list "snd-16-unsigned-little-endian" "mus-ulshort")
(list "snd-24-linear-little-endian" "mus-l24int")
(list "snd-32-vax-float" "mus-vaxfloat")
(list "snd-12-linear" "mus-l12int")
but the snd-12-linear case isn't functional -- a Yamaha
(and Samson box?!) format, and I removed Vax float support
a long time ago.