Automatic Guitar Tuner Using Simulink and Arduino
You can build an automatic guitar tuner using Simulink® and its support package for Arduino® hardware. In this project, the user selects which string to tune by using a push button that is connected to an Arduino. An LED display at the output of the Arduino shows which string was selected. The Stateflow® portion of the model makes this possible. As the user plays the selected string, the tuner uses a pitch detection algorithm written in MATLAB® to determine whether the string is in tune. A motorized gripper then turns the corresponding tuning peg on the guitar until the string is in tune. Simulink allows the user to visualize inputs—in this case, the audio waveform from the guitar—as the model is running on the Arduino. The Simulink model developed for this project is deployed on the Arduino, so that the tuner can work as a standalone.
The Simulink model and other files associated with this project can be found on MATLAB Central File Exchange:
Recorded: 3 Aug 2017
Related Products
Learn More
Featured Product
Simulink
Up Next:
Related Videos:
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)