question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open to cheap FeedbackCombFilter?

See original GitHub issue

The 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 it FeedbackCombFilterCheap
  • created a LowpassCombFilterCheap that uses that
  • created JCReverbCheap and FreeverbCheap 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JackCAcommented, Jun 29, 2020

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! ☮️

0reactions
tambiencommented, Jun 15, 2020

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 and useFreeverb 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found