Open to cheap FeedbackCombFilter?
See original GitHub issueThe recent change to use ConvolverNodes
in Freeverb and JCReverb has lead to greater quality in those nodes, however; as noted (https://github.com/Tonejs/Tone.js/issues/637 https://github.com/Tonejs/Tone.js/issues/637) it’s also introduced some performance issues on lower-powered devices.
In order to avoid some pretty bad audio glitches on mobile Safari, I’ve done the following in my project:
- introduced the non-convolver-based
FeedbackCombFilter
back in to my project and named itFeedbackCombFilterCheap
- created a
LowpassCombFilterCheap
that uses that - created
JCReverbCheap
andFreeverbCheap
that use the above two nodes in place of the non-cheap versions
Would that helpful to pull into Tone.js? Otherwise, the above solution may help other folks looking for a workaround
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Feedback Comb Filters - CCRMA - Stanford University
The feedback comb filter is a special case of an Infinite Impulse Response (IIR) (``recursive'') digital filter, since there is feedback from the...
Read more >The 5 Best Comb Filter & Resonator Plugins 2022 - Integraudio
Top 5 Comb Filter & Resonator Plugins 2022 | Melda, Kilohearts, Tritik ... the comb filtering effect using a predefined comb shape rather...
Read more >Comb filter - Wikipedia
In signal processing, a comb filter is a filter implemented by adding a delayed version of a signal to itself, causing constructive and...
Read more >The basics about comb filtering (and how to avoid it)
Comb filtering can emerge in two ways: Due to reflections; Because more than one microphone is open and picking up the same signal...
Read more >Building Effects, Part III – Comb Filters - ADSR Sounds
In this tutorial I'll show how to build a comb filter in Reaktor. Comb filters can be used ... There are two types...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the delayed response here.
That test does indeed seem to prove that my assumption about the convolution nodes was incorrect. Apologies for the misdirect.
I believe what I was experiencing was related to the perf issues I was seeing with https://github.com/Tonejs/Tone.js/issues/686.
Thanks! ☮️
So here’s a not very scientific test which compares the old (version 13.8.25) Tone.Freeverb to Tone.Reverb. You can alter the
count
anduseFreeverb
variables to test out the performance. For me, Tone.Reverb on Chrome lasts just slightly longer before crackling or going silent than Tone.Freeverb and on Safari Tone.Reverb works much better than Tone.Freeverb.That is to say that, i’m not sure there is such a big enough performance benefit of the FeedbackCombFilter-based reverbs over Convolution-based to justify all of the overhead of maintaining two versions of each of the classes.