comparison src/Instruments.cpp @ 207:ce8118644f16 noteagent

Restore more theoretically agent-friendly instrument settings
author Chris Cannam
date Wed, 04 Jun 2014 12:50:46 +0100
parents 4840c6306b4f
children
comparison
equal deleted inserted replaced
206:5c2f0cec3565 207:ce8118644f16
151 allTemplates.push_back(t); 151 allTemplates.push_back(t);
152 InstrumentPack instr(t.lowestNote, 152 InstrumentPack instr(t.lowestNote,
153 t.highestNote, 153 t.highestNote,
154 simpleInstruments[i], 154 simpleInstruments[i],
155 tt); 155 tt);
156 // instr.pitchSparsity = 1.5; 156 instr.pitchSparsity = 1.5;
157 instr.maxPolyphony = 5;
158 instr.levelThreshold = 6;
159 if (isString(i)) { 157 if (isString(i)) {
160 // instr.maxPolyphony = 2; 158 instr.maxPolyphony = 1;
161 // instr.levelThreshold = 3; 159 instr.levelThreshold = 3;
162 stringTemplates.push_back(t); 160 stringTemplates.push_back(t);
163 } 161 }
164 if (isWind(i)) { 162 if (isWind(i)) {
165 // instr.maxPolyphony = 1; 163 instr.maxPolyphony = 1;
166 // instr.levelThreshold = 5; 164 instr.levelThreshold = 3;
167 windTemplates.push_back(t); 165 windTemplates.push_back(t);
168 } 166 }
169 if (isOK(instr)) { 167 if (isOK(instr)) {
170 ii.push_back(instr); 168 ii.push_back(instr);
171 } 169 }