|
|
|
|
151
|
{
|
151
|
{
|
152
|
cmMsfRC_t rc = kOkMsfRC;
|
152
|
cmMsfRC_t rc = kOkMsfRC;
|
153
|
//const cmChar_t* scoreFn = cmFsMakeUserFn("src/kc/src/kc/data","mod2e","csv",NULL);
|
153
|
//const cmChar_t* scoreFn = cmFsMakeUserFn("src/kc/src/kc/data","mod2e","csv",NULL);
|
154
|
- const cmChar_t* scoreFn = cmFsMakeUserFn("temp","a6","csv",NULL);
|
|
|
|
|
154
|
+ const cmChar_t* scoreFn = cmFsMakeUserFn("temp","a7","csv",NULL);
|
155
|
const cmChar_t* midiFn = cmFsMakeUserFn("media/projects/imag_themes/scores/gen","round1-utf8_11","mid",NULL);
|
155
|
const cmChar_t* midiFn = cmFsMakeUserFn("media/projects/imag_themes/scores/gen","round1-utf8_11","mid",NULL);
|
156
|
const cmChar_t* outFn = cmFsMakeUserFn("temp","match","txt",NULL);
|
156
|
const cmChar_t* outFn = cmFsMakeUserFn("temp","match","txt",NULL);
|
157
|
const cmChar_t* svgFn = cmFsMakeUserFn("temp","score0","html",NULL);
|
157
|
const cmChar_t* svgFn = cmFsMakeUserFn("temp","score0","html",NULL);
|
158
|
- const cmChar_t* newMidiFn= cmFsMakeUserFn("temp","a6","mid",NULL);
|
|
|
159
|
- const cmChar_t* tlBarFn = cmFsMakeUserFn("temp",NULL,"time_line_temp","txt",NULL);
|
|
|
|
|
158
|
+ const cmChar_t* newMidiFn= cmFsMakeUserFn("temp","a7","mid",NULL);
|
|
|
159
|
+ const cmChar_t* tlBarFn = cmFsMakeUserFn("temp","time_line_temp","txt",NULL);
|
160
|
|
160
|
|
161
|
double srate = 96000.0;
|
161
|
double srate = 96000.0;
|
162
|
cmScMatcher* smp = NULL;
|
162
|
cmScMatcher* smp = NULL;
|
|
|
|
|
270
|
cmScoreMatchGraphicWrite( smgH, svgFn );
|
270
|
cmScoreMatchGraphicWrite( smgH, svgFn );
|
271
|
|
271
|
|
272
|
// write a cmTimeLine file which contains markers at each bar position
|
272
|
// write a cmTimeLine file which contains markers at each bar position
|
273
|
- //cmScoreMatchGraphicGenTimeLineBars(smgH, tlBarFn, srate );
|
|
|
|
|
273
|
+ cmScoreMatchGraphicGenTimeLineBars(smgH, tlBarFn, srate );
|
274
|
|
274
|
|
275
|
cmScoreMatchGraphicUpdateMidiFromScore( ctx, smgH, newMidiFn );
|
275
|
cmScoreMatchGraphicUpdateMidiFromScore( ctx, smgH, newMidiFn );
|
276
|
|
276
|
|