11
Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Embed Size (px)

Citation preview

Page 1: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Final Year ProjectPat Hurney

Digital Pitch Correction for Electric Guitars

Page 2: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Project Overview

The aim of this project is to develop a method of digitally altering the pitch of an out of tune guitars signal to make it sound in-tune.

Many amateur and professional guitarists have tuning problems during gigs and rehearsals. This system should help eliminate a lot of these problems.

Many guitarists like to use different tuning.

Page 3: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Steps in Project

Develop a tuner that detects which note has just been played.

Develop digital filters that can alter the pitch of a note by a certain amount.

Test the filters on recorded guitar samples. Embed the filters on a DSP board. Use the filters with a guitar in real time. On one string at

first and progressing on to other strings afterwards. Develop a GUI to let musicians develop new tunings to

be used with their guitars.

Page 4: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Hardware/Software to be used

HardwareDSP BoardGuitar

SoftwareMatlab CJAVA

Page 5: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Start

Is tuner calibrated

Determine String used

Obtain Pitch of note

Compare Pitch of note to reference notes

Determine Difference in notes

Store Difference

Correct note

No

Determine String used

Are reference notes set

Set reference notes

Yes

No

Yes

Page 6: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Block Diagram of Un-calibrated System

Pitch Detection

Pitch Comparison

Pitch Correction

Reference Pitches

Pitches set in GUI

Guitar Signal String

DetectionPitch Offset

Page 7: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

String Detection

Piezo pickups will be used here. Each string will have its own pickup that will output the signal from that string to the DSP board.

Piezo pickups have a very different tone to standard pickups which could be a problem. One solution will be to use the signal from the piezo

pickups to determine how much the signal from the guitars main output needs to be altered by.

Page 8: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Pitch Detection

Pitch Detection will be done by using an FFT to determine the fundamental frequency of the note played. A suitable pitch detection algorithm will then be used to obtain the pitch.

The guitar signal contains a number of additional harmonics. Up to five peaks were found on each signal after a FFT.

A sampling rate of 44.1kHz will be used. This is to ensure that a large amount of harmonics are preserved in the sampled signal.

Pitch Detection will first be done with single notes on one string. More then one note will be used later in the project.

Page 9: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Pitch Comparison

The difference in the guitar signal’s pitch and the reference notes pitch will be calculated here.

This will be done by comparison of the FFT’s of the guitar signal and the reference sample.

More research needs to go in to this area.

Page 10: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Pitch Correction

The pitch of the signal will be modified here without affecting the time-scale of the frequency.

A phase vocoder will be used in the pitch correction as this allows modification of the pitch without altering the time-scale.

Research has shown that this has been used in live performances for pitch correction for vocals.

Page 11: Final Year Project Pat Hurney Digital Pitch Correction for Electric Guitars

Questions?