Optimizations

This commit is contained in:
Aria
2025-11-23 22:28:10 -06:00
parent 68840de188
commit df047fd48d
3 changed files with 24 additions and 8 deletions
+13 -1
View File
@@ -2585,4 +2585,16 @@ export const scrub = register(
false,
);
export const { transient } = registerControl(['transient', 'transsustain', 'transattack']);
/**
* Transient shaper. Gives independent control over the emphasis on transients
* and sustains
*
* @name transient
* @param {number | Pattern} attack Emphasis on transients; between -1 (deaccentuate) and 1 (accentuate)
* @param {number | Pattern} sustain Emphasis on the sustains; between -1 (deaccentuate) and 1 (accentuate)
* @example
* s("bd").transient("<-1 -0.5 0 0.5 1>")
* @example
* s("hh*16").bank("tr909").transient("<-1:1 1:-1>")
*/
export const { transient } = registerControl(['transient', 'transsustain']);