turn off of depth is 0

This commit is contained in:
Jade Rowland 2023-11-07 21:44:57 -05:00
parent f0a582dc92
commit 51c63fa996

View File

@ -263,7 +263,7 @@ export const superdough = async (value, deadline, hapDuration) => {
//phaser
phaser,
phaserdepth,
phaserdepth = 0.75,
//
coarse,
crush,
@ -418,7 +418,7 @@ export const superdough = async (value, deadline, hapDuration) => {
chain.push(panner);
}
// phaser
if (phaser !== undefined) {
if (phaser !== undefined && phaserdepth > 0) {
const phaserFX = getPhaser(phaser, phaserdepth);
chain.push(phaserFX);
}