Merge branch 'main' into glossing/transient-processor

This commit is contained in:
Aria 2025-12-07 18:11:50 +01:00
commit bd61c1dc7e
29 changed files with 1278 additions and 238 deletions

View file

@ -511,13 +511,14 @@ class SuperSawOscillatorProcessor extends AudioWorkletProcessor {
];
}
process(_input, outputs, params) {
if (currentTime <= params.begin[0]) {
return true;
}
if (currentTime >= params.end[0]) {
// this.port.postMessage({ type: 'onended' });
// should terminate
return false;
}
if (currentTime <= params.begin[0]) {
// keep alive
return true;
}
const output = outputs[0];
const voices = params.voices[0]; // k-rate
for (let i = 0; i < output[0].length; i++) {