Today Peter and I worked on reading and interpreting audio signals using pyaudio. We made use of functions from Allen Downey's ThinkDSP book to help us extract frequencies and magnitudes for .wav files. We were able to graph the distribution of the frequencies and their magnitudes and were able to see a difference when we recorded a sound with a low frequency and one with a higher frequency. Our next steps are going to involve figuring out how we can extract useful information (frequency with highest magnitude) as our code is running. We might also try to use threading so that we can be recording and interpreting sound data at the same time.
- Vicky
- Vicky
Comments
Post a Comment