add comments to tune

This commit is contained in:
Felix Roos 2022-06-18 18:29:58 +02:00
parent c3a3a68054
commit 9eb3266891
2 changed files with 33 additions and 22 deletions

View file

@ -868,30 +868,41 @@ export const bornagain = `stack(
export const meltingsubmarine = `samples({ export const meltingsubmarine = `samples({
clubkick: 'clubkick/2.wav', clubkick: 'clubkick/2.wav',
sd: ['808sd/SD0010.WAV','808sd/SD0050.WAV'], sd: '808sd/SD0010.WAV',
hh: 'hh/000_hh3closedhh.wav', hh: 'hh/000_hh3closedhh.wav',
clak: 'clak/000_clak1.wav',
jvbass: ['jvbass/000_01.wav','jvbass/001_02.wav','jvbass/003_04.wav','jvbass/004_05.wav','jvbass/005_06.wav']
}, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/'); }, 'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/');
stack( stack(
"<clubkick*2>,[~ <sd!3 sd(3,4,2)>],hh(3,4)".s().n("<0 1 2>").speed(perlin.range(.7,.9)), s("<clubkick*2>,[~ <sd!3 sd(3,4,2)>],hh(3,4)") // drums
"<a1 b1*2 a1(3,8) e2>" .speed(perlin.range(.7,.9)) // random sample speed variation
.off(1/8,x=>x.add(12).degradeBy(.5)) //.hush()
.add(perlin.range(0,.5)) ,"<a1 b1*2 a1(3,8) e2>" // bassline
.n().decay(.15).sustain(0).s("sawtooth") .off(1/8,x=>x.add(12).degradeBy(.5)) // random octave jumps
.superimpose(x=>x.add(.08)).gain(.4) .add(perlin.range(0,.5)) // random pitch variation
.cutoff(sine.slow(7).range(300,5000)), .superimpose(add(.05)) // add second, slightly detuned voice
"<Am7!3 <Em7 E7b13 Em7 Ebm7b5>>".voicings().superimpose(x=>x.add(.04)) .n() // wrap in "n"
.add(perlin.range(0,.5)) .decay(.15).sustain(0) // make each note of equal length
.n().s('sawtooth') .s('sawtooth') // waveform
.gain(.16) .gain(.4) // turn down
.cutoff(500) .cutoff(sine.slow(7).range(300,5000)) // automate cutoff
.attack(1), //.hush()
"a4 c5 <e6 a6>".struct("x(5,8)") ,"<Am7!3 <Em7 E7b13 Em7 Ebm7b5>>".voicings() // chords
.superimpose(x=>x.add(.04)) .superimpose(x=>x.add(.04)) // add second, slightly detuned voice
.add(perlin.range(0,.5)).n() .add(perlin.range(0,.5)) // random pitch variation
.decay(.1).sustain(0).s('triangle') .n() // wrap in "n"
.degradeBy(perlin.range(0,.5)).echoWith(4,.125,(x,n)=>x.gain(.15*1/(n+1))) .s('sawtooth') // waveform
.gain(.16) // turn down
.cutoff(500) // fixed cutoff
.attack(1) // slowly fade in
//.hush()
,"a4 c5 <e6 a6>".struct("x(5,8)")
.superimpose(x=>x.add(.04)) // add second, slightly detuned voice
.add(perlin.range(0,.5)) // random pitch variation
.n() // wrap in "n"
.decay(.1).sustain(0) // make notes short
.s('triangle') // waveform
.degradeBy(perlin.range(0,.5)) // randomly controlled random removal :)
.echoWith(4,.125,(x,n)=>x.gain(.15*1/(n+1))) // echo notes
//.hush()
) )
.out() .out()
.slow(3/2)`; .slow(3/2)`;

File diff suppressed because one or more lines are too long