update some examples
This commit is contained in:
parent
1a72b9e526
commit
94f5886466
3 changed files with 10 additions and 11 deletions
|
|
@ -553,7 +553,7 @@ export const { cutoff, ctf, lpf, lp } = registerControl(['cutoff', 'resonance',
|
||||||
* @example
|
* @example
|
||||||
* note("c2 e2 f2 g2")
|
* note("c2 e2 f2 g2")
|
||||||
* .sound('sawtooth')
|
* .sound('sawtooth')
|
||||||
* .lpf(500)
|
* .lpf(300)
|
||||||
* .lpa(.5)
|
* .lpa(.5)
|
||||||
* .lpenv("<4 2 1 0 -1 -2 -4>/4")
|
* .lpenv("<4 2 1 0 -1 -2 -4>/4")
|
||||||
*/
|
*/
|
||||||
|
|
@ -592,7 +592,7 @@ export const { bpenv, bpe } = registerControl('bpenv', 'bpe');
|
||||||
* @example
|
* @example
|
||||||
* note("c2 e2 f2 g2")
|
* note("c2 e2 f2 g2")
|
||||||
* .sound('sawtooth')
|
* .sound('sawtooth')
|
||||||
* .lpf(500)
|
* .lpf(300)
|
||||||
* .lpa("<.5 .25 .1 .01>/4")
|
* .lpa("<.5 .25 .1 .01>/4")
|
||||||
* .lpenv(4)
|
* .lpenv(4)
|
||||||
*/
|
*/
|
||||||
|
|
@ -631,9 +631,8 @@ export const { bpattack, bpa } = registerControl('bpattack', 'bpa');
|
||||||
* @example
|
* @example
|
||||||
* note("c2 e2 f2 g2")
|
* note("c2 e2 f2 g2")
|
||||||
* .sound('sawtooth')
|
* .sound('sawtooth')
|
||||||
* .lpf(500)
|
* .lpf(300)
|
||||||
* .lpd("<.5 .25 .1 0>/4")
|
* .lpd("<.5 .25 .1 0>/4")
|
||||||
* .lps(0.2)
|
|
||||||
* .lpenv(4)
|
* .lpenv(4)
|
||||||
*/
|
*/
|
||||||
export const { lpdecay, lpd } = registerControl('lpdecay', 'lpd');
|
export const { lpdecay, lpd } = registerControl('lpdecay', 'lpd');
|
||||||
|
|
@ -673,7 +672,7 @@ export const { bpdecay, bpd } = registerControl('bpdecay', 'bpd');
|
||||||
* @example
|
* @example
|
||||||
* note("c2 e2 f2 g2")
|
* note("c2 e2 f2 g2")
|
||||||
* .sound('sawtooth')
|
* .sound('sawtooth')
|
||||||
* .lpf(500)
|
* .lpf(300)
|
||||||
* .lpd(.5)
|
* .lpd(.5)
|
||||||
* .lps("<0 .25 .5 1>/4")
|
* .lps("<0 .25 .5 1>/4")
|
||||||
* .lpenv(4)
|
* .lpenv(4)
|
||||||
|
|
@ -716,7 +715,7 @@ export const { bpsustain, bps } = registerControl('bpsustain', 'bps');
|
||||||
* note("c2 e2 f2 g2")
|
* note("c2 e2 f2 g2")
|
||||||
* .sound('sawtooth')
|
* .sound('sawtooth')
|
||||||
* .clip(.5)
|
* .clip(.5)
|
||||||
* .lpf(500)
|
* .lpf(300)
|
||||||
* .lpenv(4)
|
* .lpenv(4)
|
||||||
* .lpr("<.5 .25 .1 0>/4")
|
* .lpr("<.5 .25 .1 0>/4")
|
||||||
* .release(.5)
|
* .release(.5)
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ Each filter can receive an additional filter envelope controlling the cutoff val
|
||||||
client:idle
|
client:idle
|
||||||
tune={`note("[c eb g <f bb>](3,8,<0 1>)".sub(12))
|
tune={`note("[c eb g <f bb>](3,8,<0 1>)".sub(12))
|
||||||
.s("<sawtooth>/64")
|
.s("<sawtooth>/64")
|
||||||
.lpf(sine.range(500,3000).slow(16))
|
.lpf(sine.range(300,2000).slow(16))
|
||||||
.lpa(0.005)
|
.lpa(0.005)
|
||||||
.lpd(perlin.range(.02,.2))
|
.lpd(perlin.range(.02,.2))
|
||||||
.lps(perlin.range(0,.5).slow(3))
|
.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)
|
.juxBy(.5,rev)
|
||||||
.sometimes(add(note(12)))
|
.sometimes(add(note(12)))
|
||||||
.stack(s("bd*2").bank('RolandTR909'))
|
.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`:
|
There is one filter envelope for each filter type and thus one set of envelope filter parameters preceded either by `lp`, `hp` or `bp`:
|
||||||
|
|
|
||||||
|
|
@ -308,7 +308,7 @@ Running through different wavetables can also give interesting variations:
|
||||||
<MiniRepl
|
<MiniRepl
|
||||||
client:visible
|
client:visible
|
||||||
tune={`samples('github:bubobubobubobubo/dough-waveforms')
|
tune={`samples('github:bubobubobubobubo/dough-waveforms')
|
||||||
note("c2*8").s("wt_dbass").n(run(8))`}
|
note("c2*8").s("wt_dbass").n(run(8)).fast(2)`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
...adding a filter envelope + reverb:
|
...adding a filter envelope + reverb:
|
||||||
|
|
@ -317,6 +317,6 @@ note("c2*8").s("wt_dbass").n(run(8))`}
|
||||||
client:visible
|
client:visible
|
||||||
tune={`samples('github:bubobubobubobubo/dough-waveforms')
|
tune={`samples('github:bubobubobubobubo/dough-waveforms')
|
||||||
note("c2*8").s("wt_dbass").n(run(8))
|
note("c2*8").s("wt_dbass").n(run(8))
|
||||||
.lpf(perlin.range(200,2000).slow(8))
|
.lpf(perlin.range(100,1000).slow(8))
|
||||||
.lpenv(-3).lpa(.1).room(.5)`}
|
.lpenv(-3).lpa(.1).room(.5).fast(2)`}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue