How to process audio stream in realtime
问题 I have a setup with a raspberry pi 3 running latest jessie with all updates installed in which i provide a A2DP bluetooth sink where i connect with a phone to play some music. Via pulseaudio, the source (phone) is routed to the alsa output (sink). This works reasonably well. I now want to analyze the audio stream using python3.4 with librosa and i found a promising example using pyaudio which got adjusted to use the pulseaudio input (which magically works because its the default) instead of a