Geoff,
While I'm checking out Kevin's suggestion for using the 'prepare'
command, I'd appreciate any information or references your have about
the structure of an AIFF sound file. This method world probably be
the most precise, if I can manage to work well enough with the binary
data. My initial attempt to use the binary decoding function, without
really knowing what I was doing, caused Revolution to crash hard.
Maybe I don't need the encode/decode functions as long as I can
identify what to look for while reading the files to parse the
segments. Figuring and inserting the size of the sound data into the
header sounds pretty tricky, however.
Thanks!
Scott Saults
>> >Could you explain how to parse the sound file to make your
>>suggestion work? Is there anything else I'd need to do consider?
>>Thanks for the help!
At 12:01 PM -0500 1/14/02, Geoff Canyon <[EMAIL PROTECTED]>
[EMAIL PROTECTED] replied:
>
>I smacked my forehead when I read this suggestion, because of course
>it will solve the problem. You are right that you need to grab the
>actual sound data and work with it. The actual procedure will vary
>based on the sound format you are using. Most involve a bit of
>header info and then raw sound data. I once wrote a utility to
>process AIFF sounds, and it wasn't too difficult after I got my head
>around the documentation for the format. If I remember right, the
>only (slightly) tricky bit was that the size of the sound data was
>part of the header, so I had to calculate that and insert it.
J. Scott Saults, Ph.D.
Research Associate
email: [EMAIL PROTECTED]
Department of Psychology
210 McAlester Hall
_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution