playing
This commit is contained in:
parent
fba2422a64
commit
c00ed14bc3
3 changed files with 137 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ function loadWorklets() {
|
|||
return workletsLoading;
|
||||
}
|
||||
|
||||
function getWorklet(ac, processor, params) {
|
||||
export function getWorklet(ac, processor, params) {
|
||||
const node = new AudioWorkletNode(ac, processor);
|
||||
Object.entries(params).forEach(([key, value]) => {
|
||||
node.parameters.get(key).value = value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue