Csound Csound-dev Csound-tekno Search About

Re: Linear Prediction in Csound

Date1999-03-15 09:51
FromRichard Dobson
SubjectRe: Linear Prediction in Csound
I have to catch up on a lot of emails, as I have been away; but I have
amn immediate follow-up to this;

in CDP we use WAVE and AIFF file formats to store pvoc analysis data -
each naturally respects the appropriate byte-order. For historical
reasons we use our own proprietary mechanism in the header for storing
relevant information, but this could easily be converted into a
converntional 'chunk' format. I agree that a generaic cross-platform
pvoc analysis format is needed - the question is whart format(s) to
adopt.

I could for example define pvoc chunks for both WAVE and AIFF formats,
and have a common extension of .ANA for them 9the parsing code will need
to read the header to determine which format the file is in - we do this
in CDP and it works very well).

Alternatively, the new WAVE-EX format form Microsoft would seem to be an
ideal candidate for pvoc files - as  new format, using it will not break
or confuse other applications, and it can be announced to the world as
the 'official' pvoc format for Csound. Of course, as a WAVE-based format
the data is little-endian, which suits Intel machines but not others.

If this is a problem, then a further alternative is to define a new
IFF-style format from first principles, which includes byte-order in the
header information.



There is also the SDIF (CNMAT) format, which might be worth considering.


Richard Dobson


jpff@maths.bath.ac.uk wrote:
> 
> Message written at 14 Mar 1999 20:39:13 +0000
> --- Copy of mail to vlabs@singnet.com.sg ---
> 
> Are you being confused by byte order?  I ask as one piece of
> unfinished business is to make all analysis files byte-order
> independent.  Just a thought.....  the lpc stuff was written my Marc
> Resbois, from whom I have not heard of late.  Are you still listening
> Marc?
> 
> ==John ffitch

-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd