Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0be7babc7f
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 50 lines (30 sloc) 1.273 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
d2 <- dirtstream "dirt2"
d3 <- dirtstream "dirt3"
d4 <- dirtstream "dirt4"

d <- dirtstream "dirt1"

d2 $ (Dirt.sample $ (slow $ 3%4) "bd [bd cp cp] bd [bd cp/1 cp/1]")
  ~~ pan "0.75"

d2 $ (Dirt.sample $ (slow $ 1%2) "bd [bd cp cp] bd [bd cp/1 cp/1]")
  ~~ pan "0.25"
  ~~ speed "1.2"

d silence


flat (0, 1) $ ("bd bd sn" :: Pattern String)

~~ pan "[0 1]"

2379 % 4, 595 % 1
595 % 1, 2381 % 4
2381 % 4, 1191 % 2
1191 % 2, 2383 % 4


d silence
d2 silence

d $ sample $ "[hardcore/4 hardcore/8 bd [bd bd bd] [hardcore/4 hardcore/4 hardcore/4] ~ hardcore/3 ~, bd sn/3 bd sn/4 bd sn/2]"

d2 $ Dirt.sample "bd [bd, ~ bd bd bd bd] [bd/4 bd/2 bd/2] [bd [bd bd] [bd bd]], future future/2 future [chin chin chin] future/1"
  ~~ pan "1 0 0.5"


d3 $ pan "0 1" ~~ Dirt.sample "[[[bd bd bd bd] [bd sn/3 [bd sn]] bd [sn/2 bd], bd/4 sn/4 bd sn/4, ~ [hh hh] ~ hh [hc hc] hc bd hc [hc/4 hc/2 hc/4 hc/2] hh ~ hc hc/3 hh ~ hh],]"

d2 $ Dirt.sample "[[[bd bd bd bd bd] [bd sn/3 [bd sn]] bd [sn/2 bd], bd/4 sn/4 bd sn/4, ~ [hh hc/2 hh] ~ hh [hc hc hc] hc bd hc [hc/4 hc/4 hc/2] hh ~ hc hc/3 hh ~ hh], jvbass/0 ~ ~]"
  ~~ pan sinewave1

d4 $ Dirt.sample "[bd/2 bd/2]" ~~ pan ((1-) <$> sinewave1)



d silence
d2 silence
d3 silence
d4 silence
flat (0,1%2) ("bd bd bd bd" :: Pattern String)
Something went wrong with that request. Please try again.