filter type can take in number also

This commit is contained in:
Jade (Rose) Rowland 2024-05-19 13:04:31 -04:00
parent bce24980cb
commit 84a8ca9d19
2 changed files with 10 additions and 5 deletions

View file

@ -755,7 +755,7 @@ export const { bprelease, bpr } = registerControl('bprelease', 'bpr');
/**
* Sets the filter type. The 24db filter is more aggressive. More types might be added in the future.
* @name ftype
* @param {number | Pattern} type 12db (default) or 24db
* @param {number | Pattern} type 12db (0), ladder (1), or 24db (2)
* @example
* note("c f g g a c d4").fast(2)
* .sound('sawtooth')