Browse Source

Add comment to VCF HP formula

tags/v1.0.1
Andrew Belt 6 years ago
parent
commit
9851bb07bc
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/VCF.cpp

+ 1
- 0
src/VCF.cpp View File

@@ -46,6 +46,7 @@ struct LadderFilter {
});

lowpass = state[3];
// TODO This is incorrect when `resonance > 0`. Is the math wrong?
highpass = clip((input - resonance*state[3]) - 4 * state[0] + 6*state[1] - 4*state[2] + state[3]);
}
};


Loading…
Cancel
Save