From f40d8ff14a4e51ecc255800c24ce4be291e05eca Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 24 Apr 2014 21:12:06 +0200 Subject: Fix nasty bug in power list handling. Should fix reported velocity problems (all samples played with the same power regardless of midi velocity). --- src/instrumentparser.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/instrumentparser.cc') 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") { -- cgit v1.2.3