Merge pull request #1107 from daslyfe/fanchor

change fanchor to 0
This commit is contained in:
Felix Roos 2024-05-31 10:25:24 +02:00 committed by GitHub
commit 2cda78d2db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 118 additions and 20 deletions

View file

@ -766,6 +766,15 @@ export const { bprelease, bpr } = registerControl('bprelease', 'bpr');
* .ftype("<ladder 12db 24db>")
*/
export const { ftype } = registerControl('ftype');
/**
* controls the center of the filter envelope. 0 is unipolar positive, .5 is bipolar, 1 is unipolar negative
* @name fanchor
* @param {number | Pattern} center 0 to 1
* @example
* note("{f g g c d a a#}%8").s("sawtooth").lpf("{1000}%2")
* .lpenv(8).fanchor("<0 .5 1>")
*/
export const { fanchor } = registerControl('fanchor');
/**
* Applies the cutoff frequency of the **h**igh-**p**ass **f**ilter.