setcpm(90/4)
samples({
bd: 'bd/BT0AADA.wav',
hh: 'hh27/000_hh27closedhh.wav',
sd: ['sd/rytm-01-classic.wav', 'sd/rytm-00-hard.wav'],
}, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');
// INTRO: zurückhaltend
const intro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*8").gain(0.55),
note("a2 ~ ~ ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// PART 1: Grundbeat
const part1 = stack(
s("bd ~ bd ~ bd ~ bd ~").gain(1),
s("~ sd:0 ~ sd:1 ~ sd:0 ~ sd:1").gain(0.9),
s("hh*8").gain(0.55),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth").lpf(800).gain(0.65)
);
// BRIDGE: etwas mehr Spannung
const bridge = stack(
// Bassdrum
s("bd ~ bd ~ bd ~ bd bd").gain(1),
// Snare: normaler Beat, dann kurzes Fill
s("~ sd:0 ~ sd:1 ~ sd:0 sd:1 sd:0")
.gain(0.95),
// schneller Roll
// s("~ sd:0 ~ sd:1 sd:0*4").gain(0.95),
// Hi-Hat
s("hh*8").gain(0.6),
// Bass: baut Spannung auf
note("f2 f2 f2 f2 g2 g2 g2 g2")
.sound("sawtooth")
.lpf(1000)
.gain(0.7)
)
// PART 2: kräftigerer Abschnitt
const part2 = stack(
s("bd*4").gain(1),
s("~ sd:0 ~ sd:1 ~ sd:0 ~ sd:1").gain(1),
s("hh*16").gain(0.55),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth").lpf(1200).gain(0.75)
);
// OUTRO: wieder ausdünnen
const outro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*4").gain(0.5),
note("a2 ~ c3 ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// SONG-ABLAUF
arrange(
[2, intro],
[4, part1],
[2, bridge],
[4, part1],
[2, bridge],
[4, part2],
[2, bridge],
[2, outro]
)
Arpegiator Test
note("a2 c3 e3 c3")
.sound("sawtooth") // square | sine | triangle | sawtooth
.decay(0.2) // Wie schnell fällt der Pegel nach dem Anschlag auf das Sustain-Niveau?
.sustain(0.2) // Auf welchem Pegel bleibt der Klang, solange die Note gehalten wird? 0 - 1
.gain(.5) // Lautstärkefaktor .1 bis .65
.fast(3) // Geschwindigkeit
.lpf(500) // Low-Pass Filter, also Tiefpassfilter 200-500 (dumpf) 800-1500 (warm) 2000–4000 (bissig)
Version 2: Mehr Dynamik, Basslauf mit zwitschern
setcpm(90/4)
samples({
amen1: 'breaks157/000_PLEAD.WAV',
amen2: 'breaks152/000_AMEN.WAV',
amen3: 'breaks125/015_sdstckbr.wav',
amen: 'sheffield/jakeinsects.wav',
bd: 'bd/BT0AADA.wav',
hh: 'hh27/000_hh27closedhh.wav',
sd: ['sd/rytm-01-classic.wav', 'sd/rytm-00-hard.wav'],
}, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');
// INTRO: zur ckhaltend
const intro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*8").gain(0.55),
note("a2 ~ ~ ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// PART 1: Grundbeat
const part1 = stack(
s("drumulator_bd ~ drumulator_bd ~ drumulator_bd ~ drumulator_bd ~")
.gain("<1 0.84 0.95 0.88>")
.lpf(5200)
.shape(0.04),
s("~ drumulator_sd ~ sd:0 ~ drumulator_sd ~ sd:0")
.gain("<0.86 0.7 0.92 0.74>")
.lpf(7200)
.room(0.1)
.late(0.01),
s("hh*8")
.gain("<0.5 0.28 0.42 0.24 0.46 0.3 0.39 0.22>")
.lpf(6500)
.hpf(2500)
.room(0.06)
.late(0.006)
.pan("<0.49 0.52 0.48 0.53>"),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth")
.lpf(sine.range(250, 2200).slow(1))
.lpq(12)
.gain(sine.range(0.25, 0.8).slow(2))
);
// BRIDGE: etwas mehr Spannung
const bridge = stack(
// Bassdrum
s("bd ~ bd ~ bd ~ bd bd").gain(1),
// Snare: normaler Beat, dann kurzes Fill
s("~ sd:0 ~ sd:1 ~ sd:0 sd:1 sd:0")
.gain(0.95),
// schneller Roll
// s("~ sd:0 ~ sd:1 sd:0*4").gain(0.95),
// Hi-Hat
s("hh*8").gain(0.6),
// Bass: baut Spannung auf
note("f2 f2 f2 f2 g2 g2 g2 g2")
.sound("sawtooth")
.lpf(1000)
.gain(0.7)
)
// PART 2: kr ftigerer Abschnitt
const part2 = stack(
s("bd*4").gain(1),
s("~ sd:0 ~ sd:1 ~ sd:0 ~ sd:1").gain(1),
s("hh*16").gain(0.55),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth").lpf(1200).gain(0.75)
);
// OUTRO: wieder ausd nnen
const outro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*4").gain(0.5),
note("a2 ~ c3 ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// SONG-ABLAUF
arrange(
[2, intro],
[4, part1],
[2, bridge],
[4, part1],
[2, bridge],
[4, part2],
[2, bridge],
[2, outro]
)
Version 3
// 11.10.2026 - the15minutewar ... Version 3
setcpm(90/4)
samples({
amen1: 'breaks157/000_PLEAD.WAV',
amen2: 'breaks152/000_AMEN.WAV',
amen3: 'breaks125/015_sdstckbr.wav',
amen: 'sheffield/jakeinsects.wav',
bd: 'bd/BT0AADA.wav',
hh: 'hh27/000_hh27closedhh.wav',
sd: ['sd/rytm-01-classic.wav', 'sd/rytm-00-hard.wav'],
}, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');
const bassline = note("a3 a3 a3 a3 e3 e3 e3 e3")
.sound("sawtooth")
.lpf(500)
.shape(0.2)
.decay(0.15)
.sustain(0.5)
.gain(0.5)
.fast(2);
// INTRO: zur ckhaltend
const intro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*8").gain(0.55),
note("a2 ~ ~ ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65),
bassline
);
// PART 1: Grundbeat
const part1 = stack(
s("drumulator_bd ~ drumulator_bd ~ drumulator_bd ~ drumulator_bd ~")
.gain("<1 0.84 0.95 0.88>")
.lpf(5200)
.shape(0.04),
s("~ drumulator_sd ~ sd:0 ~ drumulator_sd ~ sd:0")
.gain("<0.86 0.7 0.92 0.74>")
.lpf(7200)
.room(0.1)
.late(0.01),
s("hh*8")
.gain("<0.5 0.28 0.42 0.24 0.46 0.3 0.39 0.22>")
.lpf(6500)
.hpf(2500)
.room(0.06)
.late(0.006)
.pan("<0.49 0.52 0.48 0.53>"),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth")
.lpf(sine.range(250, 2200).slow(1))
.lpq(12)
.gain(sine.range(0.25, 0.8).slow(2)),
// .scope(),
bassline
);
// PART 1: Grundbeat
const part1v = stack(
s("drumulator_bd ~ drumulator_bd ~ drumulator_bd ~ drumulator_bd ~")
.gain("<1 0.84 0.95 0.88>")
.lpf(5200)
.shape(0.04),
s("~ drumulator_sd ~ sd:0 ~ drumulator_sd ~ sd:0")
.gain("<0.86 0.7 0.92 0.74>")
.lpf(7200)
.room(0.1)
.late(0.01),
s("hh*8")
.gain("<0.5 0.28 0.42 0.24 0.46 0.3 0.39 0.22>")
.lpf(6500)
.hpf(2500)
.room(0.06)
.late(0.006)
.pan("<0.49 0.52 0.48 0.53>"),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth")
.lpf(sine.range(250, 2200).slow(1))
.lpq(12)
.lpf(500)
.gain(sine.range(0.25, 0.8).slow(2))
);
const bridgePush = stack(
s("drumulator_bd*16").gain(0.9),
s("~ sd:0 ~ sd:1").gain(0.9),
s("hh*8").gain(0.45)
);
const sbridge = stack(
s("drumulator_bd*8").gain(0.9),
s("sd:0*32").gain(0.9),
s("hh*32").gain(0.45)
);
// BRIDGE: erst antreiben, dann Double-Bass-Schub
const bridge = stack(
s("drumulator_bd*8").gain(0.9),
s("~ sd:0 ~ sd:0").gain(0.9),
s("hh*8").gain(0.45)
);
// PART 2: kr ftigerer Abschnitt
const part2 = stack(
s("bd*4").gain(1),
s("~ sd:0 ~ sd:1 ~ sd:0 ~ sd:1").gain(1),
s("hh*16").gain(0.55),
note("a2 a2 a2 a2 c3 c3 e3 e3 g2 g2 g2 g2 e2 e2 g2 g2")
.sound("sawtooth").lpf(1200).gain(0.75)
);
// OUTRO: wieder ausd nnen
const outro = stack(
s("bd ~ ~ ~ bd ~ ~ ~").gain(1),
s("~ ~ ~ ~ sd:0 ~ ~ ~").gain(0.9),
s("hh*4").gain(0.5),
note("a2 ~ c3 ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// INTRO: zur ckhaltend
const toutro = stack(
note("a2 ~ ~ ~ a2 ~ ~ ~")
.sound("sawtooth").lpf(800).gain(0.65)
);
// SONG-ABLAUF
arrange(
[2, intro],
[4, part1],
[1, bridgePush],
[0.5, sbridge],
[4, bridge],
[4, part1v],
[1, bridgePush],
[0.5, sbridge],
[4, bridge],
[0.5, sbridge],
[4, part2],
[0.5, sbridge],
//[2, bridge],
[1, toutro]
)