diff options
author | mjfernez <mjfernez@gmail.com> | 2018-11-14 22:52:05 -0500 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2018-11-14 22:52:05 -0500 |
commit | de7001281ae0ee1b37d586d025adbe9a2da9423d (patch) | |
tree | 8cbb792088a213db521d8ddc65173b0a1fa70f5c /old+new | |
download | algorhythmic-de7001281ae0ee1b37d586d025adbe9a2da9423d.tar.gz |
initial commit
Diffstat (limited to 'old+new')
-rw-r--r-- | old+new/crash.wav | bin | 0 -> 302444 bytes | |||
-rw-r--r-- | old+new/old+new.txt | 187 |
2 files changed, 187 insertions, 0 deletions
diff --git a/old+new/crash.wav b/old+new/crash.wav Binary files differnew file mode 100644 index 0000000..c476b17 --- /dev/null +++ b/old+new/crash.wav diff --git a/old+new/old+new.txt b/old+new/old+new.txt new file mode 100644 index 0000000..3388b83 --- /dev/null +++ b/old+new/old+new.txt @@ -0,0 +1,187 @@ +#bps = 0.461538462 + +##120 BPM +bps = 0.5 + +#keys to switch between +key = [:E4, :Gb4] + +##mode +feel = :minor_pentatonic + +#second key (switch to make the other key go first) +root = 1 + +live_loop :beat do + vol = 0.7 + toms = [:drum_tom_hi_soft, :drum_tom_hi_hard, :drum_tom_mid_soft, :drum_tom_mid_hard, :drum_tom_lo_soft, :drum_tom_lo_hard] + + 30.times do + sample :drum_bass_soft, amp: vol + sleep bps/4 + sleep bps/4 + sample :drum_cymbal_closed, amp: vol + sleep bps/4 + sample :drum_cymbal_closed, amp: vol + sleep bps/4 + end + + sample :drum_bass_soft + 8.times do + sample choose(toms), amp: rrand(0.3, 0.9) + sleep bps/4 + end + sample "~/Desktop/algorythmic/old+new/crash.wav" +end + +live_loop :keychange do + if root == 1 + root = 0 + else + root = 1 + end + sleep bps*32 +end + +live_loop :dots do + + with_fx :echo, mix: 0.3 do + 2.times do + play scale(key[root], feel)[3], amp: 0.5, release: 0.1 + sleep bps + play scale(key[root], feel)[2], amp: 0.5, release: 0.1 + sleep bps + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps + + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[2], amp: 0.5, release: 0.1 + sleep bps/2 + play scale(key[root], feel)[3], amp: 0.5, release: 0.1 + sleep bps + sleep bps/2 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/2 + + play scale(key[root], feel)[3], amp: 0.5, release: 0.1 + sleep bps + play scale(key[root], feel)[2], amp: 0.5, release: 0.1 + sleep bps + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps + + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/4 + play scale(key[root], feel)[1], amp: 0.5, release: 0.1 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[2], amp: 0.5, release: 0.1 + sleep bps/2 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps + sleep bps/2 + sleep bps/4 + play scale(key[root], feel)[0], amp: 0.5, release: 0.1 + sleep bps/2 + end + end +end + + +live_loop :bass do + vol = 0.9 + use_synth :chipbass + with_fx :lpf, cutoff: 80 do + with_fx :ring_mod, freq: 30 do + with_octave -2 do + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + sleep bps*3/4 + + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[2], amp: vol, release: 0.2 + sleep bps/2 + play scale(key[root], feel)[3], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/2 + + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + sleep bps*3/4 + + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + sleep bps/4 + play scale(key[root], feel)[2], amp: vol, release: 0.2 + sleep bps/2 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[1], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/4 + play scale(key[root], feel)[0], amp: vol, release: 0.2 + sleep bps/2 + end + end + + end +end
\ No newline at end of file |