Skip to content

Commit

Permalink
Fix more build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Aug 31, 2023
1 parent 43af16b commit 68a2b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Synth/Source/SynthVoice.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SynthVoice : public gin::SynthesiserVoice
gin::AnalogADSR adsr;

float currentMidiNotes = 0.0f;
gin::BLLTVoicedStereoOscillatorParams oscParams;
gin::VoicedStereoOscillatorParams oscParams;

gin::EasedValueSmoother<float> noteSmoother;

Expand Down
4 changes: 2 additions & 2 deletions modules/gin_dsp/dsp/gin_wtoscillators.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ class WTOscillator

inline float phaseDistortion (float phase, float bend, float formant)
{
if (bend != 0)
if (almostEqual (bend, 0.0f))
phase = bendDistortion (phase, bend);

if (formant != 0)
if (almostEqual (formant, 0.0f))
phase = formantDistortion (phase, formant);

return phase;
Expand Down

0 comments on commit 68a2b3a

Please sign in to comment.