What a good way to learn sound with python and split it between high, medium and low levels for visualization?

So, I plan to try creating a lightweight organ with Arduino and Python, exchanging a sequence to control the brightness of several LEDs. The computer will use a microphone or MP3 player to generate data.

I'm not sure how to handle audio processing. What is a good option for python that can take either an audio file or microphone data (I would prefer a microphone) and then split it into different frequency ranges and write the intensity into variables? Do I have to worry about overtones if I use a microphone?

+4
source share
3 answers

If you are not committed to using Python, you should also use PureData (PD) to handle audio analysis. Arduino's PD interaction is already a problem, and there are many pre-existing components that make audio work easier.

+1
source

Try http://wiki.python.org/moin/Audio for links to various Python audio processing packages.

The audio package has some basic functions for manipulating forms.

See also:

0
source

Portaudio has a Python interface that allows you to read data from a microphone.

To separate the groups, you can use something like a band-pass filter by feeding one envelope + a follower for each frequency band of interest to the envelope follower.

0
source

All Articles