[CM] Default Save File Format (Snd-rt)

Kjetil S. Matheussen k.s.matheussen at notam02.no
Fri Dec 5 07:34:07 PST 2008



On Fri, 5 Dec 2008, Esben Stien wrote:

> If I open a file in Snd, using open-sound, then I make-selection and
> then I save-selection, the file output is a different format.
>
> input: RIFF (little-endian) data, WAVE audio, stereo 96000 Hz
> output: Sun/NeXT audio data: stereo, 96000 Hz
>

That is strange. snd_conffile.scm should set default format
to mus-riff/2ch/float, at least for new files:

(c-define c-default-output-header-type mus-riff)
(set! (default-output-header-type) c-default-output-header-type)

(c-define c-default-output-chans 2)
(set! (default-output-chans) c-default-output-chans)

(c-define c-default-output-data-format mus-lfloat)
(set! (default-output-data-format) c-default-output-data-format)




> I guess these are just settings, but is there a way to always save in
> the same format as the file itself?.
>

I actually thought it did...?



More information about the Cmdist mailing list