Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing gets unstable at 22050 or lower sample rates #9

Open
johnnovak opened this issue Aug 14, 2022 · 2 comments
Open

Processing gets unstable at 22050 or lower sample rates #9

johnnovak opened this issue Aug 14, 2022 · 2 comments

Comments

@johnnovak
Copy link

As the title says. When using 22050 or lower samples rates, something blows up after processing a few samples and the reverb will keep outputting NaN values from which it never recovers.

We're trying to find the cause with the DOSBox Staging team but it's not so easy... (using 22050 sample rate is a valid use case for Raspberry Pi4 users in order to improve performance on that underpowered machine).

@martineastwood
Copy link
Owner

I've not had chance to test it but I'd presume it to be due to the damping / bandwidth filters inside mverb struggling at that low a samplerate. You may need to reduce the maximum frequency they filter at, iirc they go up to 18500Hz by default which is likely too high at a samplerate of 22050.

@johnnovak
Copy link
Author

Thanks for your reply @martineastwood, I came to the same conclusion myself and managed to fix it in the meantime with the exact same approach you proposed, which got rid of the filter instability problem completely. I'll raise a PR for the fix, I've just been busy lately...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants