TI Super Mario Music

Super Mario Music Overview

I took a class on DSP System Development and one subject learned I found interesting was digital resonators. I made an expansion board for the DSP development kit we were using in class. The board included a 128 X 64 graphical LCD. I wrote a program that plays the outdoor music from the original Super Mario Brothers NES game and shows a simple graphic on the LCD. I had disassembled the sound engine from Super Mario Brothers so I had the source code for the music as a starting point. As part of the project, I had to also design a low pass filter to remove high frequency popping noises from the output audio stream. The issue is that the digital resonators change their frequency abruptly and cause the output audio stream to create a significant popping noise during the note transitions. The digital filter removes the popping noises. Also, an optional echo effect was added to the project.

TI Super Mario Music Repository

Super Mario Music PCB Pictures

Mario Music PCB Top
Mario Music PCB Top
Mario Music PCB Bottom
Mario Music PCB Bottom
Mario Music PCB Sisassembled
Mario Music PCB Disassembled
Mario Music PCB Assembled
Mario Music PCB Assembled
Mario Music PCB Display
Mario Music Display

Super Mario Music PCB Schematics

The TI Super Mario Music PCBs were designed using Express PCB.

TI Super Mario Music PCB Source
Super Mario Music Schematic Page 1
Super Mario Music Schematic Page 1
Super Mario Music Schematic Page 2
Super Mario Music Schematic Page 2

Super Mario Music PCB Design

Main PCB Top Layer
Main PCB Top Layer
Main PCB Bottom Layer
Main PCB Bottom Layer
Main PCB Power Layer
Main PCB Power Layer
Main PCB Ground Layer
Main PCB Ground Layer
Main PCB Combined Layers
Main PCB Combined Layers
Backplane PCB Top Layer
Backplane PCB Top Layer
Backplane PCB Bottom Layer
Backplane PCB Bottom Layer
Backplane PCB Power Layer
Backplane PCB Power Layer
Backplane PCB Ground Layer
Backplane PCB Ground Layer
Backplane PCB Combined Layers
Backplane PCB Combined Layers

TI Super Mario Music Printed Parts

The Super Mario Music Printed Parts were designed in Free CAD.

Super Mario Music Printed Parts Source
Super Mario Music Printed Parts
Super Mario Music Printed Parts

Super Mario Music Firmware Source

The firmware was written in TI's Code Composer Studio.

Super Mario Music Firmware Source

TI Super Mario Music Sampled Audio Output

Finally, Below are recordings of the output. The first one is the audio after being passed through the low pass filter. The second one has the filter disabled and popping noises during note transitions can be heard. The third one has the echo feature active.