Skip to content

Commit

Permalink
LFO: Store phase as double to prevent pitch quantization
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Sep 15, 2024
1 parent 8cd1338 commit 68945a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/signalflow/node/oscillators/lfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LFO : public Node
virtual void alloc() override;

protected:
std::vector<float> current_phase;
std::vector<double> current_phase;
NodeRef frequency;
NodeRef min;
NodeRef max;
Expand Down

0 comments on commit 68945a3

Please sign in to comment.