Last active
August 8, 2018 20:14
-
-
Save jhonylucas74/4dcb62017f609d2e6c327916ab11913c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# _notes = [:C, :D, :E, :A, :G, :A | |
# _notes = [:C, :D, :E, :A, :G, :A, :C, :A, :G, :A, :E, :G].ring | |
#_notes = [:C, :D, :E, :A, :G, :E, :C, :A, :G, :A, :E, :G].ring # like this | |
_notes = [:C, :B, :E, :G, :B, :C, :B, :A, :G, :A, :E, :G].ring # like this | |
_chords = [chord(:C, :major), chord(:A, :minor), chord(:E, :major), chord(:F, :major)].ring | |
_note_i = 0 | |
_chord_i = 0 | |
with_fx :reverb do | |
use_synth :fm | |
16.times do | |
play _chords[_chord_i], amp: 0.3, release: 0.6 | |
sleep 0.25 | |
#sleep 0.5 | |
end | |
end | |
in_thread do | |
loop do | |
with_fx :reverb do | |
use_synth :pulse | |
play _notes[_note_i], amp: 0.3, release: 0.5 | |
sleep 0.5 | |
#sleep 0.25 | |
_note_i += 1 | |
end | |
end | |
end | |
# :elec_snare ~ | |
# :elec_lo_snare ~ | |
# :elec_mid_snare 2 x ~ soft | |
# :elec_soft_kick | |
in_thread do | |
loop do | |
sleep 3.8 | |
sample :bd_boom , amp: 3 | |
sleep 0.2 | |
sample :bd_boom, amp: 3 | |
end | |
end | |
in_thread do | |
loop do | |
with_fx :reverb do | |
use_synth :fm | |
4.times do | |
play _chords[_chord_i], amp: 0.3, release: 0.6 | |
sleep 0.25 | |
#sleep 0.5 | |
end | |
end | |
end | |
end | |
loop do | |
with_fx :reverb do | |
use_synth :pluck # :pluck | |
1.times do | |
play _chords[_chord_i], amp: 1, release: 1.5 | |
sleep 1 | |
#sleep 0.5 | |
end | |
_chord_i +=1 | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment