Menu

Audio Analysing

Anonymous
2014-05-10
2014-05-10
  • Anonymous

    Anonymous - 2014-05-10

    I want analyze audio track when playing video file using VideoDisplay Class. http://www.openimaj.org/apidocs/org/openimaj/video/VideoDisplay.html are there any chance to do that. i cannot find a way to do that.

     
  • Jonathon Hare

    Jonathon Hare - 2014-05-10

    If I understand correctly, you want to play (and display?) a video, whilst at the same time analysing the audio track? If so, that should be possible...

    When you construct the VideoDisplay you have to pass in the audio (an AudioStream); if you write your audio analyser as a subclass of AudioProcessor, you can then construct your AudioProcessor with the original AudioStream object and pass your processor to the VideoDisplay constructor/factory method. When the video plays your AudioProcessor object will receive each sample chunk of the underlying audio as it is being requested by the VideoDisplay.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.