Python microphone for reading

I am trying to make python capture data from my microphone since I want to create a random generator that will use the noise from it. So basically I don’t want to record sounds, but rather read it as a data file, but in real time.

I know Labview can do this, but I don't like it, and I'm trying to improve on python.

Any help / advice?

+5
source share
2 answers

You may be interested in PyAudio . I think you can get some bytes from the stream.

Here is an interesting example.

+5
source

u PyAudio . PyAudio Microsoft. .

0

All Articles