Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Strobe Tuner for Guitar based on Teensy 3.6

  1. #1
    Junior Member
    Join Date
    Aug 2018
    Posts
    2

    Strobe Tuner for Guitar based on Teensy 3.6

    I have built a strobe tuner based on Teensy 3.6, two shift registers and 16 LEDs. It simulates the rotating disc of a strobe tuner with the shift registers used as a circular buffer. The signal from the electric guitar is preamplified with the board seen on the right. The signal then goes into the analog input of the Teensy. The string of the guitar is detected using the YIN algorithm implemented in the Teensy Audio Library. According to the string the reference frequency is created by Teensy and it is used to shift a single one through the circular buffer. The processed guitar signal is used for the "output enable" pin of the shift registers. If the two signals (reference and guitar) have the same frequency the illuminated LEDs seem to stand still. If the guitar is out of tune, the LED pattern seems to go left or right, depending on the frequency difference.

    You can find the project on github:
    https://github.com/benjaminbecker/StrobeTuner


    Regards,
    Benjamin

  2. #2
    Member
    Join Date
    Sep 2014
    Location
    South Dundas, Ontario, Canada
    Posts
    25
    Does your tuner have a means to determine how many cents it's off, or be able to set it to x-cents off?

    Years ago I worked with an organ technician who had a "home built" organ tuner that showed tuning by LEDs for each 12 notes and cents "error" on a meter marked +50 to -50, as some oscillators had to be adjusted x-cents off the standard notes. It didn't use a computer chip but "standard" TTL chips from the 70's. I think it used a PLL technique.

  3. #3
    Junior Member
    Join Date
    Aug 2018
    Posts
    2
    Quote Originally Posted by KOC62 View Post
    Does your tuner have a means to determine how many cents it's off, or be able to set it to x-cents off?
    The reference frequencies are programmed in the code. It would not be a problem to set it to x-cents off.

    The tuner does not use the LEDs to indicate the tone. The tuner works like the one in this video:
    https://www.youtube.com/watch?v=ezB1cDQ01U4

  4. #4
    Senior Member Blackaddr's Avatar
    Join Date
    Mar 2017
    Location
    Canada
    Posts
    181
    Awesome! I love seeing Teensy guitar stuff! It's truly the best platform I've found for this type of realtime audio processing effects.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •