Tone.js icon indicating copy to clipboard operation
Tone.js copied to clipboard

Negative Feedback (so -1 to 1 range) for FeedBackCombFilter

Open tmhglnd opened this issue 1 year ago • 0 comments

The feature you'd like

I'd like for the FeedBackCombFilter (and therefore also the LowPassCombFilter) to allow for negative feedback (so in the range of -0.999 to 0.999. So an AudioRange instead of NormalRange Unittype)

Any alternatives you've considered

I've considered making my own audioWorkletNode as a replacement for the FBCF. I currently don't see any other way to allow for this range. I'm also open to implementing this feature if someone can guide me where I have to adjust all the things needed to get this range to work. I've tried some things but i wasn't able to get it working yet.

Additional context

In physical modelling (such as karplus strong) it is also an option to have a negative feedback delay. Creating negative feedback results in the resonant sound (the fundamental frequency based on the delaytime) dropping by one octave and the audible harmonics are only odd (so square-wave like). This gives the option to make sounds more like a flute, a semi-open pipe or a glass bottle.

tmhglnd avatar May 05 '24 21:05 tmhglnd