Draw some music and play it with PyPylon, OpenCV and Sonic Pi!
A simple Program which runs edge detection on a preformatted sheet of paper to generate music via the Sonic Pi Application.
The rows of the table are equivalent to a note, whereas each column indicates whether the note should be played or not.
Currently work in progress!
To get this project up and running first install the generator's dependencies with the help of this guide. Furthermore, you need Sonic Pi which comes with every current raspbian image, but you will also need to install the Ruby gem sonic-pi-cli
(e.g. via gem install sonic-pi-cli
).
If you want to try it out, just print the template sheet.pdf
, color some cells black and point your camera at it.
Note: Sonic Pi must be running for this to work otherwise the output of the program can not be parsed by it.
StudentCV | pushed 89d8577697a8e24397c9cced65bac8ed861b9463 | 2016-08-19 11:00:12 UTC | |
StudentCV | pushed d61f582a0b68e0c916fef7caf5c0813afffb3120 | 2016-07-14 13:59:04 UTC | |
StudentCV | pushed 6a65c70f4a18773601408595ac0a809759a8f86a | 2016-07-14 13:56:40 UTC | |
StudentCV | pushed 523b1a66fb9811df64b36174b674978812721841 | 2016-07-14 13:56:13 UTC |
Want to comment this ...
Show more