comparison src/LiveInstruments.cpp @ 315:dec47312ed40 livemode

Use only a single piano template in live mode, for speed
author Chris Cannam
date Tue, 28 Apr 2015 12:20:39 +0100
parents d8468176339d
children 7dda913d820b
comparison
equal deleted inserted replaced
314:f98ba4f47e49 315:dec47312ed40
61 } 61 }
62 } 62 }
63 } 63 }
64 64
65 templates.push_back(t); 65 templates.push_back(t);
66
67 // The live template for piano has only one piano in it, so as
68 // to process faster
69 if (original.name == "Piano") {
70 break;
71 }
66 } 72 }
67 73
68 InstrumentPack live(original.lowestNote, 74 InstrumentPack live(original.lowestNote,
69 original.highestNote, 75 original.highestNote,
70 original.name, 76 original.name,