๐Ÿ‘‹ Welcome to Music with Ruby! | myBetabox

๐Ÿ‘‹ Welcome to Music with Ruby!

Welcome to the B-Sides Remix!

This is a follow-up to the Music with Ruby project. If you haven’t checked it out yet, click here!

Now that we’ve covered some of the basics of coding music with Ruby, let’s take it a step further with more advanced code! If you see something like this…

loop do
    sample :loop_amen
    sleep sample_duration :loop_amen
end

sample :drum_cymbal_open

…you can copy and paste the code directly into Sonic Pi!

Now, open up Sonic Pi and click the next section to begin.