turn off of depth is 0
This commit is contained in:
parent
f0a582dc92
commit
51c63fa996
1 changed files with 2 additions and 2 deletions
|
|
@ -263,7 +263,7 @@ export const superdough = async (value, deadline, hapDuration) => {
|
||||||
|
|
||||||
//phaser
|
//phaser
|
||||||
phaser,
|
phaser,
|
||||||
phaserdepth,
|
phaserdepth = 0.75,
|
||||||
//
|
//
|
||||||
coarse,
|
coarse,
|
||||||
crush,
|
crush,
|
||||||
|
|
@ -418,7 +418,7 @@ export const superdough = async (value, deadline, hapDuration) => {
|
||||||
chain.push(panner);
|
chain.push(panner);
|
||||||
}
|
}
|
||||||
// phaser
|
// phaser
|
||||||
if (phaser !== undefined) {
|
if (phaser !== undefined && phaserdepth > 0) {
|
||||||
const phaserFX = getPhaser(phaser, phaserdepth);
|
const phaserFX = getPhaser(phaser, phaserdepth);
|
||||||
chain.push(phaserFX);
|
chain.push(phaserFX);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue