Mercurial > hg > silvet
diff src/Instruments.h @ 213:5bde003a43a9
Make source sparsity configurable in instrument pack as well as pitch sparsity; make both equal to 1 for piano templates
author | Chris Cannam |
---|---|
date | Tue, 15 Jul 2014 13:28:25 +0100 |
parents | 59e3cca75b8d |
children | ebe5e0942bb8 |
line wrap: on
line diff
--- a/src/Instruments.h Tue Jul 15 13:26:56 2014 +0100 +++ b/src/Instruments.h Tue Jul 15 13:28:25 2014 +0100 @@ -42,6 +42,7 @@ int maxPolyphony; // realistic practical limit, not a theoretical one float pitchSparsity; + float sourceSparsity; float levelThreshold; std::string name; @@ -64,6 +65,7 @@ highestNote(highest), maxPolyphony(5), pitchSparsity(1.1), + sourceSparsity(1.2), levelThreshold(5), name(n), templates(tt) { }