Removing 'um' from a recording is harder than it sounds
Linguists have a word for the um s, uh s, er s, and elongated versions ( ummmm , uhhhhh ) that pad spoken English: disfluencies .
I donβt record a lot of voice audio, but a few friends do, and they tell me editing those out by hand is miserable. So I built erm to do it.
Thatβs the whole interface for the common case. It writes a cleaned .wav and a JSON cut list next to the input. This post walks through how it works, because the obvious approach doesnβt sound very good and most of the code is the stuff that fixes that.
Youβd expect the job to be: transcribe with word-level timestamps, find tokens like um and uh , cut those ranges with ffmpeg.
That gets you maybe 60% of the way, and the result sounds worse than the original. Three reasons:
Most of erm is the work of fixing those three things.