Mercurial > hg > silvet
comparison src/LiveInstruments.cpp @ 325:4cf4313d7e30 livemode
Always use q=0.8 and accept the hit on speed -- the templates are made for that configuration and it does work better. Also some adjustments to thresholding and peak picking for live mode in particular.
author | Chris Cannam |
---|---|
date | Mon, 18 May 2015 13:58:27 +0100 |
parents | 7dda913d820b |
children | df9a8e16bae6 5acce45e2ec6 |
comparison
equal
deleted
inserted
replaced
324:71ffe35578fa | 325:4cf4313d7e30 |
---|---|
91 live.templateSize = live.templateHeight; | 91 live.templateSize = live.templateHeight; |
92 | 92 |
93 live.maxPolyphony = original.maxPolyphony; | 93 live.maxPolyphony = original.maxPolyphony; |
94 live.pitchSparsity = original.pitchSparsity; | 94 live.pitchSparsity = original.pitchSparsity; |
95 live.sourceSparsity = original.sourceSparsity; | 95 live.sourceSparsity = original.sourceSparsity; |
96 live.levelThreshold = original.levelThreshold / 20; | 96 live.levelThreshold = original.levelThreshold / 15; |
97 | 97 |
98 return live; | 98 return live; |
99 } | 99 } |
100 | 100 |
101 vector<InstrumentPack> | 101 vector<InstrumentPack> |