nick kwolek david duemeler martin pendergaststephen edwards

Post on 20-Jan-2016

219 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Beethoven’s Ear - Software NarrativeNick Kwolek David Duemeler

Martin Pendergast Stephen Edwards

OutlineProject OverviewSignal Processing CodeMIDI Transcription CodeUser Interface Code

Project OverviewA music composition and instruction toolRecords audio of a musical instrument and

creates MIDI sheet music of the audioFiles transferred via SD card

Project-Specific Success CriteriaAn ability to sample an audio signal with

appropriate input filtering.An ability to transform an audio signal to the

frequency domain in finite length sample windows.An ability to determine the note names and

durations based on the frequency spectrum and an internal metronome.

An ability to generate a musical score stored in a MIDI file, based on the analyzed data.

An ability to transfer the completed music file to a removable storage medium.

Signal Processing SoftwareCurrently a Matlab script

Possibility of Using Microchip IDE to directly comply code to dsPIC

If not, port code to C, then compile to dsPICUses an FFT to create frequency spectrum

Window size: 4096Decimation and window lag can be varied

Selects the highest amplitude frequency as the fundamental

DSP Software

Frequency

Window Index

MIDI Transcription SoftwareTakes output of Signal Processing SoftwareComposes MIDI file header

BPM – Set By UserTime Signature – Set By UserKey Signature – Default to C major

Writes music data to SD card over SPI line

MIDI Transcription Data Flow

User Interface SoftwareMenu Based Display on the LCD

Beats Per MinuteTime Signature

Reads Data from RPG and push buttonsProcesses Start and Stop Recording Signals

User Interface

Questions?

top related