Hi,
I installed audiostream and it works, but I have a problem with the microphone:
from audiostream import get_input
declare a callback where we'll receive the data
def callback_mic(data):
print 'i got', len(data)
get the microphone (or from another source if available)
mic = get_input(callback=callback_mic)
mic.start()
sleep(5)
mic.stop()
Best Regards
mocambo
Hi,
I installed audiostream and it works, but I have a problem with the microphone:
from audiostream import get_input
declare a callback where we'll receive the data
def callback_mic(data):
print 'i got', len(data)
get the microphone (or from another source if available)
mic = get_input(callback=callback_mic)
mic.start()
sleep(5)
mic.stop()
Best Regards
mocambo