tidal-playground/test.tidal
Yann Esposito (Yogsototh) b3dec4fd84
playing
2020-05-20 23:53:34 +02:00

294 lines
6 KiB
Text

setcps (132/60/4)
hush
d1 $ fast 4 (sound "bd")
# freq 250
# overgain 0.4
# room 4
# orbit 0
d2 $ sound "[~ ho]*4"
# gain 0.7
# orbit 1
d3 $ sound "bd ~ ~ <~ [bd bd]>"
# shape 0.7
# crush 4
# overgain 0.7
# gain 0.5
d4 $ s "[~ arpy] [~ arpy] [~ arpy] [~ [arpy arpy]]"
# note "c2 c3 c3 [~ [f4 c3]]"
# crush 3
# room 0.9
# gain (slow 4 (((+0.5) . (/20)) (run 10)))
d5 $ up (run 12) # sound "arpy"
-- sounds
-- ======
-- # Bass
-- bass2, ht
-- clubkick
-- kicklinn
-- popkick
-- reverbkick
-- rs,sd,sn,stomp,ul,ulgab
-- # aigus
-- co, cp (clap), cr (cimbales), dr, dr2
-- hc, ho
-- # sons
-- control, cosmicg, f, fest, flick, fm, gab (gabbernation), gtr (guitare electrique)
-- hit (futuristique), hoover (techno), if, juno, off, moog, pad, padlong (introductions)
-- rave2, sine, stab
-- # templates
-- hardcore, hardkick
d1 $ fast 4 (s "bass2")
# overgain 0.4
# gain 0.7
d1 $ fast 4 (s "bass2")
# freq 320
# overgain 0.4
# gain 0.5
-- https://www.youtube.com/watch?v=54opUoqQLWQ&feature=youtu.be
let pat = [ ["a", note "c4 e4" # c 1 # sus 2]
, ["b", note "c6 [d7 f7 g5 g6]" # c 2]
]
d1 $ while "t f" (hurry 2) $ n "0 .. 7" # sound "drum"
-- https://tidalcycles.org/index.php/Basic_Patterns
d1 $ chop 16 $ sound "arpy arp feel*4 arpy*4"
d1 $ up "0 ~ 12 24" # sound "jungbass:6" # pan "0 ~ 0.5 1"
-- Effects
d1 $ sound "jvbass*4" # accelerate "<0 1 -1 0.25 -0.5 2.1 -3>"
d1 $ s "[jvbass rave]/2" # attack "<0 0.1 0.2 0.3 0.5>"
d1 $ s "bd*8" # bandf "100 1000 2000"
d1 $ s "bd*8" # bandf "100 1000 2000" # bandq "<0.5 1 2>"
d1 $ s "bd*4" # coarse "<4 8 16 24>"
d1 $ s "bd*8" # cps "<0.7 1 0.5 1.2>"
d1 $ s "bd*8" # cps (range 1 2 $ slow 4 sine)
d2 $ s "cp(3,8)"
d1 $ s "[bd cp] hh drum arpy*2" # crush "<16 4 2>"
d1 $ stack [
sound "bd",
sound "~ [~ [ho:2 hc/2]]" # cut "1"
]
d1 $ sound "[bev, [ho:3](3,8)]" # cut "-1"
d1 $ sound "bev(3,8)" # cut "[1 2 3]*2"
d1 $ s "drum*8" # cutoff "100 1000 2000"
d1 $ s "[drum cp]*2 jvbass" # delay "[0 0.5]/2" # orbit 1
d1 $ s "drum jvbass [cp arpy] jvbass:1" # delayfeedback "[0.1 0.5 0.9]/6" # delay "0.5"
d1 $ s "rave/2" # end "<0 0.25 0.5>"
d1 $ s "drum*8" # hcutoff "100 1000 2000 5000"
d1 $ s "drum*8" # hpf "1000" # hresonance "0 0.2 0.4 0.6"
d1 $ s "ho" # loop 2.2
d1 $ note "0 3 7 9" # s "midi" # midichan "5 1 0 3"
d1 $ note "0 3 7 9" # s "midi" # midicmd "noteon"
d1 $ s "midi" # midinote "21"
d1 $ s "drum*4" # n "0"
d1 $ s "drum*4" # n "1"
d1 $ s "drum*4" # n "2 3"
d1 $ s "drum*4" # n "0 1 2 3"
-- Playground
d1 $ sound "bd sd:1"
d1 $ jux rev $ n (off 0.125 (|+ 7) "<c*2 a(3,8) f(3,8,2) e*2>")
# sound "supermandolin"
# legato 2
d1 $ sound "bd*2 [~ sn:3]"
d1 $ sound "bd*2 [[~ lt] sn:3] lt:1 [ht mt*2]"
d2 $ sound "hh hh hh hh"
d3 $ sound "[bd x [[bd bd] x] x]/2"
d3 $ sound "[bd bd bd [[bd bd] bd]]"
d1 $ sound "[bd sd sd] cp"
d1 $ sound "[bd bd] [sd sd sd sd]"
d1 $ sound "[bd bd bd, sd cp sd cp]"
d1 $ sound "[bd bd bd, [sd sd] cp, arpy [arpy [arpy arpy] arpy arpy], odx]"
d1 $ sound "bd <arpy:1 arpy:2 arpy:3>"
d1 $ sound "bd*2"
d1 $ sound "bd/2"
d1 $ sound "[bd sn]*2 cp"
d1 $ sound "[bd sn] cp/2"
d1 $ sound "[bd sn sn*3]/2 [bd sn*3 bd*4]/3"
d1 $ every 4 (rev) (sound "bd*2 [bd [sn sn*2 sn] sn]")
d1 $ slow 4 $ sound "bd*2 [bd [sn sn*2 sn] sn]"
d1 $ every 4 (fast 4) $ sound "bd*2 [bd [sn sn*2 sn] sn]"
d1 $ sound "bd*4" # crush "4"
d1 $ sound "bd*4" # crush "4" # speed "3"
d1 $ sound "bd*4" # gain "1 0.8 0.5 0.7"
d1 $ sound "bd*4 sn*4" # gain "[[1 0.8]*2 [0.5 0.7]]/2"
d1 $ sound "bd*4" # (every 3 (rev) $ gain "1 0.8 0.5 0.7")
d1 $ every 2 (|> speed "2") $ sound "arpy*4" |> speed "1"
d1 $ every 2 ((|> crush "4") . (|+ speed "1")) $ sound "arpy*4" |> speed "1"
d1 $ every 3 (|- note "3") $ every 2 (|+ up "5") $ sound "bd*4" |> note "0 3 0 5" |> crush "4"
d2 $ sound "arpy*4" |> note "0 -9 1 10" |> crush "6"
d3 $ sound "cp(3,8)"
# cps (slow 8 $ range 0.8 1.6 saw)
d3 $ sound "drum*4"
# n "1 2 3 4"
-- # up (every 2 (rev) $ run 16)
d3 $ sound "bd sn drum arpy" # pan "0 1 0.25 0.75"
d3 $ sound "bd bd ~ bd"
d1 $ sound "bd?*16"
d1 $ sometimesBy 0.75 (# crush 4) $ sound "bd arpy sn ~"
d1 $ jux (# accelerate "-0.1") $ s "supermandolin*8" # midinote "[80!6 78]/8"
# sustain "1 0.25 2 1"
-- Test
-- https://tidalcycles.org/index.php/Manipulating_samples
d1 $ chop 32 $ sound "bev"
d1 $ slow 2 $ sound "bd bd bd [bd bd ~ ~]"
xfade 2 $ sound "wobble*4"
xfade 2 $ sound "bd*4"
xfade 2 $ sound "metal*4"
-- Chiptune-like
-- https://www.youtube.com/watch?v=MbCNdB3hfpc&feature=youtu.be
import qualified Sound.Tidal.Chords as Chords
let mute = const silence
do
let arp = "[0 0 2 4]*2"
pat = "<0 2 5 4>"
oct = -2
d1 $ fast 2 $ stack [
n (toScale Chords.aug (arp + pat)) # s "superchip" # release 0.075,
mute $ n ("0*8" + (slow 4 pat) - 14) # s "superchip" # release 0.3 # cut 2
] # orbit 1 # room 0.1 # size 0.93 # gain 0.9
d2 $ fast 2 $ stack [
mute $ "bd:10(3,8)",
s "~ sn" # n 3,
s "[~ cp:1]*2"
] # orbit 2 # room 0.05 # size 0.2
hush
import qualified Sound.Tidal.Chords as Chords
do
let arp = "[0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1]*2"
arp2 = "[7 0 2 4]*2"
pat = "<0 2 5 4>"
oct = -2
d1 $ stack [
n (toScale Chords.minor (arp + pat)) # s "superchip" # release 0.05,
n (toScale Chords.minor (arp2 + pat - 4)) # s "superchip" # release 0.8,
n ("0*8" + (slow 2 pat) - 14) # s "superchip" # release 0.3 # cut 2
] # orbit 1 # room 0.1 # size 0.93
d2 $ s "clubkick*4"
# room 0.5
d3 $ "[~ co:2]*4"
solo 1
unsolo 1
do
setcps (160/60/4)
d1 $
s "[bd:1(3,8?) , [~ cp]*4? , hh*16?]"
d1 $ stut' 3 (1/12) (|+ note "<5 7>") $ s "superpiano"
d1 $ slow 2 $ n (scale "bhairav" "0 .. 7") # "superpiano"
d1 $ slow 2 $ n (scale "minor" "0 .. 7") # "superpiano"
d1 $ slow 2 $ n (scale "major" "0 .. 7") # "superpiano"
-- Accords
mychords = inhabit [("hola", "[0,4,2]" :: Pattern Double),
("hello", "[0,5,7,12]")
]
d1 $ n (mychords "hello hola") # s "superpiano"