rename zzfx noise to znoise

This commit is contained in:
Felix Roos 2023-10-03 12:41:57 +02:00
parent 047129223e
commit 376cf09565
2 changed files with 12 additions and 3 deletions

View File

@ -655,6 +655,15 @@ const generic_params = [
* .vib("<.5 1 2 4 8 16>:12") * .vib("<.5 1 2 4 8 16>:12")
*/ */
[['vib', 'vibmod'], 'vibrato', 'v'], [['vib', 'vibmod'], 'vibrato', 'v'],
/**
* Adds pink noise to the mix
*
* @name noise
* @param {number | Pattern} wet wet amount
* @example
* sound("<white pink brown>/2")
*/
['noise'],
/** /**
* Sets the vibrato depth in semitones. Only has an effect if `vibrato` | `vib` | `v` is is also set * Sets the vibrato depth in semitones. Only has an effect if `vibrato` | `vib` | `v` is is also set
* *
@ -1153,7 +1162,7 @@ const generic_params = [
['pitchJump'], ['pitchJump'],
['pitchJumpTime'], ['pitchJumpTime'],
['lfo', 'repeatTime'], ['lfo', 'repeatTime'],
['noise'], ['znoise'], // noise on the frequency or as bubo calls it "frequency fog" :)
['zmod'], ['zmod'],
['zcrush'], // like crush but scaled differently ['zcrush'], // like crush but scaled differently
['zdelay'], ['zdelay'],

View File

@ -20,7 +20,7 @@ export const getZZFX = (value, t) => {
pitchJump = 0, pitchJump = 0,
pitchJumpTime = 0, pitchJumpTime = 0,
lfo = 0, lfo = 0,
noise = 0, znoise = 0,
zmod = 0, zmod = 0,
zcrush = 0, zcrush = 0,
zdelay = 0, zdelay = 0,
@ -54,7 +54,7 @@ export const getZZFX = (value, t) => {
pitchJump, pitchJump,
pitchJumpTime, pitchJumpTime,
lfo, lfo,
noise, znoise,
zmod, zmod,
zcrush, zcrush,
zdelay, zdelay,