SugarBombs
Member
I am creating an instrument with four strings and I would like to detect the frequency of the note being played on each individual string using four separate pickup coils. I am looking for high accuracy and quick response as the strings will be auto-tuning based on the detected frequency. I am unsure of an acceptable sample rate as the auto-tuning has not been implemented yet.
Below are two options I currently envision, but would like to hear the community thoughts on if there are better approaches or the best of the two in terms of sample rate and accuracy. I am also balancing my time and lack of interest of implementing algorithms from scratch.
4x ATmega328P and 4x LM386 with the arduinoFFT library connected to a master MCU via SPI.
(I tested a single implementation and it works with my pickup, but a 64ms sample rate might be slow and from reading the forums the arduinoFFT has a limited accuracy of about 2.5hz (unconfirmed))
2x Teensy 3.2 using adcs and notefreq (using the YIN algorithm which was Paul suggests is better for instrument frequency detection over FFT) connected together via UART or SPI. The YIN algorithm appears to be very accurate from the tuba recording tests that were posted a while back. (Edit: The running example is promising, but there are some odd reading patterns. But they might be cause by an improperly bias input).
Thanks.
Below are two options I currently envision, but would like to hear the community thoughts on if there are better approaches or the best of the two in terms of sample rate and accuracy. I am also balancing my time and lack of interest of implementing algorithms from scratch.
4x ATmega328P and 4x LM386 with the arduinoFFT library connected to a master MCU via SPI.
(I tested a single implementation and it works with my pickup, but a 64ms sample rate might be slow and from reading the forums the arduinoFFT has a limited accuracy of about 2.5hz (unconfirmed))
2x Teensy 3.2 using adcs and notefreq (using the YIN algorithm which was Paul suggests is better for instrument frequency detection over FFT) connected together via UART or SPI. The YIN algorithm appears to be very accurate from the tuba recording tests that were posted a while back. (Edit: The running example is promising, but there are some odd reading patterns. But they might be cause by an improperly bias input).
Thanks.
Last edited: