ramp cut audio node

This commit is contained in:
Jade (Rose) Rowland 2025-03-30 16:33:47 -04:00
parent 8962e5a4f0
commit 6f9bcc53dc
5 changed files with 51 additions and 32 deletions

View file

@ -663,6 +663,9 @@ registerProcessor('phase-vocoder-processor', PhaseVocoderProcessor);
class PulseOscillatorProcessor extends AudioWorkletProcessor {
constructor() {
super();
// this.port.onmessage = (event) => {
// console.info(event)
// };
this.pi = _PI;
this.phi = -this.pi; // phase
this.Y0 = 0; // feedback memories