We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started June 9th, 2009 · 5 replies · Latest reply by BrockLee 14 years, 11 months ago
We have some 10-minute wav files that contain speech. There are well-defined pauses in the speech. We need to write a program that separates out the speech between these pauses and outputs them as separate audio files. We also need to be able to save the elapsed time at the end of each pause.
This is fairly easy to do manually with a program like audacity, but we need an automated solution. If anyone has any recommendations for a library/API, it would be greatly appreciated.
Pro Tools does it with Strip Silence. It comes free with the program.
But if the audio is only 10 minutes long, its probably still easier to do it manually. If you're familiar with the audio, it should only take about 2 minutes to do.
Juzzam,
if you want to do it audio-programming-ninja-style, look into audiolab:
http://www.ar.media.kyoto-u.ac.jp/members/david/softwares/audiolab/index.html
- bram
Microscopia
Although not in the format required, this may work for you - if not it will give you some ideas:- :wink:Quote: "LP Ripper calculates the length of each track by detecting the gap between tracks and displays a track listing showing the time of each track. You can then select which track(s) you want to save as separate WAV, MP3 or WMA files.
Some LPs have little or no gaps between tracks; others have long quiet sections that could be mistaken for a gap. You can change the times that it has calculated or trim the tracks visually using the coarse / fine waveform display."
It looks as though it only allows for 2 tracks until you register.. Seems like a simple enough algorithm not to bother to charge, but whatever...
Simply put this is not a large job and you do not need to resample any of that audio or change encodings, but to keep size minimal you uaght to look at using a good compression. I have written a script in python to use mplayer(a free trans-encoder) when you press the "i" key it writes the time into a file, this continues for as many pieces you've selected and then after the clips are done playing it splits them or cutting if you left a long space between keys into seperate files, I tried to mimic the use of apple's iDVD. But There software piss' me off. any way i recommend mplayer and a simple bash script to get this done.