我想使用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) –