• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: waveform question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >waveform question (From: Jacob Chapa <email@hidden>)

  • Prev by Date: Re: Thinking about shareware prices... (was a question about NSDate inside userDefaults)
  • Next by Date: Re: Thinking about shareware prices... (was a question about NSDate inside userDefaults)
  • Previous by thread: waveform question
  • Next by thread: Edit : select All - problem in cocoa App
  • Index(es):
    • Date
    • Thread