Skip to content

Instantly share code, notes, and snippets.

@RH2
Created January 9, 2026 09:29
Show Gist options
  • Select an option

  • Save RH2/7d3414915df7a294c8469cdfcd144e0d to your computer and use it in GitHub Desktop.

Select an option

Save RH2/7d3414915df7a294c8469cdfcd144e0d to your computer and use it in GitHub Desktop.
thursday 2am strudel.cc
// @title ff chords
// @by mestela
// @DNB remix by Switch Angel
// define chords like Cm11/F as Cm11:F
let chart = "< D13:D1 Am9:A1 E9sus:E1 G2:B1 >"
$drums: stack(
// s("sequentialcircuitstom_bd:1").beat("0,7?,10",8).duck("3:4:5"),
s("yamahatg33_bd:1").beat("1",2),
// s("rolandd70_sd:2").beat("2?",2),
// s("akaixr10_cp:2").beat("2 ",2),
// s("hh:4").beat("0,7?,10",2),
s("dr55_hh:1").beat("1,2,3,4",4).gain("<[0.1 0.3 0.6 1] [1 .1 1 .1 ] [.1 .1 .1 .1]>"),
)
.cpm(80)
.room(0.1)
.distort(0)
// let chords = chord(`<[C A B D E]>`)
let chords = chord(`<[C]>`)
///////////////////////////////////////////////////////////
// $: n("<d@5 C@1 a@1 b@1 >"
// .pickRestart({
// a: "[1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] 1 2 3 4 5 6 7 8 9 ".color("#aa11ff").lpf("<400 800>*8"),
// b: "[-1,2,3,-6,7] [1,-2,3,8,-10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] [1,2,3,6,7] [1,2,3,8,10] [1,2,5,6,9] 1 2 3 4 5 6 7 8 9".color("#dd228d").lpf(800),
// c: "[1 2 [ -3 -6 -9 ]] [1,6] [1,9] [3 6 7] [1,10] 1 2 [3 3 3 4 5] 4 5 6 7 8 9 ".color("#c3668d").lpf(600),
// d: "[1 [-6,2,6] [ -3 -6 -9 ]] [1,6] [1,9] [3 6 7] [1,10] 1 2 [3 -3 -12 4 5] 5 7 9 ".color("#ee448d").lpf(1200)
// })
// )
// // .add("<0>")
// .set(chords)
// .voicing()
// .decay(5)
// // .delay(.5)
// .distort(1)
// //.gain("0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 ")
// //.gain(.2)
// .s("steinway")
// .room(.8)
// .cpm(10)
// // .lpf(sine.segment(2).range(0,1000))
// .color("white")
// ._pianoroll()
$: n("<a@1 b@1 c@1 d@1 >"
.pickRestart({
a: "1 2 3 4 [5 6 7] 7 8 9 ".color("#aa11ff").lpf("<400 800>*8"),
b: "1 2 3 [2 3 4 5] 7 8 9".color("#dd228d").lpf(800),
c: "1 2 3 4 7 [2 4 6] 9".color("#dd228d").lpf(800),
d: "1 [-1 2] 3 4 [7 9] 8".color("#dd228d").lpf(800)
})
)
// .add("<0>")
.set(chords)
.voicing()
.decay(5)
// .delay(.5)
.distort(0)
//.gain("0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 ")
.gain(0.5)
.s("steinway")
.room(.8)
.cpm(20)
// .lpf(sine.segment(2).range(0,1000))
.color("white")
._pianoroll()
$: n("<a@2 c@1 b@1 d@1 >"
.pickRestart({
a: "1 2 2 3 3 4 ".color("#aa11ff").lpf("<400 800>*8"),
b: "1 2 3 ".color("#dd228d").lpf(800),
c: "1 2 3 4 7 ".color("#dd228d").lpf(800),
d: "-4 -6 -5".color("#dd228d").lpf(800)
})
)
.set(chords)
.sub("<8 9 10>")
.voicing()
.decay(10)
//.delay(.9)
.distort(0)
//.gain("0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 ")
.gain(1.6)
.s("gm_electric_guitar_jazz")
.room(3)
.cpm(81)
.lpf(sine.segment(2).range(0,1000))
.color("white")
._pianoroll()
$: n("<b@1 a@2 c@1 b@1 d@1 >"
.pickRestart({
a: "1 2 3 4 ".sub(10).color("#aa11ff").lpf("<400 800>*8"),
b: "1,-6,7,8 2 3 4 ".sub(8).color("#dd228d").lpf(800),
c: "1 2 3 4 7 ".sub(8).color("#dd228d").lpf(800),
d: "-4 -6 -5".sub(8).color("#dd228d").lpf(800)
})
)
.sub("<15>")
.set(chords)
.voicing()
.decay(10)
//.delay(.9)
.distort(3)
//.gain("0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 0.2 0.5 ")
.gain(0.5)
.s("gm_electric_guitar_jazz")
.room(3)
.cpm(11)
.lpf(sine.segment(2).range(0,1000))
.color("white")
._pianoroll()
// $: n("<a@1 b@1 >"
// .pickRestart({
// a: "[1,2,3]*4 [1 4,7]*2 -1 ".color("#aa11ff").lpf("<400 800>*8"),
// b: "[1 2 3]*2 [1,4,7]*2 [6 3 2 1] ".color("#dd228d").lpf(800),
// c: "[[-1,2,8] 8!2 9 10*4 11 12 13 14 [-6,0,12]]/2".color("#c3668d").lpf(600),
// d: "1 3 1".color("#ee448d").lpf(1200)
// })
// )
// .add("<0 6 1 1 2 3 4 8>")
// .set(chords)
// .voicing()
// .decay(1.1)
// // .delay(.3)
// .distort(2)
// // .gain("0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8")
// .gain(.2)
// .s("gm_contrabass")
// .room(0.9)
// // .lpf(sine.segment(2).range(0,1000))
// ._pianoroll()
// $: n("<a@1 b@1 c@1 >"
// .pickRestart({
// a: "[1,2,3]*4 [1 4,7] [-3]!4 [-3]!4 [-3]!4 [-3]!4 ".color("#aa11ff").lpf("<400 800>*8"),
// b: "[1,2,3]*4 [1 2 3]*4 [1,4,7]*4 [6 3 2 1] ".color("#dd228d").lpf(800),
// c: "[1,2,3]*4 [1 2 3]*4".color("#c3668d").lpf(600),
// d: "1 3 1".color("#ee448d").lpf(1200)
// })
// )
// .sub("<3 6 3 4 5>")
// .set(chords)
// .voicing()
// .decay(1.0)
// .delay(.2)
// .distort(1)
// // .gain("0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8")
// .gain(.4)
// .s("gm_acoustic_guitar_nylon")
// .room(0.9)
// // .lpf(sine.segment(2).range(0,1000))
// ._pianoroll()
// $: n("<d@1>"
// .pickRestart({
// a: "[1 2 3]*4 [1 4,7] [-3]!4 [-3]!4 [-3]!4 [-3]!4".color("#aa11ff").lpf("<400 800>*8"),
// b: "[1,2,3]*4 [1 2 3]*4 [1,4,7]*4 [6 3 2 1] ".color("#dd228d").lpf(800),
// c: "[6 7 6]*4 [1 2 3]*4".color("#c3668d").lpf(600),
// d: "[-3]!16".color("#ee448d").lpf(1200)
// })
// )
// .sub("<3 6 3 4 5>")
// .set(chords)
// .voicing()
// .decay(1.0)
// .delay(.2)
// .distort(1)
// // .gain("0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8 0.2 0.4 0.2 0.8")
// .gain(0.1)
// .s("gm_acoustic_guitar_nylon")
// .room(0.9)
// // .lpf(sine.segment(2).range(0,1000))
// ._pianoroll()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment