SlideShare a Scribd company logo
1 of 22
Download to read offline
Auto-Tune Your Guitar
Embedded Systems Project
Anmol Rajpurohit
Danny Armenta
Nil Mamano
Sang Van Hai
Auto-Tuners:
Motivation
● String instruments often go out of tune due to
reasons such as temperature and humidity.
● Hence, musicians are burdened with the task of
tuning them often.
● Guitars are tuned by rotating its pegs until the
strings have the right tension.
● Our aim is to automate this process.
Specific Use Cases
● New players: Tuning a guitar is usually
hard and frustrating for beginners, as
they have untrained ears.
● Stage performers: Guitars need to be
perfectly in tune throughout the whole
show, which often means tuning before
every song.
● Players with bad musical ear (more
common than it seems).
Image Source: http://www.qwoc.org/wp-content/uploads/2013/04/Instruments-on-Stage.jpg
Previous work
● Variety of tuning apps (Android & IOS) such as GuitarTuna [1] and gStrings [2].
○ How they work
■ Capture frequency + Indicate gap b/w actual & expected frequency
■ They require user to move pegs, involving many iterations
● Arduino-based personal projects
○ Some use a microphone module to capture the sound [3]
○ Others process the electric signal of an electric guitar directly[4]
● First project commercialized - Roadie Tuner [5]
○ Crowd funded in 2014
○ Raised $178,613 [6] => Immense interest for automatic tuning devices.
● Starting 2007, Gibson has created a series of autotuning guitars [7], they are:
○ High-class, exclusive guitars => Not affordable by large population
○ Technology cannot be transferred to other guitars
Approach
Approach
● Use an android cell phone’s microphone to record the sound that is played
when a string is plucked.
● The phone will process the signal from microphone to determine if the string is
in tune or if the pitch is too low/high.
● Phone will communicate to an Arduino board via bluetooth.
● Arduino will then control a servo module to rotate the guitar peg accordingly.
● The process is repeated until the correct pitch is achieved.
Scope
● Android
○ Microphone
○ Sound Processing
○ Bluetooth Interface
● Arduino
○ HC-05 Bluetooth Communication
○ Stepper Motor Control Board
● Stepper Module
○ Accurate rotation with given input
Device Hardware
● Arduino Uno R3 Board
● HC-05 Bluetooth Module
● Nema 17 Bipolar Stepper Motor
● EasyDriver Stepper Motor Driver
● Breadboard
● Flexible Coupler
● Drill Bit Peg Winder
● 2x 9V Battery / Power Supply
Bluetooth
● Method of communication
between Android & Arduino.
● HC-05 Bluetooth Module
connects directly to Arduino
● Baud Rate: 9600
Image Source: http://www.aeroboshop.com/product/bluetooth-hc-05/
Stepper Motor
● Online research - Motor w/ torque(45Ncm)
● Advantages
○ Moves in both direction
○ Accurate
○ Responsive & Quick Acceleration
○ Positioning Stability
● Disadvantage
○ Bulky
○ Need for Driver circuit board
○ External power (9-12 V)
● Circuit design of integration w/ Arduino
● Using AccelStepper[8] library - Control speed & rotation
Image Source: http://www.schmalzhaus.com/EasyDriver/Examples/Example1_bb.png
Stepper Motor Driver Board
● Allows external power for motor.
○ Arduino cannot drive motor itself.
● 2-pin interface for controlling motor
from Arduino
○ Step Input
○ Direction Input
● AccelStepper library for generating
signals for step & direction [8].
○ Acceleration and speed.
Image Source: http://www.schmalzhaus.com/EasyDriver/
Coupler & Drill Peg Winder
● Drill peg winder is used to hold guitar peg
for rotation.
● Coupler allows peg winder to be connector
to stepper motor shaft.
Android Application
Workflow:
● Select string
● Detect frequencies
○ Microphone operating throughout app run-time
● Controller decides action to do
● Transmits messages to the Arduino via
bluetooth
○ Based on the code from BluetoothChat [8]
Android: Sound analysis
● App uses standard tuning frequencies
● Leveraging Fast Fourier Transform
algorithm to transform sound signal to
frequency.
● Uses jtransforms FFT open source library
for FFT functions [10].
● FFT algorithm based on code from a
previously built sound analyzer app.
Guitar open string Note Frequency
6th (thickest) E2 82.4Hz
5th A2 110.0Hz
4th D3 146.8Hz
3rd G3 196.0Hz
2nd B3 246.9Hz
1st (thinnest) E4 329.6Hz
Android Bluetooth(BT)
● App requests to turn on BT.
● Scans for and connects to BT devices.
● Bluetooth allows for connectivity to
Arduino controller.
● Messages sent to Arduino via BT serve
as commands to manipulate the stepper
motor and adjust the guitar knob.
Android: Controller
● Algorithm in App decides how much we need to turn the peg.
○ Repeat this process until in tune:
○ Send +500 or -500 (about 45 degrees) depending on too high or too low.
○ Each time the side changes, half the amount being sent.
● Mimics how humans tune a guitar.
● The movement is smooth and not abrupt, which helps the string stay in tune
longer.
Challenges
● Even after dedicating time (in HW gathering
phase) to find motor with right amount of
torque, it fails to tense all the strings.
● We propose an alternative target tuning with
every string two tones lower.
● The sound relation between strings is the
same, but everything sounds more low-
pitched.
Guitar open string Note Frequency
6th (thickest) C2 65.4Hz
5th F2 87.3Hz
4th A#2 116.5Hz
3rd D#3 155.5Hz
2nd G3 196.0Hz
1st (thinnest) C4 261.6Hz
TradeOffs/Constraints
● Stepper Motor vs. Servo Motor
● Weight vs. Power
● Low Power Consumption
● Battery vs. Power Supply
● No. of iterations vs. One perfect
rotation
● Addition of more hardware vs.
leveraging existing setup
● Simple vs. Complex (Optimized)
Future Work
● Find stepper motor alternative that
provides more torque and less
energy consumption.
● Consider alternative algorithms and
benchmark their accuracy and speed.
● Reduce hardware costs.
● Research marketability of the project.
● Reduce weight of gadget
References
[1] GuitarTuna https://play.google.com/store/apps/details?id=com.ovelin.
guitartuna&hl=en
[2] gStrings https://play.google.com/store/apps/details?id=org.cohortor.
gstrings&hl=en
[3] Automatic guitar tuning system http://luisvillarandesign.
com/Design_Site/Project_5.html
[4] Guitar Tuner http://www.tonychai.com/guitar.html
[5] Roadie Tuner https://www.roadietuner.com/
References
[6] Roadie Tuner on Kickstarter https://www.kickstarter.
com/projects/roadietuner/roadie-tuner-the-ultimate-guitarist-tool
[7] Gibson Robot Guitar http://archive.gibson.com/RobotGuitar/story.html
[8] AccelStepper http://www.airspayce.com/mikem/arduino/AccelStepper/
[9] BluetoothChat http://developer.android.com/samples/BluetoothChat/index.html
[10] Easy Driver Stepper Motor Driver http://www.schmalzhaus.com/EasyDriver/
[11]Jtransforms FFT Java Library http://sourceforge.net/projects/jtransforms/

More Related Content

What's hot

Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPT
FarhanAhmade
 
ET2799 Capstone presentation
ET2799 Capstone presentationET2799 Capstone presentation
ET2799 Capstone presentation
Minh Vu
 
Rotary encoder training material
Rotary encoder training materialRotary encoder training material
Rotary encoder training material
Sáng Bùi Quang
 

What's hot (14)

Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPT
 
Basics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorialBasics of mechatronics - Arduino tutorial
Basics of mechatronics - Arduino tutorial
 
IRJET- A Review on Implementation of a Fire Fighting Robot using Arduino
IRJET-  	  A Review on Implementation of a Fire Fighting Robot using ArduinoIRJET-  	  A Review on Implementation of a Fire Fighting Robot using Arduino
IRJET- A Review on Implementation of a Fire Fighting Robot using Arduino
 
Arduino maze solving robot
Arduino maze solving robotArduino maze solving robot
Arduino maze solving robot
 
ET2799 Capstone presentation
ET2799 Capstone presentationET2799 Capstone presentation
ET2799 Capstone presentation
 
The IO concept
The IO conceptThe IO concept
The IO concept
 
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using Arduino
 
ULTRASONIC
ULTRASONICULTRASONIC
ULTRASONIC
 
Arduino Interface LM35 MQTT Using UART
Arduino Interface LM35 MQTT Using UARTArduino Interface LM35 MQTT Using UART
Arduino Interface LM35 MQTT Using UART
 
Rotary encoder training material
Rotary encoder training materialRotary encoder training material
Rotary encoder training material
 
Mitsubishi inverter fr-s500 catalog-dienhathe.vn
Mitsubishi inverter fr-s500 catalog-dienhathe.vnMitsubishi inverter fr-s500 catalog-dienhathe.vn
Mitsubishi inverter fr-s500 catalog-dienhathe.vn
 
Amf+ats control panel v1.1 en
Amf+ats control panel v1.1 enAmf+ats control panel v1.1 en
Amf+ats control panel v1.1 en
 
Algorithms and hardware designs for quadcopters
Algorithms and hardware designs for quadcoptersAlgorithms and hardware designs for quadcopters
Algorithms and hardware designs for quadcopters
 
Nexus:bit User Manual v0.1 (English)
Nexus:bit User Manual v0.1 (English)Nexus:bit User Manual v0.1 (English)
Nexus:bit User Manual v0.1 (English)
 

Similar to Auto-Tune Your Guitar

Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1
Meshal Alawwad
 
Bw32898902
Bw32898902Bw32898902
Bw32898902
IJMER
 
Undergrad Research Presentations
Undergrad Research PresentationsUndergrad Research Presentations
Undergrad Research Presentations
George Kudyba
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
Kael Kristjanson
 
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratchOpen_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
Igor Stoppa
 
ELC 2016 - I2C hacking demystified
ELC 2016 - I2C hacking demystifiedELC 2016 - I2C hacking demystified
ELC 2016 - I2C hacking demystified
Igor Stoppa
 
Paper presentation of mini project
Paper presentation of mini projectPaper presentation of mini project
Paper presentation of mini project
Jayashankar Gavvala
 

Similar to Auto-Tune Your Guitar (20)

Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)Obstacle Avoidance Robot (Powered by Arduino)
Obstacle Avoidance Robot (Powered by Arduino)
 
Software Defined Radio (SDR)
Software Defined Radio (SDR)Software Defined Radio (SDR)
Software Defined Radio (SDR)
 
Price of Arduino Due by ROBOMART
Price of Arduino Due by ROBOMARTPrice of Arduino Due by ROBOMART
Price of Arduino Due by ROBOMART
 
Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1
 
Bw32898902
Bw32898902Bw32898902
Bw32898902
 
Undergrad Research Presentations
Undergrad Research PresentationsUndergrad Research Presentations
Undergrad Research Presentations
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
 
Reverse car-parking
Reverse car-parkingReverse car-parking
Reverse car-parking
 
Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3Smart Safety Door based on Arduino Uno R3
Smart Safety Door based on Arduino Uno R3
 
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors  B...
Smart Safety Door with Servo Motors as Actuators, Passcode and DHT Sensors B...
 
Sensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controllerSensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controller
 
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratchOpen_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
Open_IoT_Summit-Europe-2016-Building_a_Drone_from_scratch
 
My minor project
My minor projectMy minor project
My minor project
 
Controlling and optimization of 3d optical stage for precise movement
Controlling and optimization of 3d optical stage for precise movementControlling and optimization of 3d optical stage for precise movement
Controlling and optimization of 3d optical stage for precise movement
 
Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3Porte à puce - Smart Safety Door based on Arduino UNO R3
Porte à puce - Smart Safety Door based on Arduino UNO R3
 
Mirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in GoMirko Damiani - An Embedded soft real time distributed system in Go
Mirko Damiani - An Embedded soft real time distributed system in Go
 
Prestentation
PrestentationPrestentation
Prestentation
 
ELC 2016 - I2C hacking demystified
ELC 2016 - I2C hacking demystifiedELC 2016 - I2C hacking demystified
ELC 2016 - I2C hacking demystified
 
Paper presentation of mini project
Paper presentation of mini projectPaper presentation of mini project
Paper presentation of mini project
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Auto-Tune Your Guitar

  • 1. Auto-Tune Your Guitar Embedded Systems Project Anmol Rajpurohit Danny Armenta Nil Mamano Sang Van Hai Auto-Tuners:
  • 2. Motivation ● String instruments often go out of tune due to reasons such as temperature and humidity. ● Hence, musicians are burdened with the task of tuning them often. ● Guitars are tuned by rotating its pegs until the strings have the right tension. ● Our aim is to automate this process.
  • 3. Specific Use Cases ● New players: Tuning a guitar is usually hard and frustrating for beginners, as they have untrained ears. ● Stage performers: Guitars need to be perfectly in tune throughout the whole show, which often means tuning before every song. ● Players with bad musical ear (more common than it seems). Image Source: http://www.qwoc.org/wp-content/uploads/2013/04/Instruments-on-Stage.jpg
  • 4. Previous work ● Variety of tuning apps (Android & IOS) such as GuitarTuna [1] and gStrings [2]. ○ How they work ■ Capture frequency + Indicate gap b/w actual & expected frequency ■ They require user to move pegs, involving many iterations ● Arduino-based personal projects ○ Some use a microphone module to capture the sound [3] ○ Others process the electric signal of an electric guitar directly[4] ● First project commercialized - Roadie Tuner [5] ○ Crowd funded in 2014 ○ Raised $178,613 [6] => Immense interest for automatic tuning devices. ● Starting 2007, Gibson has created a series of autotuning guitars [7], they are: ○ High-class, exclusive guitars => Not affordable by large population ○ Technology cannot be transferred to other guitars
  • 6. Approach ● Use an android cell phone’s microphone to record the sound that is played when a string is plucked. ● The phone will process the signal from microphone to determine if the string is in tune or if the pitch is too low/high. ● Phone will communicate to an Arduino board via bluetooth. ● Arduino will then control a servo module to rotate the guitar peg accordingly. ● The process is repeated until the correct pitch is achieved.
  • 7. Scope ● Android ○ Microphone ○ Sound Processing ○ Bluetooth Interface ● Arduino ○ HC-05 Bluetooth Communication ○ Stepper Motor Control Board ● Stepper Module ○ Accurate rotation with given input
  • 8. Device Hardware ● Arduino Uno R3 Board ● HC-05 Bluetooth Module ● Nema 17 Bipolar Stepper Motor ● EasyDriver Stepper Motor Driver ● Breadboard ● Flexible Coupler ● Drill Bit Peg Winder ● 2x 9V Battery / Power Supply
  • 9. Bluetooth ● Method of communication between Android & Arduino. ● HC-05 Bluetooth Module connects directly to Arduino ● Baud Rate: 9600 Image Source: http://www.aeroboshop.com/product/bluetooth-hc-05/
  • 10. Stepper Motor ● Online research - Motor w/ torque(45Ncm) ● Advantages ○ Moves in both direction ○ Accurate ○ Responsive & Quick Acceleration ○ Positioning Stability ● Disadvantage ○ Bulky ○ Need for Driver circuit board ○ External power (9-12 V) ● Circuit design of integration w/ Arduino ● Using AccelStepper[8] library - Control speed & rotation Image Source: http://www.schmalzhaus.com/EasyDriver/Examples/Example1_bb.png
  • 11. Stepper Motor Driver Board ● Allows external power for motor. ○ Arduino cannot drive motor itself. ● 2-pin interface for controlling motor from Arduino ○ Step Input ○ Direction Input ● AccelStepper library for generating signals for step & direction [8]. ○ Acceleration and speed. Image Source: http://www.schmalzhaus.com/EasyDriver/
  • 12. Coupler & Drill Peg Winder ● Drill peg winder is used to hold guitar peg for rotation. ● Coupler allows peg winder to be connector to stepper motor shaft.
  • 13. Android Application Workflow: ● Select string ● Detect frequencies ○ Microphone operating throughout app run-time ● Controller decides action to do ● Transmits messages to the Arduino via bluetooth ○ Based on the code from BluetoothChat [8]
  • 14. Android: Sound analysis ● App uses standard tuning frequencies ● Leveraging Fast Fourier Transform algorithm to transform sound signal to frequency. ● Uses jtransforms FFT open source library for FFT functions [10]. ● FFT algorithm based on code from a previously built sound analyzer app. Guitar open string Note Frequency 6th (thickest) E2 82.4Hz 5th A2 110.0Hz 4th D3 146.8Hz 3rd G3 196.0Hz 2nd B3 246.9Hz 1st (thinnest) E4 329.6Hz
  • 15. Android Bluetooth(BT) ● App requests to turn on BT. ● Scans for and connects to BT devices. ● Bluetooth allows for connectivity to Arduino controller. ● Messages sent to Arduino via BT serve as commands to manipulate the stepper motor and adjust the guitar knob.
  • 16. Android: Controller ● Algorithm in App decides how much we need to turn the peg. ○ Repeat this process until in tune: ○ Send +500 or -500 (about 45 degrees) depending on too high or too low. ○ Each time the side changes, half the amount being sent. ● Mimics how humans tune a guitar. ● The movement is smooth and not abrupt, which helps the string stay in tune longer.
  • 17. Challenges ● Even after dedicating time (in HW gathering phase) to find motor with right amount of torque, it fails to tense all the strings. ● We propose an alternative target tuning with every string two tones lower. ● The sound relation between strings is the same, but everything sounds more low- pitched. Guitar open string Note Frequency 6th (thickest) C2 65.4Hz 5th F2 87.3Hz 4th A#2 116.5Hz 3rd D#3 155.5Hz 2nd G3 196.0Hz 1st (thinnest) C4 261.6Hz
  • 18. TradeOffs/Constraints ● Stepper Motor vs. Servo Motor ● Weight vs. Power ● Low Power Consumption ● Battery vs. Power Supply ● No. of iterations vs. One perfect rotation ● Addition of more hardware vs. leveraging existing setup ● Simple vs. Complex (Optimized)
  • 19. Future Work ● Find stepper motor alternative that provides more torque and less energy consumption. ● Consider alternative algorithms and benchmark their accuracy and speed. ● Reduce hardware costs. ● Research marketability of the project. ● Reduce weight of gadget
  • 20.
  • 21. References [1] GuitarTuna https://play.google.com/store/apps/details?id=com.ovelin. guitartuna&hl=en [2] gStrings https://play.google.com/store/apps/details?id=org.cohortor. gstrings&hl=en [3] Automatic guitar tuning system http://luisvillarandesign. com/Design_Site/Project_5.html [4] Guitar Tuner http://www.tonychai.com/guitar.html [5] Roadie Tuner https://www.roadietuner.com/
  • 22. References [6] Roadie Tuner on Kickstarter https://www.kickstarter. com/projects/roadietuner/roadie-tuner-the-ultimate-guitarist-tool [7] Gibson Robot Guitar http://archive.gibson.com/RobotGuitar/story.html [8] AccelStepper http://www.airspayce.com/mikem/arduino/AccelStepper/ [9] BluetoothChat http://developer.android.com/samples/BluetoothChat/index.html [10] Easy Driver Stepper Motor Driver http://www.schmalzhaus.com/EasyDriver/ [11]Jtransforms FFT Java Library http://sourceforge.net/projects/jtransforms/