3 ms·
Reading what OP's goal was, my first thought was "can `sox` do that?". Yes, yes it can, apparently. `sox silence` cuts off silence at the start of a file (or in
by akx 5y ago
Reading what OP's goal was, my first thought was "can `sox` do that?". Yes, yes it can, apparently. `sox silence` cuts off silence at the start of a file (or in other places, suitably configured). http://sox.sourceforge.net/sox.html http://sox.sourceforge.net/sox.html (search for `silence`)
- ajuc 5y agoI was working on a software for devices that read stuff for blind people. Basically you put a newspaper on a table and it detects it and reads it aloud to you. We had a feature where user can scan whole books just by turning pages and save them as audiobooks or txt with "audio tags". Basically the device records you saying the title saves it as metadata, and later you can browse the list of books listening to yourself saying their titles. Sadly our hardware had mic near power lines and there was a lot of interference and the volume was pretty low, it was barely usable. So one of my tasks was to boost the volume and remove noise. I tried to write something to this effect, tested a few libraries, and eventually settled on just running sox in the background with several plugins and noise sample collected on our device under different loads. Works like a charm. The best thing - a few years later I google how the devices are doing on the market and I've found a podcast by a blind guy reviewing it, and he mentioned how good the audio tag feature is :) It wasn't the best paying job but no B2B job gives you this kind of feedback.