Skip to content

Instantly share code, notes, and snippets.

@chimanaco
Last active September 15, 2020 07:42
Show Gist options
  • Save chimanaco/d5aacecc3b66a9baf10250638b40a338 to your computer and use it in GitHub Desktop.
Save chimanaco/d5aacecc3b66a9baf10250638b40a338 to your computer and use it in GitHub Desktop.
TidalCycles practice

20200914

Rhythm in rhythm

d1 $ sound "bd:20 [glitch:6 [glitch:4 glitch:3]] [~ bd:20] hc"

Repeat

d1 $ sound "bd*2 [cp*2 hc*4]"
d1 $ sound "[bd [cp hc]*2]/2 [bd [hc bd]/2]*2"

Polyrhythm

d1 $ sound "[glitch:6*10, hc*5]"

Polymeter

d1 $ sound "{bd cp, bass glitch hc}"

Speed

d1
  $ slow 2.0
  $ sound "bd*10 [cp*2 hc*3]"

Reverse

d1
  $ rev
  $ sound "bd*3 [cp*2 hc*3]"

Shift

Once for four

d1
  $ every 4 (0.25 ~>)
  $ sound "bd*3 [cp*2 hc*3]"

Shift 1/4 every time

d1
  $ iter 4
  $ sound "bd*3 [cp*2 hc*3]"

Modify once in four

d1
  $ every 4 (fast 2)
  $ sound "bd*3 [cp*2 hc*3]"

repeat normally 6 times and fast last 2 times

d1
  $ whenmod 8 6 (fast 2)
  $ sound "bd*3 [cp*2 hc*3]"

Possibility

d1
  $ sometimesBy 0.2 (fast 2)
  $ sound "bd*3 [cp*2 hc*3]"

Effect

d1
  $ sound "bd*3 [cp*2 hc*3]"
  # gain "1.5 [1.0 0.8]"
  # pan "0.5 [0.1 0.9]"
  # delay "0.5"
  # delaytime "0.125"
  # delayfeedback "0.7"
  # lpf "800 8000 800 15000"
  # resonance "0.1 0.3 0.2 0.4"
  # shape "0.7"
  # vowel "u"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment