31 lines
1.2 KiB
JavaScript
31 lines
1.2 KiB
JavaScript
setcpm(140)
|
|
samples({
|
|
kick: 'Drums/Kicks/Kick Psymon.wav',
|
|
closedHat: 'Drums/closedHiHats/Ghosthack CH 4.wav',
|
|
snare: 'Drums/Snares/BK-72 - 909 ish.wav',
|
|
backbaseC: 'Bass/Phull On Bass/Phull On Bass C.wav'
|
|
}, 'https://cdn.lupinexmedia.de/samples/')
|
|
|
|
let melody = `[c3 [f3 g#3]], [e3 [c4]], [g3 [a3 d#3]]`
|
|
let lead = `[c5 d#5 f5 g5] [g5 f5 d#5 c5] [c5 f5 g5 a#5] [a#5 g5 f5 d#5]`
|
|
|
|
stack(
|
|
// Drum-layer with small bass
|
|
stack(
|
|
s("kick").velocity(.5).cutoff(rand.range(500,750)).slow(1.5).every(4, x=>x.fast(1.5)),
|
|
s("closedHat").velocity(.75).cutoff(rand.range(1000,1500)).every(2,x=>x.velocity(2)).fast(4),
|
|
s("snare").velocity(1.5).cutoff(rand.range(1500,2000)).every(8,x=>x.fast(1.5)).slow(4).late(2),
|
|
s("backbaseC").velocity(1).fast(.5).late(.5)
|
|
)._pianoroll(),
|
|
|
|
// little melodic trance with lead
|
|
stack(
|
|
note(melody).s("triangle").velocity(1.2).slow(8).cutoff(rand.range(500,1500)).phaser(1).chorus(1).lpq(4),
|
|
note(lead).s("sawtooth").fast(.25).cutoff(sine.range(500,2000)).phaser(2).lpq(10).every(4,x=>x.fast(.5)).every(6,x=>x.fast(1.5))
|
|
)._pianoroll(),
|
|
|
|
// additional orchestra
|
|
stack(
|
|
note(melody).s("gm_cello").fast(.125).velocity(.7).cutoff(1250).slow(2)
|
|
)._pianoroll()
|
|
) |