minor changes
This commit is contained in:
parent
9648e35de2
commit
a20468b85f
1 changed files with 2 additions and 2 deletions
|
|
@ -401,7 +401,7 @@ function getFilterType(ftype) {
|
||||||
//type orbit {
|
//type orbit {
|
||||||
// gain: number,
|
// gain: number,
|
||||||
// reverbNode: reverbNode
|
// reverbNode: reverbNode
|
||||||
// delayNode:
|
// delayNode: delayNode
|
||||||
//}
|
//}
|
||||||
let orbits = {};
|
let orbits = {};
|
||||||
function connectToOrbit(node, orbit) {
|
function connectToOrbit(node, orbit) {
|
||||||
|
|
@ -706,7 +706,7 @@ export const superdough = async (value, t, hapDuration, cps = 0.5, cycle = 0.5)
|
||||||
logger('[webaudio] skip hap: still loading', ac.currentTime - t);
|
logger('[webaudio] skip hap: still loading', ac.currentTime - t);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let chain = []; // audio nodes that will be connected to each other sequentially
|
const chain = []; // audio nodes that will be connected to each other sequentially
|
||||||
chain.push(sourceNode);
|
chain.push(sourceNode);
|
||||||
stretch !== undefined && chain.push(getWorklet(ac, 'phase-vocoder-processor', { pitchFactor: stretch }));
|
stretch !== undefined && chain.push(getWorklet(ac, 'phase-vocoder-processor', { pitchFactor: stretch }));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue