diff --git a/packages/core/controls.mjs b/packages/core/controls.mjs index 79dc33ab..2e8d40f7 100644 --- a/packages/core/controls.mjs +++ b/packages/core/controls.mjs @@ -553,7 +553,7 @@ export const { cutoff, ctf, lpf, lp } = registerControl(['cutoff', 'resonance', * @example * note("c2 e2 f2 g2") * .sound('sawtooth') - * .lpf(500) + * .lpf(300) * .lpa(.5) * .lpenv("<4 2 1 0 -1 -2 -4>/4") */ @@ -592,7 +592,7 @@ export const { bpenv, bpe } = registerControl('bpenv', 'bpe'); * @example * note("c2 e2 f2 g2") * .sound('sawtooth') - * .lpf(500) + * .lpf(300) * .lpa("<.5 .25 .1 .01>/4") * .lpenv(4) */ @@ -631,9 +631,8 @@ export const { bpattack, bpa } = registerControl('bpattack', 'bpa'); * @example * note("c2 e2 f2 g2") * .sound('sawtooth') - * .lpf(500) + * .lpf(300) * .lpd("<.5 .25 .1 0>/4") - * .lps(0.2) * .lpenv(4) */ export const { lpdecay, lpd } = registerControl('lpdecay', 'lpd'); @@ -673,7 +672,7 @@ export const { bpdecay, bpd } = registerControl('bpdecay', 'bpd'); * @example * note("c2 e2 f2 g2") * .sound('sawtooth') - * .lpf(500) + * .lpf(300) * .lpd(.5) * .lps("<0 .25 .5 1>/4") * .lpenv(4) @@ -716,7 +715,7 @@ export const { bpsustain, bps } = registerControl('bpsustain', 'bps'); * note("c2 e2 f2 g2") * .sound('sawtooth') * .clip(.5) - * .lpf(500) + * .lpf(300) * .lpenv(4) * .lpr("<.5 .25 .1 0>/4") * .release(.5) diff --git a/website/src/pages/learn/effects.mdx b/website/src/pages/learn/effects.mdx index 03ef6ef3..39f52e9f 100644 --- a/website/src/pages/learn/effects.mdx +++ b/website/src/pages/learn/effects.mdx @@ -94,7 +94,7 @@ Each filter can receive an additional filter envelope controlling the cutoff val client:idle tune={`note("[c eb g ](3,8,<0 1>)".sub(12)) .s("/64") - .lpf(sine.range(500,3000).slow(16)) + .lpf(sine.range(300,2000).slow(16)) .lpa(0.005) .lpd(perlin.range(.02,.2)) .lps(perlin.range(0,.5).slow(3)) @@ -106,7 +106,7 @@ Each filter can receive an additional filter envelope controlling the cutoff val .juxBy(.5,rev) .sometimes(add(note(12))) .stack(s("bd*2").bank('RolandTR909')) - .gain(.5)`} + .gain(.5).fast(2)`} /> There is one filter envelope for each filter type and thus one set of envelope filter parameters preceded either by `lp`, `hp` or `bp`: diff --git a/website/src/pages/recipes/recipes.mdx b/website/src/pages/recipes/recipes.mdx index 057743cb..dd195443 100644 --- a/website/src/pages/recipes/recipes.mdx +++ b/website/src/pages/recipes/recipes.mdx @@ -308,7 +308,7 @@ Running through different wavetables can also give interesting variations: ...adding a filter envelope + reverb: @@ -317,6 +317,6 @@ note("c2*8").s("wt_dbass").n(run(8))`} client:visible tune={`samples('github:bubobubobubobubo/dough-waveforms') note("c2*8").s("wt_dbass").n(run(8)) -.lpf(perlin.range(200,2000).slow(8)) -.lpenv(-3).lpa(.1).room(.5)`} +.lpf(perlin.range(100,1000).slow(8)) +.lpenv(-3).lpa(.1).room(.5).fast(2)`} />