summaryrefslogtreecommitdiffstats
path: root/src/engine/internals/Note.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-11 22:14:01 +0000
committerDavid Robillard <d@drobilla.net>2011-02-11 22:14:01 +0000
commit77d1d3ae2d861f76264020b112386cdd57ce1f86 (patch)
treeca40355d145c09b43b2e15961a3e05aab280947c /src/engine/internals/Note.cpp
parent796f8d48f0ff6434635237038e03f900161ce331 (diff)
downloadingen-77d1d3ae2d861f76264020b112386cdd57ce1f86.tar.gz
ingen-77d1d3ae2d861f76264020b112386cdd57ce1f86.tar.bz2
ingen-77d1d3ae2d861f76264020b112386cdd57ce1f86.zip
Remove LADSPA support from Ingen (LADSPA can be used via NASPRO).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2922 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/internals/Note.cpp')
-rw-r--r--src/engine/internals/Note.cpp2
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...
}