Hi everybody, I want to create a realtime pitch recogniser with Processing. How can I do this?
Thanks.
glv
November 4, 2020, 5:42pm
2
Hello,
Start here:
And checkout the libraries that can be added from Processing:
You may want to do a search for “audio” also.
:)
Hi,
Here is more ressources on the subject (specially the second link) :
1 Like
Thanks for the informations, they are very usefull, did you know if there is a way to extract all the harmonics of a sound? Like fourier coefficient for each pitch?
Thanks
1 Like
josephh
November 10, 2020, 5:01pm
5
Hi,
Again, you can look at this thread talking about FFT :
Specially this example with Minim :
/**
* An FFT object is used to convert an audio signal into its frequency domain representation. This representation
* lets you see how much of each frequency is contained in an audio signal. Sometimes you might not want to
* work with the entire spectrum, so it's possible to have the FFT object calculate average frequency bands by
* simply averaging the values of adjacent frequency bands in the full spectrum. There are two different ways
* these can be calculated: <b>Linearly</b>, by grouping equal numbers of adjacent frequency bands, or
* <b>Logarithmically</b>, by grouping frequency bands by <i>octave</i>, which is more akin to how humans hear sound.
* <br/>
* This sketch illustrates the difference between viewing the full spectrum,
* linearly spaced averaged bands, and logarithmically spaced averaged bands.
* <p>
* From top to bottom:
* <ul>
* <li>The full spectrum.</li>
* <li>The spectrum grouped into 30 linearly spaced averages.</li>
* <li>The spectrum grouped logarithmically into 10 octaves, each split into 3 bands.</li>
* </ul>
*
* Moving the mouse across the sketch will highlight a band in each spectrum and display what the center
* frequency of that band is. The averaged bands are drawn so that they line up with full spectrum bands they
This file has been truncated. show original
Remember that a single search on internet can provide you almost anything you need