我想使用Python捕获音频输出中的原始数据。在Python文档中,似乎使用ossaudiodev适用于此目的。不过,我使用Ubuntu 11.10,它没有的/ dev/DSP:将音频输出为Python
>>> import ossaudiodev
>>> ossaudiodev.open('r');
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 2] No such file or directory: '/dev/dsp'
有没有人得到一个线索如何捕捉使用Python的声音我的声卡输出?
看到这个[link](http://stackoverflow.com/questions/892199/detect-record-audio-in-python) –