Audacity Spectrum Generation and Python
Posted: Tue Oct 25, 2016 6:32 pm
Hi Everybody \m/
First of, I want to say thank you for all the effort you have put into creating Audacity. I learned a great deal, in a very short amount of time with the help of all your efforts.
This year, I was working on a DSP project that required me to write a program in Python to plot the spectrum of recordings obtained using Audacity.
I basically used Audacity to record sound with a normal microphone -> laptop setup. Then my Python program would read it, and use existing libraries (such as http://greenteapress.com/wp/think-dsp/) to generate a spectrum and look at different frequency bands.
In the end, everything worked out, but I could never get the same spectrum plot as Audacity... I am unsure of whether my analysis was faulty, or my windowing, or if Audacity does some smoothing that I could not get behind. I was wondering if it is possible to pipe the spectrum data from Audacity to Python?
If not, can someone point me in a direction where I can figure out what I did wrong?
I am unsure of what I should provide here to be helped... but I will be more than willing to supply any needed info.
Thanks.
First of, I want to say thank you for all the effort you have put into creating Audacity. I learned a great deal, in a very short amount of time with the help of all your efforts.
This year, I was working on a DSP project that required me to write a program in Python to plot the spectrum of recordings obtained using Audacity.
I basically used Audacity to record sound with a normal microphone -> laptop setup. Then my Python program would read it, and use existing libraries (such as http://greenteapress.com/wp/think-dsp/) to generate a spectrum and look at different frequency bands.
In the end, everything worked out, but I could never get the same spectrum plot as Audacity... I am unsure of whether my analysis was faulty, or my windowing, or if Audacity does some smoothing that I could not get behind. I was wondering if it is possible to pipe the spectrum data from Audacity to Python?
If not, can someone point me in a direction where I can figure out what I did wrong?
I am unsure of what I should provide here to be helped... but I will be more than willing to supply any needed info.
Thanks.