Optimizations
This commit is contained in:
parent
68840de188
commit
df047fd48d
3 changed files with 24 additions and 8 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue