Re: Detecting a beep in a movie file audio track
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