Some cleanup
This commit is contained in:
parent
2aeba2e53f
commit
3a17aeabf3
2 changed files with 2 additions and 13 deletions
|
|
@ -2530,15 +2530,6 @@ export const { clip, legato } = registerControl('clip', 'legato');
|
||||||
*/
|
*/
|
||||||
export const { duration, dur } = registerControl('duration', 'dur');
|
export const { duration, dur } = registerControl('duration', 'dur');
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the ID of the pattern for later reference
|
|
||||||
*
|
|
||||||
* @name id
|
|
||||||
* @param {number | Pattern} id ID of the pattern
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
export const { id } = registerControl('id');
|
|
||||||
|
|
||||||
// ZZFX
|
// ZZFX
|
||||||
export const { zrand } = registerControl('zrand');
|
export const { zrand } = registerControl('zrand');
|
||||||
export const { curve } = registerControl('curve');
|
export const { curve } = registerControl('curve');
|
||||||
|
|
|
||||||
|
|
@ -160,10 +160,8 @@ class LFOProcessor extends AudioWorkletProcessor {
|
||||||
|
|
||||||
const dcoffset = parameters['dcoffset'][0];
|
const dcoffset = parameters['dcoffset'][0];
|
||||||
|
|
||||||
const userMin = parameters['min'][0];
|
const min = parameters['min'][0];
|
||||||
const userMax = parameters['max'][0];
|
const max = parameters['max'][0];
|
||||||
const min = Math.min(userMin, userMax);
|
|
||||||
const max = Math.max(userMin, userMax);
|
|
||||||
const shape = waveShapeNames[parameters['shape'][0]];
|
const shape = waveShapeNames[parameters['shape'][0]];
|
||||||
|
|
||||||
const blockSize = output[0].length ?? 0;
|
const blockSize = output[0].length ?? 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue