Skip to content

a2198699s/pitch-perfector

Repository files navigation

Logo

Build Status

A Raspberry Pi real-time pitch-shifting microphone project. Stay Tuned...

Install Guide

Clone and cd into pitch-perfector

  1. cmake .
  2. make
  3. ./Code/fft_object/PitchPerfector

System Overview

The MEMS microphone converts the vocal (from ~100Hz up to ~3.5kHz) input into an analogue signal

The I2S ADC in the Adafruit microphone converts this audio to I2S format which is understood by the Raspberry Pi with a datarate of 240kbps

Frequency analysis is performed by applying a fourier transform and identifying the base frequency

Pitch shifting then shifts the frequency components of the signal using phase vocoding so they match the note input by the GUI or to a predetermined scale value

This new shifted value is then output to a speaker

Utilised the FFTW3 and RtAudio packages for real-time pitch shifting

System Diagram

For more information, see the project Wiki

For code documentation, see the Doxygen documentation published on every commit

Project Twitter: @PerfectorPitch

Project YouTube: Pitch Perfector

Licence

For licencing information see Licence