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

Changing configurations in real-time? #576

Open
romanin-rf opened this issue Dec 29, 2024 · 0 comments
Open

Changing configurations in real-time? #576

romanin-rf opened this issue Dec 29, 2024 · 0 comments

Comments

@romanin-rf
Copy link

romanin-rf commented Dec 29, 2024

Synopsis

I have a project SeaPlayer. There I use my add-on over sounddevice - seaplayer-audio.

I am faced with the problem of different sampling rates.
For example: the audio output has a sampling rate of 44100, and the audio file has a sampling rate of 48000. In this case, the audio will be played a little slower than it should (8.13% slower). But if the sampling rate differs by more than 8%, or conditionally by 300%, in this case: the audio is heavily distorted.

My question goes like this: Is there a way to quickly change samplerate and channels WITHOUT completely reinitializing the class?

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

1 participant