This is the seventh part of the article about the Arduino Pitch Detector. It gives a brief description of the visualization methods.\(\)
Visualizing the notes (
The Pitch Detector can show two types of output depending on the compile-time configuration (
config.h). The choices are
- staff, displays the output of the frequency and pitch detection module on a scrolling G-clef staff;
- piano roll, will also run the note level segmentation algorithm and show the notes and durations on a piano roll;
- serial, display the output of the frequency and pitch detection module in a table format on the serial monitor and can be useful for verification.
We created the G-key as a black and white .bmp file and converted it to a C structure using
With pitch detection, segmentation and visualization in place, the next page describes how MIDI events are sent to a synthesizer.