Automated Electric Guitar Tuner - PowerPoint PPT Presentation

Group 9 Demo Times 9-10:30, 1:30-2:30 Thursday, April 24, 2008. LabVIEW Wav File : The audio input port of any laptop/computer is used to record a 2.5 second wav file. FFT : The wav file is sampled to construct the FFT of the file and obtain the fundamental frequency of the signal.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Download Presentation

PowerPoint Slideshow about 'Automated Electric Guitar Tuner' - naoko

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

Wav File: The audio input port of any laptop/computer is used to record a 2.5 second wav file.

FFT: The wav file is sampled to construct the FFT of the file and obtain the fundamental frequency of the signal.

Serial Communication Output: Information about the desired tuning, string being tuned and the frequency of the string are then sent via a USB connection to the 68HC11.

Serial Communication Input: Receives information from the 68HC11 about the status of the string (in tune or out of tune).

Microcontroller - Motorola 68HC11Interrupts

Output Compare (OC2): Generates 500Hz signal.

Pulse Accumulator (PAOV): Counts pulses

received from DC motor encoder.

Communication

Receives inputs from LabVIEW using the serial port.

Drives DC motor using Output Compare.

Receives feedback from DC motor encoder using

Pulse Accumulator.

Automated Electric Guitar Tuner

Abstract

In the music industry, there has been a recent trend of increased research with regard to self-tuning guitars. Although musicians can use devices such as chromatic tuners, which determine and display a string’s pitch using the guitar’s electrical output, these devices require the musician to manually tune the instrument. It was not until the release of Gibson’s Robot Guitar in late 2007 that a musician could own an automated tuning system for their electric guitar. However, it is currently only made in the style of Gibson Les Paul and SG guitars, leaving musicians with limited options if they wish to own a guitar where automated tuning is possible.

The focus of this project was to find a way to create an automated tuning system that was accurate, affordable and external. In addition, an intricate balance was needed between those parameters and the amount of work required on the part of the user.

Using a laptop, the electrical impulses from the guitar are recorded and a Fast Fourier Transform (FFT) is taken of the recorded file. Data about the recorded frequency, which string is being tuned and the desired tuning is then communicated to the microcontroller. Using this information, the microcontroller calculates how much rotation of the tuning pegs is required to tune the string, converts the value into a known number of encoder pulses and outputs a signal to the DC motor. By counting the pulses from the DC motor encoder, the microcontroller is aware of the motor’s position, allowing the microcontroller to stop the motor when the desired rotation is reached.

System Specifications

Operating Frequency Range: 124Hz -1065Hz Tunings Supported: 3

Weight: 2 lbs.

Average Time to Tune: 3.5 minutes

Average Accuracy: +/- 1.5Hz

Authors

Abraham Dauhajre EE ’08

Michael Kaplan EE ’08

Richard Prusak EE ‘08

Advisors

Mr. Siddharth Deliwala (ESE)

University of Pennsylvania

Dept. of Electrical and

Systems Engineering

String Equations

Rotated tuning peg predetermined amount and recorded the starting and ending frequencies.

Plotted the ratio of ending frequency to starting frequency against rotation distance and performed plot fitting.

Each string has different characteristics and as a result each had a different best fit equation.

Motor Control SystemThe 68HC11 was connected to theREXC Drive Motor through the CVHB-201 H-Bridge. The H-Bridge, rated at 2A, allows the DC motor to be run forwards (IN1 high), in reverse (IN2 high) or braked (IN1 and IN2 high).

Mounting UnitIn order to be practical, the mounting unit had to be lightweight and easy to use. Using two linear slides and a sturdy Plexiglas framework, a durable mount was constructed. A circular connector allows the motor to be attached to the tuning pegs regardless of their initial state and the two linear slides gives the motor mobility in the x and y planes.