Created
November 24, 2019 16:38
-
-
Save nfreear/414d08ce3f1c5fd0ba9656daffb43206 to your computer and use it in GitHub Desktop.
Sonic PI notepad | 24-Nov-2019 | https://github.com/samaaron/sonic-pi/blob/master/etc/doc/tutorial/A.07-bizet.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Welcome to Sonic Pi v3.1 | |
# | |
# See :~ https://github.com/samaaron/sonic-pi/blob/master/etc/doc/tutorial/A.07-bizet.md | |
# Habanera | |
# use_synth :fm | |
use_synth :prophet | |
# live_loop :habanera do | |
8.times do | |
play (ring :d, :r, :r, :a, :f5, :r, :a, :r).tick | |
sleep 0.25 | |
end | |
sleep 0.5 | |
# A scale of middle C. | |
use_synth :piano | |
8.times do | |
play (ring :c, :d, :e, :f, :g, :a4, :b4, :c5).tick | |
sleep 0.5 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment