Sonic Pi and Play
Bottom-line: You aren't restricted to whole numbers when it comes to the play command; the microtones possible can yield some really fun results. --------------------------------------- Hello hello! The first thing you learn when starting Sonic Pi is the play command. I won't rehash the tutorial , if you aren't familiar with play check it out - it's solid. What I wanted to write about today was something I noticed when writing a post about chords . When playing notes, you can provide the name of the note or the number that corresponds to that key on the keyboard. 60 is C, for example. What's 61? D? Nah, C#/D♭. 62 is D. And that makes sense cause you're just moving up the keys on the keyboard. But then it got me thinkin'....what about 60.5? Boom. It works. And this makes total sense too. After all, Sonic Pi is a programming language and why wouldn't it allow you to use all sorts of numbers for inputs? We can use 0.25 as a valid sleep value, rig...