23 May '13 - 17:55 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: How to programmatically detect if a recorded audio has unwanted properties  (Read 2157 times)
philip_tarzan
Posts: 3


« on: 4 May '07 - 02:32 »
Reply with quoteQuote

Hello, I would like to ask whether how to determine if a recorded audio file is damaged, or has some unwanted sounds is included into it.

I have some recorded audio file where it has a specified duration but when I play it, it only plays for a while then stops.

another issue is that some audio has an unwanted sound and is very irritating.

Are these issues can be checked programmatically?

Thanks in advance.
Logged
jpt
Posts: 69


« Reply #1 on: 17 Aug '07 - 23:28 »
Reply with quoteQuote

Yep !

Quote
Are these issues can be checked programmatically?
For the first one, I answer "yes". Assuming file is a standard PCM wave file, the duration is usually computed and displayed using datas in the header of the file (nb of samples, nb of channels, nb of samples per channels, etc.) -- see Riff Header informations (SDK, http://www.sonicspot.com/guide/wavefiles.html) -- when the sound is retrieved as a "file in the file".
Study the link above, use an hex editor, some cups of coffee  Wink and you'll find all your answers !

For the second, I really don't know... Use an audio editor to remove unwanted sound, maybe ? But programmaticaly,  Huh

Regards,
--
jpt
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines