I was so surprised when I learned that Scilab could actually play notes! So before doing what was actually tasked to us, I first explored this function by playing some songs. :) I have had piano lessons when I was a kid. I also had violin lessons at the Conservatory of Music. Aaaaand I love to sing. :) So as you could see, I really love music. So when asked to choose for a music sheet, I couldn't decide what to actually use after being familiar to lots of it.
Going back to the real thing, I chose the first piece that I was able to play when I was a kid. It was entitled "Ode to Joy." The first line is shown in Figure 1.
Figure 1. First line of Ode to Joy |
Figure 2. Inverted image |
Thresholding was done after taking the result of the correlation. This was done to obtain a single pixel location for the quarter notes and half notes. These are shown in Figure 4 and Figure 5.
Figure 4. Locations of quarter notes |
Figure 5. Location of half note |
Reference
[1]Maricor Soriano. 2012. Activity 9 - Applications of Morphological Operations 2 of 3 - Playing Notes by Image Processing. Applied Physics 186
No comments:
Post a Comment