ramp cut audio node
This commit is contained in:
parent
8962e5a4f0
commit
6f9bcc53dc
5 changed files with 51 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue