diff options
Diffstat (limited to 'src/engine/internals')
-rw-r--r-- | src/engine/internals/Note.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/internals/Note.cpp b/src/engine/internals/Note.cpp index c00c2a3c..a92e3069 100644 --- a/src/engine/internals/Note.cpp +++ b/src/engine/internals/Note.cpp @@ -399,7 +399,7 @@ NoteNode::note_to_freq(int num) static const float A4 = 440.0f; if (num >= 0 && num <= 119) return A4 * powf(2.0f, (float)(num - 57.0f) / 12.0f); - return 1.0f; // Some LADSPA plugins don't like freq=0 + return 1.0f; // Frequency of zero causes numerical problems... } |