Dark in Sonic Pi



I am not a musician but I do love playing/coding (not difference really) Sonic Pi and video (using Voila http://www.globaldelight.com/voila/index.php) so I came up with this, it was just fun to do. 

Please someone take it and improve it.

use_synth :prophet
in_thread do
  loop do
    sample  :ambi_choir, rate: 0.1, attack: 4, release: 4
    sleep 10
  end
end
in_thread do
  loop do
    sample :bass_trance_c, amp: 0.75, release: 3
    sleep 2
    sample :bass_trance_c, rate: 0.5, amp: 0.5, release: 5
    sleep 4
    sample :bass_trance_c, rate: 0.3, amp: 0.25, release: 9
    sleep 10
  end
end
sleep 4
sample :ambi_drone, amp: 0.75, release: 3
sleep 8
sample :ambi_dark_woosh, amp: 0.75, release: 3
sleep 7
sample :ambi_dark_woosh, amp: 3, release: 6
sleep 6
sample :ambi_dark_woosh, amp: 3, release: 5
sleep 5
sample :ambi_dark_woosh, amp: 5, release: 4
sleep 4
sample :ambi_dark_woosh, amp: 5, release: 3
sleep 3
sample :ambi_dark_woosh, amp: 5, release: 2
sleep 2
sample :ambi_dark_woosh, amp: 5, release: 1
sleep 1
sample :ambi_dark_woosh, amp: 5, release: 0.5
sleep 0.5
sample :ambi_dark_woosh, amp: 5, release: 0.5



Creative Commons License
Dark by Scott Turner is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with.

Comments

Popular posts from this blog

Simple X-Wing in Minecraft

Have a Sphero BB-8 - now what?

Teaching social AI with robots and chatbots