Skip to content

Changing configurations in real-time? #576

@romanin-rf

Description

@romanin-rf

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions