alternatives to pyaudio for audio processing in python? [closed]

你离开我真会死。 提交于 2020-06-12 07:13:07

问题


what other options are there for recording audio and processing the raw signal integers in python besides pyaudio?

pyaudio is great, but I have found it too unstable for reliable use, especially on non-linux platforms. I don't really care too much about windows, but Mac OSX and other unix flavors I would like to support.


回答1:


I think that snack can help you http://www.speech.kth.se/snack/

from Tkinter import *
import tkSnack

root = Tk()
tkSnack.initializeSnack(root)
c = tkSnack.Sound(file='test.wav')
c.record()
root.after(5000, c.stop)
root.mainloop()


来源:https://stackoverflow.com/questions/19883036/alternatives-to-pyaudio-for-audio-processing-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!