diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-24 21:12:06 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-04-24 21:12:06 +0200 |
commit | f40d8ff14a4e51ecc255800c24ce4be291e05eca (patch) | |
tree | a61e00183212d00d415b7c34c07448449210ff3f /src/instrumentparser.cc | |
parent | 6dbcd24cee07b519981f128c1fae8870e839e79e (diff) |
Fix nasty bug in power list handling. Should fix reported velocity problems (all samples played with the same power regardless of midi velocity).
Diffstat (limited to 'src/instrumentparser.cc')
-rw-r--r-- | src/instrumentparser.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/instrumentparser.cc b/src/instrumentparser.cc index 84cbe23..3a07f1f 100644 --- a/src/instrumentparser.cc +++ b/src/instrumentparser.cc @@ -178,12 +178,7 @@ void InstrumentParser::endTag(std::string name) instrument.samplelist.push_back(s); -#ifdef EXPERIMENTAL - // TODO: New algorithm needs this here. Thresholds are ignored, hence '0' - instrument.addSample(0, 0, s); -#endif/*EXPERIMENTAL*/ - - s = NULL; + s = NULL; } if(name == "instrument") { |