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

Add resampling info message #399

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Add resampling info message #399

merged 1 commit into from
Dec 5, 2023

Conversation

sdatkinson
Copy link
Owner

Display in the plugin when resampling is happening.

image

Running with my interface set to 44.1kHz.

I was on the fence about this--most plugins don't say when they're doing resampling internally. But, I think it's important to call out here because (1) it adds several ms of latency and (2) it's something that the user can affect in unexpected ways--unlike other non-open-source modelers out there, NAM lets you train models at whatever sample rate you want. So this could be very unexpected to a user (e.g. if they stumble upon a model trained at 96k by some power user).

Additionally, if someone stacks NAMs (e.g. OD into an amp) then the total added latency from two instances (over 5 ms due to resampling alone) may become noticeable and negatively impact the playing experience.

I don't want this to be mysterious. I want folks to be informed about it so that they can (if they desire) pick a sample rate that works with the model they're using that enables the plugin to avoid the need to resample and therefore not add latency.

@sdatkinson sdatkinson merged commit a1e959e into main Dec 5, 2023
2 checks passed
@sdatkinson sdatkinson deleted the resampling-message branch December 5, 2023 03:46
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

Successfully merging this pull request may close these issues.

1 participant