1

What is the easiest way to get a stream of the microphone levels using python?

I'm using USB mics and Python 3.3

edit: I have used pyaudio to record a wav file and I can also write the chunks from the stream into a text file, but I have no clue what the chunks mean. Is there a way to interpret them to get things like decibel or frequency?

This is what the raw data looks like when printed to a file: "b'\xb0\xff\xb0\xff\xa7\xff\xa8\xff\xa7\xff\xa7\xff\xaa\xff\xa9\xff..."

atomant
  • 339
  • 1
  • 2
  • 9

0 Answers0