Skip to content

Instantly share code, notes, and snippets.

@nfreear
Created November 24, 2019 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfreear/414d08ce3f1c5fd0ba9656daffb43206 to your computer and use it in GitHub Desktop.
Save nfreear/414d08ce3f1c5fd0ba9656daffb43206 to your computer and use it in GitHub Desktop.
# 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