nick kwolek david duemeler martin pendergaststephen edwards

12
Beethoven’s Ear - Software Narrative Nick Kwolek David Duemeler Martin Pendergast Stephen Edwards

Upload: oswin-walters

Post on 20-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

Beethoven’s Ear - Software NarrativeNick Kwolek David Duemeler

Martin Pendergast Stephen Edwards

Page 2: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

OutlineProject OverviewSignal Processing CodeMIDI Transcription CodeUser Interface Code

Page 3: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

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

creates MIDI sheet music of the audioFiles transferred via SD card

Page 4: Nick Kwolek David Duemeler Martin PendergastStephen Edwards
Page 5: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

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.

Page 6: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

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

Page 7: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

DSP Software

Frequency

Window Index

Page 8: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

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

Page 9: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

MIDI Transcription Data Flow

Page 10: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

User Interface SoftwareMenu Based Display on the LCD

Beats Per MinuteTime Signature

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

Page 11: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

User Interface

Page 12: Nick Kwolek David Duemeler Martin PendergastStephen Edwards

Questions?