Csound Csound-dev Csound-tekno Search About

RE: 32-bit float AIFF

Date1997-11-17 22:10
FromReid Sweatman
SubjectRE: 32-bit float AIFF
On Monday, November 17, 1997 10:57 AM, Richard Dobson [SMTP:rwd@pact.srf.ac.uk] wrote:

> Microsoft have announced an official 32bit float format for WAVE files -
> 	WVAE_IEEE_FLOAT (=3)
> 
> 	I assume the WAVEFORMATEX header is required (with the extra bytes
> field), and that the 'fact' chunk is also required, as for all non-PCM
> formats.
> 
> Sonic Foundry describe the format in their documentation for the SoundForge
> ActiveMovie plugin SDK which they have developed (available from their
> website).
> 
> I have implemented this for some CDP programs, but cannot test it properly
> in the absence of another application which supports it for reading and
> writing files.
> 
> All other things being equal, it should be easy to add support for this format to
> Csound.
> 
> Richard Dobson

The new version of Cool Edit, Cool Edit Pro, supports the new floating-point format.




Date1997-11-18 23:31
FromRichard Dobson
SubjectRe: 32-bit float AIFF
Reid Sweatman wrote: 
> On Monday, November 17, 1997 10:57 AM, Richard Dobson [SMTP:rwd@pact.srf.ac.uk] wrote:
> 
> > Microsoft have announced an official 32bit float format for WAVE files -
> > 	WVAE_IEEE_FLOAT (=3)
> > 
> > 	I assume the WAVEFORMATEX header is required (with the extra bytes
> > field), and that the 'fact' chunk is also required, as for all non-PCM
> > formats.
> > 
> > Sonic Foundry describe the format in their documentation for the SoundForge
> > ActiveMovie plugin SDK which they have developed (available from their
> > website).
> > 
> > I have implemented this for some CDP programs, but cannot test it properly
> > in the absence of another application which supports it for reading and
> > writing files.
> > 
> > All other things being equal, it should be easy to add support for this format to
> > Csound.
> > 
> > Richard Dobson
> 
> The new version of Cool Edit, Cool Edit Pro, supports the new floating-point format.


Yes, I have tried it (well, the demo version), and it confirms my format 
is OK - yippee. A pity that Cool Pro will not display the sample value
at the cursor, though - am I alone in finding that a useful, nay necessary
facility?

BTW: at least in the earlier incarnations of Cool, the WAVE parsing is a little
sketchy - it will accept a file of N channels, and display it as stereo.
This could ~just possibly~ be useful to look at a Csound 4channel file,
but if I give Cool a 1024-channel pvoc file it attempts (I presume) to create
that many buffers and crashes spectacularly. It also crashes when it tries to write
a WAV file with a large header (CDP style). Cool95 was OK in this respect - 
I was told by Syntrillium that they changed the header reading code to cater for
users of buggy CD-ROM writing software!!!!

Richard Dobson