查找音频文件中的每个单词

Find each word in audio files

我看到了一种通过使用声音查找器选项大胆地做到这一点的方法。但由于 audacity 只是 gui,它不能与终端命令一起使用。那么有没有一个程序可以做同样的工作,但是在命令界面中,例如 sox

sox input.wav slice.wav silence 1 1.0 2% 1 3.0 2% : newfile : restart

Currently, Audacity does have experimental support for scripting.

The scripting module is an experimental GUI plug-in that allows Audacity to be driven from an external Perl or Python script. Commands are sent to Audacity over a named pipe. Any scripting language that supports named pipes can be used. External scripting is one of several ways to extend the functionality of Audacity.


Scripting support is currently considered experimental and is mainly intended for use by developers for the time being. Feel free to try it out, but don't be too surprised if there are problems, or if the details of commands change between versions of Audacity. Currently Windows or Linux are recommended. Mac requires more work to get anything useful at all. There is a fuller list of limitations at the foot of this page.


具体来说,尝试“菜单命令”选项: https://manual.audacityteam.org/man/scripting.html#MenuCommand