Musical Note Classification from Spectrograms
A computer-vision approach to classifying musical notes using a convolutional neural network.
Personal machine-learning project · 2020
Tools: Python, TensorFlow, OpenCV
Turning sound into images
I explored whether a visual classifier could identify musical notes from spectrogram representations rather than analyzing raw waveforms directly. The project converted audio into spectrogram images, prepared a labeled dataset and trained a convolutional neural network to recognize note classes.
Model development
The workflow included data preparation, training and evaluation, with experiments in augmentation, regularization and hyperparameter selection. The original portfolio reported 90% accuracy on its test dataset; that figure is specific to the project’s dataset and is not a claim of general transcription accuracy.
Demonstration
Watch the original presentation.
The project was an early exercise in connecting sensor representation, model architecture and evaluation criteria.