Last active
August 23, 2021 14:50
-
-
Save pgagnidze/fd01ddb9332c336d7e853f121538c953 to your computer and use it in GitHub Desktop.
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
# Coded by Papuna Gagnidze | |
live_loop :beat do | |
with_fx :ixi_techno, phase: 1.5 do | |
use_synth :fm | |
play :d3, attack: 0.5, amp: (ring 0.3, 0.4, 0.5).look | |
sleep 0.25 | |
end | |
end | |
live_loop :snare do | |
sync :melody | |
sample :sn_zome, cutoff: 90, rate: -0.5, release: 0.1, attack: 2, amp: 0.5 | |
sleep 5 | |
end | |
notes = (scale :d3, :aeolian) | |
live_loop :melody do | |
with_fx :echo, phase: 1.25 do | |
use_synth :beep | |
play notes.choose, amp: 1.1 | |
sleep 0.75 | |
end | |
end | |
live_loop :drum do | |
sync :beat | |
patterns = [ | |
'111-1-1', | |
'1--1--1' | |
] | |
pattern = patterns.ring[tick] | |
pattern.split('').each do |c| | |
if c != '-'then | |
sample :drum_bass_hard, amp: (ring 0.3, 0.4, 0.5).look, cutoff: 120, rate: 0.5 | |
end | |
sleep 0.125 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment