AI Disclaimer: Some AI Used
This project partly relies on AI. I recall not using AI for the majority of the project but there was a specific algorithm needed to be implemented and the professor said it was all good if I wanted to use AI for that portion. I believe that portion would be the reconstruction of notes to sound.





Our group developed a MATLAB application that converts sheet music images into sound. The project combined black-and-white image processing, separation of treble and bass regions, positional note labelling and timing estimation to produce an MP3 file for assessment.
The demonstration used sheet music for Can You Hear the Music from Oppenheimer.
Stack: MATLAB · Focus: Optical music recognition and audio generation
Problem and scope
The task was to turn information represented visually on a musical score into an audio output. This required identifying notes within the image and determining when those notes should play.
We used image geometry as the basis for recognition: note positions within designated regions informed labelling, while spacing along the score informed playback timing.
Processing pipeline
| Stage | Approach |
|---|---|
| Image preparation | Convert the sheet music image into a black-and-white representation |
| Region separation | Divide the image into sections for the treble and bass parts |
| Note labelling | Label notes according to their position within designated zones or on ledger lines |
| Timing estimation | Use the distance between notes relative to the bar endpoint to estimate when each note should play |
| Audio output | Generate sound from the interpreted note information and export an MP3 |
Separating the treble and bass regions allowed those parts of the score to be handled individually. The note-labelling step accounted for both the designated zones and notes positioned on ledger lines.
Playback timing was estimated from the horizontal spacing of notes relative to the end of the bar. This connected the spatial layout of the sheet music to the sequence of notes in the generated audio.
Demonstration and outcome
The group used the pipeline to convert the demonstration sheet music into an MP3, which was submitted for assessment.
The project brought image preparation, region-based recognition and timing estimation together into a workflow with an audible result. It provided a practical application of image processing in MATLAB, translating visual note information into a different output format.
