Csound Csound-dev Csound-tekno Search About

Re: wave file length accurency

Date1999-04-27 15:25
FromTobiah
SubjectRe: wave file length accurency
> would be to write the score.srt file in binary rather than characters,
> and so preserve all teh bits.  

I vote for the binary file.  C is portable, but you don't move 
object files from platform to platform.  One always saves the
source code even when the program is finished.  Likewise, one
would (should) always save the score file from which the score.srt
was fashioned.  Then it can always be remade on another platform.

Say, this gives me quite an idea.  I am one who uses programs
to generate any score that I make, often from C.  It would be 
nice if csound could accept a binary score file!  Then we could
just use fwrite() to dump arrays of floats to the file rather 
than resorting to printf().  Not a very large concern perhaps.