Code format and a typo on lfoNum
This commit is contained in:
parent
d8f0d70908
commit
6a9739bed5
2 changed files with 69 additions and 66 deletions
|
|
@ -128,7 +128,7 @@ class LFOProcessor extends AudioWorkletProcessor {
|
|||
const begin = parameters['begin'][0];
|
||||
const end = parameters['end'][0];
|
||||
const persistent = parameters['persistent'][0];
|
||||
if ((persistent < 0.5) && currentTime >= end) {
|
||||
if (persistent < 0.5 && currentTime >= end) {
|
||||
return false;
|
||||
}
|
||||
if (currentTime <= begin) {
|
||||
|
|
@ -165,7 +165,7 @@ class LFOProcessor extends AudioWorkletProcessor {
|
|||
}
|
||||
this.incrementPhase(dt);
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue