ramp cut audio node
This commit is contained in:
parent
8962e5a4f0
commit
6f9bcc53dc
5 changed files with 51 additions and 32 deletions
|
|
@ -345,7 +345,9 @@ export async function onTriggerSample(t, value, onended, bank, resolveUrl) {
|
|||
};
|
||||
let envEnd = holdEnd + release + 0.01;
|
||||
bufferSource.stop(envEnd);
|
||||
const stop = (endTime, playWholeBuffer) => {};
|
||||
const stop = (endTime) => {
|
||||
bufferSource.stop(endTime)
|
||||
};
|
||||
const handle = { node: out, bufferSource, stop };
|
||||
|
||||
// cut groups
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue