# 231210 2242 jux rev in Sonic Pi with define YT
# Saved 231210 2242
# https://youtu.be/6Q3JQ5TyXZA
# https://userbase.tidalcycles.org/jux/en.html
# https://in-thread.sonic-pi.net/t/jux-rev-in-sonic-pi-with-define-yt/8431
set_volume! 4
use_bpm 200
define :jux_rev do
/jux_rev/
s = spread(5,7)
s = spread(5,12)
#s = spread(7,12)
# Kicks
# 1 short deep
# 6 loud treble kick
# 7 deep legato
# 11 deep short
# 13 deep short with high short
nr = 1
nr = [1,7].choose # short + deep legato
nr = [1,6,7,11,13].choose
p = 1
#p = 0.5
#p = rdist(1)
sample 'bd', nr, pan: -p if s.look
sample 'bd', nr, pan: p if s.reverse.look
end
live_loop :a1 do
tick
jux_rev
sleep 0.5
end
2 Likes
Version 2 with piano in jux rev
# 231210 2324 jux rev version 2 with piano in Sonic Pi with define YT
# Saved 231210 2324
# Version 1 drum https://youtu.be/6Q3JQ5TyXZA
# Version 2 drum + piano https://youtu.be/tmFHsjX9ga0
# https://in-thread.sonic-pi.net/t/jux-rev-in-sonic-pi-with-define-yt/8431
# https://userbase.tidalcycles.org/jux/en.html
set_volume! 2
use_bpm 200
define :jux_rev do #drums
/jux_rev drum /
s = spread(5,7)
s = spread(5,12)
#s = spread(7,12)
# Kicks
# 1 short deep
# 6 loud treble kick
# 7 deep legato
# 11 deep short
# 13 deep short with high short
nr = 1
nr = [1,7].choose # short + deep legato
nr = [1,6,7,11,13].choose
p = 1
#p = 0.5
#p = rdist(1)
sample 'bd', nr, pan: -p if s.look
sample 'bd', nr, pan: p if s.reverse.look
end
define :jux_rev2 do
/jux_rev2 piano /
s = spread(5,7)
s = spread(5,12)
s = spread(7,12)
# Kicks
# 1 short deep
# 6 loud treble kick
# 7 deep legato
# 11 deep short
# 13 deep short with high short
pattern = knit(1,16*2, 2,16*2, 3,16*4).tick
#pattern = 1
case pattern
when 0
when 1
nr = 1
when 2
nr = [1,7].choose # short + deep legato
when 3
nr = [1,6,7,11,13].choose
end
p = 1
p = 0.5
p = rdist(1)
root = :c2
play root+nr, pan: -p if s.look
play root+12+nr, pan: p if s.reverse.look
end
with_fx :reverb, room: 0.4 do
live_loop :a1 do
tick
use_synth :piano
use_synth_defaults cutoff: 130
puts k = 16
mixer = 3
puts mixer = knit(1,k,2,k,3,k*4).look
case mixer
when 0
when 1
jux_rev # drums
# jux_rev2 #piano
when 2
# jux_rev # drums
jux_rev2 #piano
when 3
jux_rev # drums
jux_rev2 #piano
end
sleep 0.5
end
end
2 Likes