Working version of supersaw, almost on wavetable
This commit is contained in:
parent
600ab0a83e
commit
6610713018
4 changed files with 22 additions and 5 deletions
|
|
@ -181,8 +181,9 @@ export function registerSynthSounds() {
|
|||
}
|
||||
});
|
||||
o.port.postMessage({ type: 'initialize' });
|
||||
o.port.onMessage = (e) => {
|
||||
o.port.onmessage = (e) => {
|
||||
if (e.data.type === 'died') markWorkletAsDead(o);
|
||||
o.port.onmessage = null;
|
||||
};
|
||||
const gainAdjustment = 1 / Math.sqrt(voices);
|
||||
getPitchEnvelope(o.parameters.get('detune'), value, begin, holdend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue