Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Sample Rate Change and Clear Audio.

For general discussion related FlowStone

Sample Rate Change and Clear Audio.

Postby Tepeix » Sat Apr 22, 2023 3:52 pm

Just get this troubling question now..

I was thinking about a way to make the program restart (clear audio) when the sample rate is change by the user.
And reset some variable..

Is it a good idea ?
But isn't it also something that we must always do just in case ???

Is it possible that some filter or process could make some instability ?...

They might be a time where the green process have not change the coefficient, but the dsp process is at a new sample rate... ...
But i suppose that this do not instability.. But just some filter or delay might have an adaptation time..
Where they will sound a little differently, then come back to normal ?
Attachments
Sample rate and reset.fsm
(2.91 KiB) Downloaded 191 times
Tepeix
 
Posts: 354
Joined: Sat Oct 16, 2021 3:11 pm

Re: Sample Rate Change and Clear Audio.

Postby Spogg » Sun Apr 23, 2023 8:57 am

Interesting point!

If a user changes the audio interface sample rate, or it gets changed from the DAW, I understood the audio engine has to restart.

At this point in my FS “career” I’ve not heard any mention of an issue with changing sample rates, but that doesn’t mean it couldn’t happen!
User avatar
Spogg
 
Posts: 3324
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Sample Rate Change and Clear Audio.

Postby Tepeix » Sun Apr 23, 2023 2:08 pm

Thinking more about it, i think it might be really rare.
Or maybe almost impossible ?

Most time, if we adapt the coefficient of a filter to the new sample rate,
i think they could not really become unstable but just shift their frequency.

... This is maybe more for an experimental design..
If i do experimental filter and want to adapt the coefficient to a new sample
rate, i might be really sure about the precision and stability..
But even in this case, this is more to make a filter that stay stable in any situation than changing sample rate...

I also encountered another thing, but once again this is more adapting to the new sample rate that the transition of it (it will "blow up" with or without clear audio)..
If doing an allpass with a variable delay, this delay could not be less than 1 sample. So if we adapt the delay to the sample rate, this one might be limited at a minimal value of 1 sample.

So maybe i imagine something impossible or very very rare and design dependent...
Tepeix
 
Posts: 354
Joined: Sat Oct 16, 2021 3:11 pm


Return to General

Who is online

Users browsing this forum: No registered users and 105 guests