remove log from demo song

This commit is contained in:
2023-09-02 21:51:59 +02:00
parent 2a76fc7eea
commit a0a6717018

View File

@ -1,5 +1,5 @@
export const examples = [ export const examples = [
` `
// Race day - Bubobubobubo // Race day - Bubobubobubo
bpm(125); bpm(125);
mod(.5) :: sound('STB6') mod(.5) :: sound('STB6')
@ -10,7 +10,7 @@ rhythm(div(2) ? .5 : .25, 7, 8) :: sound('click')
.vel(0.1 + utriangle(.25)).n(irand(1,5)).out() .vel(0.1 + utriangle(.25)).n(irand(1,5)).out()
rhythm(.5, 2, 8) :: sound('snare').out() rhythm(.5, 2, 8) :: sound('snare').out()
`, `,
` `
// Structure et approximation - Bubobubobubo // Structure et approximation - Bubobubobubo
mod(.25) :: sound('zzfx').zzfx( mod(.25) :: sound('zzfx').zzfx(
// Randomized chaos :) // Randomized chaos :)
@ -28,7 +28,7 @@ rhythm(toss() ? .25 : .5, div(2) ? 3 : 5, 12) :: sound(
rhythm(div(2) ? .5 : .25, div(4) ? 8 : 11, 12) :: sound('hat') rhythm(div(2) ? .5 : .25, div(4) ? 8 : 11, 12) :: sound('hat')
.orbit(3).room(0.5).size(0.5).n(0).out() .orbit(3).room(0.5).size(0.5).n(0).out()
`, `,
` `
// Part-Dieu - Bubobubobubo // Part-Dieu - Bubobubobubo
bpm(90); bpm(90);
mod(rarely(12) ? .5 : .25) :: sound('ST22') mod(rarely(12) ? .5 : .25) :: sound('ST22')
@ -47,7 +47,7 @@ mod(4) :: snd('snare').n(5)
.delay(0.5).delayt(bpm() / 60 / 8) .delay(0.5).delayt(bpm() / 60 / 8)
.delayfb(0.25).out() .delayfb(0.25).out()
`, `,
` `
// Atarism - Bubobubobubo // Atarism - Bubobubobubo
bpm(85); bpm(85);
let modifier = [.5, 1, 2].div(8); let modifier = [.5, 1, 2].div(8);
@ -62,7 +62,7 @@ rhythm(.25, 3, 8, 1) :: sound('STA9')
rhythm(othermod, 5, 8) :: sound('dr').n([0,1,2].beat()).out() rhythm(othermod, 5, 8) :: sound('dr').n([0,1,2].beat()).out()
mod(1) :: sound('kick').vel(1).out() mod(1) :: sound('kick').vel(1).out()
`, `,
` `
// Ancient rhythms - Bubobubobubo // Ancient rhythms - Bubobubobubo
mod(1)::snd('kick').out(); mod(1)::snd('kick').out();
mod(2)::snd('sd').room(0.9).size(0.9).out(); mod(2)::snd('sd').room(0.9).size(0.9).out();
@ -77,9 +77,8 @@ mod(1/4)::snd(divseq(1, 'sawtooth', 'triangle', 'pulse'))
.delay(0.5).delaytime(0.25) .delay(0.5).delaytime(0.25)
.delayfb(0.6) .delayfb(0.6)
.sustain(0.01 + usine(.25) / 10).out() .sustain(0.01 + usine(.25) / 10).out()
mod(4)::snd('amencutup').n($(19)).cut(1).orbit(2).pan(rand(0.0,1.0)).out() mod(4)::snd('amencutup').n($(19)).cut(1).orbit(2).pan(rand(0.0,1.0)).out()`,
log(bar(), beat(), pulse())`, `
`
// Crazy arpeggios - Bubobubobubo // Crazy arpeggios - Bubobubobubo
bpm(110) bpm(110)
mod(0.125) && sound('sawtooth') mod(0.125) && sound('sawtooth')
@ -92,7 +91,8 @@ mod(0.125) && sound('sawtooth')
mod(1) && snd('kick').out(); mod(1) && snd('kick').out();
mod(2) && snd('snare').out(); mod(2) && snd('snare').out();
mod(.5) && snd('hat').out(); mod(.5) && snd('hat').out();
`, ` `,
`
// Obscure Shenanigans - Bubobubobubo // Obscure Shenanigans - Bubobubobubo
mod([1/4,1/8,1/16].div(8)):: sound('sine') mod([1/4,1/8,1/16].div(8)):: sound('sine')
.freq([100,50].div(16) + 50 * ($(1)%10)) .freq([100,50].div(16) + 50 * ($(1)%10))
@ -102,7 +102,8 @@ mod(1) :: sound('kick').out()
mod(2) :: sound('dr').n(5).out() mod(2) :: sound('dr').n(5).out()
div(3) :: mod([.25,.5].div(.5)) :: sound('dr') div(3) :: mod([.25,.5].div(.5)) :: sound('dr')
.n([8,9].pick()).gain([.8,.5,.25,.1,.0].div(.25)).out() .n([8,9].pick()).gain([.8,.5,.25,.1,.0].div(.25)).out()
`, ` `,
`
// Resonance bliss - Bubobubobubo // Resonance bliss - Bubobubobubo
mod(.25)::snd('arpy') mod(.25)::snd('arpy')
.note(30 + [0,3,7,10].beat()) .note(30 + [0,3,7,10].beat())
@ -114,5 +115,5 @@ mod([.25,.125].div(2))::snd('arpy')
.end(0.8).room(0.9).size(0.9).n(3).out(); .end(0.8).room(0.9).size(0.9).n(3).out();
mod(.5) :: snd('arpy').note( mod(.5) :: snd('arpy').note(
[30, 33, 35].repeatAll(4).div(1) - [12,0].div(0.5)).out() [30, 33, 35].repeatAll(4).div(1) - [12,0].div(0.5)).out()
` `,
] ];