• 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: Detecting a beep in a movie file audio track
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting a beep in a movie file audio track


  • Subject: Re: Detecting a beep in a movie file audio track
  • From: Robert Bielik <email@hidden>
  • Date: Tue, 23 Nov 2010 06:30:16 +0100

Neal, Doug skrev 2010-11-23 05:11:
I'm looking for advice on how to construct a piece of code that will search for and identify a particular sound (a beep for example) that occurs within a given movie file audio track and return the point at which that sound occurs in the timeline of the file/movie.

Any suggestions on which API's would be the best to use for this?

That sounds like DSP. I'm not very proficient in what type of components are available in CA, but you should be looking at FFTs. If you know what frequency the beep is, and its spectral content (i.e. if its a sinewave or other) you could measure the energy around the expected bins of the FFT and compare to the energy of the rest of the signal and discern if its the beep or not (given a specific level threshold). Also the beep probably has a duration, so you could test for that also to avoid false positives.

Regards
/Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Detecting a beep in a movie file audio track
      • From: tahome izwah <email@hidden>
References: 
 >Detecting a beep in a movie file audio track (From: "Neal, Doug" <email@hidden>)

  • Prev by Date: Re: Detecting a beep in a movie file audio track
  • Next by Date: Re: Using Apple virtual instruments from my software
  • Previous by thread: Re: Detecting a beep in a movie file audio track
  • Next by thread: Re: Detecting a beep in a movie file audio track
  • Index(es):
    • Date
    • Thread