sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

#mouse_x_update

os2 = new_synth("beans")
sleep 2
sc_osc "/n_free", os2
os3 = new_synth("saws")
sleep 2
sc_osc "/n_set", os3, "note", 52

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/bin/standalone.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs--mouse_x_update-for-pr


# Commit to git

git add app/server/bin/standalone.rbgit commit -m "better docs for #mouse_x_update"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs--mouse_x_update-for-pr

hub pull-request


# Celebrate!