mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-31 00:34:25 -04:00
Some cleanup
This commit is contained in:
@@ -2530,15 +2530,6 @@ export const { clip, legato } = registerControl('clip', 'legato');
|
||||
*/
|
||||
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
|
||||
export const { zrand } = registerControl('zrand');
|
||||
export const { curve } = registerControl('curve');
|
||||
|
||||
@@ -160,10 +160,8 @@ class LFOProcessor extends AudioWorkletProcessor {
|
||||
|
||||
const dcoffset = parameters['dcoffset'][0];
|
||||
|
||||
const userMin = parameters['min'][0];
|
||||
const userMax = parameters['max'][0];
|
||||
const min = Math.min(userMin, userMax);
|
||||
const max = Math.max(userMin, userMax);
|
||||
const min = parameters['min'][0];
|
||||
const max = parameters['max'][0];
|
||||
const shape = waveShapeNames[parameters['shape'][0]];
|
||||
|
||||
const blockSize = output[0].length ?? 0;
|
||||
|
||||
Reference in New Issue
Block a user