On Aug 12, 2006, at 4:15 AM, Ayden wrote:
Eric Thanks for the reply and the crash course in wave dynamics.
You have
written some interresting information that has confused me a
little...i.e
the 16 bit WAV ...
Look at these two sites to see how AIFF stores samples versus how
WAVE does it:
http://www.borg.com/~jglatt/tech/aiff.htm
http://www.borg.com/~jglatt/tech/wave.htm
About the link someone posted earlier:
http://realbasic.thezaz.com/Athenaeum/View.php?entry=36
That example uses QuickTime to extract data from a sound track and
packs it up into an 8 bit memoryblock. Then you can iterate through
that memblock to draw the wave. 8 bit is often sufficient for many
waveform drawing tasks. Mind you, the audio won't play back at 8 bit
necessarily. It's just a useflul trick to extract the data you need
and present it to you in a nice neat package for drawing. It also has
the benefit of working with a variety of sound formats (AIFF, WAV,
MOV, MP3, MP4, AU, etc) without you having to parse anything. The
downside for Linux (and possibly for Window's users) is that it
requires a QuickTime installation. The AIFF and WAVE links are for
doing the parsing of files yourself. The benefit is it that will work
on all platforms, but it requires more work.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>