Conversation
Fix #20. ModDelay now uses template parameters correctly
Add more unittests to test instantiation of various classes
Fix failing CI build
removed time.d and wave.d
improve memory handling in digital delay to work with larger sample r…
Butterworth nth order
Nth order butterworth and linkwitz-riley filters
Implement 1st order and nth order allpass filters
Update azure-pipelines.yml for Azure Pipelines
add status badge for azure pipelines
|
@rstephane It seems to be missing the commit that you have made |
|
Oops, i did not noticed your question, oki I do that this wk. |
|
Hello, override float convert(float x) nothrow @nogc for these codes override float convert(float x) nothrow @nogc This function appears twice in the scaled.d lib: override float convert(float x) nothrow @nogc for override float convert(float x) nothrow @nogc regards. |
Upgrade to Dplug 13
add disclaimer about no longer being used
Hellooo :)
I tried to use the DDSP lib with the latest DPLUG version (>=12). I got an error while compiling:
ddsp/util/scale.d(60,9): Error:
x < _minVal ? x = _minVal : xmust be surrounded by parentheses when next to operator=ddsp/util/scale.d(90,9): Error:
x < _minVal ? x = _minVal : xmust be surrounded by parentheses when next to operator=I guess that in scaled.d we may change the line 60 and 90 (the errors comes twice) for :
override float convert(float x) nothrow @nogc
{
if (x < _minVal) x = _minVal; else x = x;
if (x > _maxVal) x = _maxVal; else x = x;
return _a * exp(_b * x);
}
it's not a nice solution
a better one is to add the correct "()" at the right place :
test ? a = b : c = 2; // Deprecated since dplug v12...
(test ? a = b : c) = 2; // Equivalent <- good version in Dplug v12, you may put instead of doing IF then ...
another thing to modify is the required version in the dependency file (dub.json ):
we may change the dependencies declaration for :
tell me if I am not clear :)
thanks.