pitch envelope now also works when setting one of the controls (penv not needed)
This commit is contained in:
parent
d3ea4959b4
commit
1c99944a32
3 changed files with 3 additions and 10 deletions
|
|
@ -159,9 +159,7 @@ export function registerSoundfonts() {
|
|||
// vibrato
|
||||
let vibratoOscillator = getVibratoOscillator(bufferSource.detune, value, time);
|
||||
// pitch envelope
|
||||
if (value.penv) {
|
||||
getPitchEnvelope(bufferSource.detune, value, time, holdEnd);
|
||||
}
|
||||
getPitchEnvelope(bufferSource.detune, value, time, holdEnd);
|
||||
|
||||
bufferSource.stop(envEnd);
|
||||
const stop = (releaseTime) => {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue