Re: waveform question
Re: waveform question
- Subject: Re: waveform question
- From: Fritz Anderson <email@hidden>
- Date: Thu, 8 Jan 2004 11:36:20 -0600
If you mean a visualizer for iTunes, I believe there's an SDK for
writing those.
If you mean something for displaying waveform data from a sound file in
non-real-time, you're in Quicktime territory. I've been helped by Kevin
Marks's example of using PutMovieIntoTypedHandle() to convert an
arbitrary sound track into an eight-bit sample buffer. Go to
lists.apple.com and search the quicktime-api archives (user name:
archives password: archives).
In my experience, you can initialize an NSMovie (and therefore get a
Quicktime 'Movie' handle) from any sound file.
Recently, there was an article on O'Reilly's MacDevCenter that
demonstrated the undocumented Quicktime API for getting the
equalizer-band levels of a playing sound file. It's in Java, but
translates pretty easily.
<
http://www.onjava.com/pub/a/onjava/2003/12/17/qt-bebop.html>
-- F
On 7 Jan 2004, at 10:06 PM, Jacob Chapa wrote:
I was thinking about making a simple visualizer.
I was wondering how to go about doing this.
I know I will need waveform data from an mp3 file or something like
that.
Anyone have any ideas how to get this?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.