grame-cncm / faustlibraries

The Faust libraries

Home Page:https://faustlibraries.grame.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SampleRate limit is too low

iBundin opened this issue · comments

  1. SR = min(192000.0, max(1.0, fconstant(int fSamplingFreq, <math.h>)));

192000 is not enough for all use cases. Sometimes, there is a need to use 352800 hz (dxd format).
I've managed to deal with this issue inside my Faust program though by using the code below:

mySR = min(352800, max(1.0, fconstant(int fSamplingFreq, <math.h>)));

@orlarey what do you think about that? I think this change should be made, I can take care of it.

We can't do that. This would double the size of all delay lines. @iBundin The best option is to have a private version of maths.lib in which the definition of SR is modified.

+1