Kourosh Rahnamai, Brian Cox, Kevin Gorman
Department of Electrical Engineering
Western New England College
Springfield, MA 01119, USA
{krahnama,bcox0,kgorman}@wnec.edu
receive of the other PC’s serial connection and visa versa. This allows the controller to be downloaded to the target PC and provides a two-way communications between the host and target PCs.
Abstract – An automatic guitar tuner was successfully designed and developed using a fuzzy logic controller. The guitar tuner was implemented using Simulink and XPC real time kernel. The system acquires the signal from an electrical guitar and inputs the signal into a target PC running XPC. Using Fast
Fourier Transforms (FFT), the system calculates the fundamental and harmonics of the played notes and compares it with the desired pattern. The frequency difference is used as an input to a fuzzy logic controller that automatically adjusts the tension of the desired string.
To load the Target PC with the designed system, the
Simulink model must be compiled into C-code and then transmitted over the RS-232 connection from the Host PC to the Target PC. Figure 1 shows a screenshot of the xPC interface. As can been seen from this figure, the graphical interface of real-time kernel of the target PC is minimal which allows all the processing power of the processor to be used for calculations. I. INTRODUCTION
Guitar tuning has been a manual task since the invention of the string instruments. Guitar tuning process has traditionally been performed by comparing a reference note with the played note either by listening or by using a modern electronic tuner with a visual feedback. Both these methods require the player to manually adjust the guitar key to bring the string in tune. An automated guitar tuner has the ability to be much faster and more precise in tuning the strings to the proper pitch than a human user. Saving time in tuning and having proper
References: in Engineering (CIE) Conference, September 29-October2, 2002, Montreal, Canada. Conference, Irvine, CA, USA August 18-22, 1996. 21st Computers and Information in Engineering (CIE) Conference, September 9-12, 2001, Pittsburgh, Pennsylvania.