I need to get the frequency that comes out of the microphone input, in order to play certain notes on a sequencer or any instrument depending on the microphone tone. I use this code to output de microphone
adc => dac;
while(true){
0.1::second=>now;
}
Is there any function that is used on adb to be able to do what I want? Thanks! :D
The easiest way to do this is to modify the Spectral Centroid UAna example.