Skip to content

Commit

Permalink
Fix scaling of safetyHighpassHz in GrowlSynth
Browse files Browse the repository at this point in the history
  • Loading branch information
ryukau committed Oct 9, 2023
1 parent afda456 commit 3ee0b29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GrowlSynth/source/dsp/dspcore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void DSPCore::setup(double sampleRate)
pv[ID::breathAMLowpassCutoffHz]->getDouble() / upRate); \
noteGate.prepare(upRate, pv[ID::envelopeReleaseSeconds]->getDouble()); \
safetyHighpass.METHOD( \
pv[ID::safetyHighpassHz]->getDouble() / upRate, \
pv[ID::safetyHighpassHz]->getDouble() / sampleRate, \
std::numbers::sqrt2_v<double> / double(2));

#define ASSIGN_MOD_COMB_PARAMETER(METHOD) \
Expand Down
8 changes: 4 additions & 4 deletions GrowlSynth/source/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
#define SUB_VERSION_STR "0"
#define SUB_VERSION_INT 0

#define RELEASE_NUMBER_STR "1"
#define RELEASE_NUMBER_INT 1
#define RELEASE_NUMBER_STR "2"
#define RELEASE_NUMBER_INT 2

#define BUILD_NUMBER_STR "1"
#define BUILD_NUMBER_INT 1
#define BUILD_NUMBER_STR "2"
#define BUILD_NUMBER_INT 2

#define FULL_VERSION_STR \
MAJOR_VERSION_STR "." SUB_VERSION_STR "." RELEASE_NUMBER_STR "." BUILD_NUMBER_STR
Expand Down

0 comments on commit 3ee0b29

Please sign in to comment.