cmMidiScoreFollow.c : Changed some file names.

This commit is contained in:
kevin 2016-06-22 17:10:46 -04:00
parent 10493545b4
commit 4eece810a1

View File

@ -151,12 +151,12 @@ cmMsfRC_t cmMidiScoreFollowMain( cmCtx_t* ctx )
{ {
cmMsfRC_t rc = kOkMsfRC; cmMsfRC_t rc = kOkMsfRC;
//const cmChar_t* scoreFn = cmFsMakeUserFn("src/kc/src/kc/data","mod2e","csv",NULL); //const cmChar_t* scoreFn = cmFsMakeUserFn("src/kc/src/kc/data","mod2e","csv",NULL);
const cmChar_t* scoreFn = cmFsMakeUserFn("temp","a6","csv",NULL); const cmChar_t* scoreFn = cmFsMakeUserFn("temp","a7","csv",NULL);
const cmChar_t* midiFn = cmFsMakeUserFn("media/projects/imag_themes/scores/gen","round1-utf8_11","mid",NULL); const cmChar_t* midiFn = cmFsMakeUserFn("media/projects/imag_themes/scores/gen","round1-utf8_11","mid",NULL);
const cmChar_t* outFn = cmFsMakeUserFn("temp","match","txt",NULL); const cmChar_t* outFn = cmFsMakeUserFn("temp","match","txt",NULL);
const cmChar_t* svgFn = cmFsMakeUserFn("temp","score0","html",NULL); const cmChar_t* svgFn = cmFsMakeUserFn("temp","score0","html",NULL);
const cmChar_t* newMidiFn= cmFsMakeUserFn("temp","a6","mid",NULL); const cmChar_t* newMidiFn= cmFsMakeUserFn("temp","a7","mid",NULL);
const cmChar_t* tlBarFn = cmFsMakeUserFn("temp",NULL,"time_line_temp","txt",NULL); const cmChar_t* tlBarFn = cmFsMakeUserFn("temp","time_line_temp","txt",NULL);
double srate = 96000.0; double srate = 96000.0;
cmScMatcher* smp = NULL; cmScMatcher* smp = NULL;
@ -270,7 +270,7 @@ cmMsfRC_t cmMidiScoreFollowMain( cmCtx_t* ctx )
cmScoreMatchGraphicWrite( smgH, svgFn ); cmScoreMatchGraphicWrite( smgH, svgFn );
// write a cmTimeLine file which contains markers at each bar position // write a cmTimeLine file which contains markers at each bar position
//cmScoreMatchGraphicGenTimeLineBars(smgH, tlBarFn, srate ); cmScoreMatchGraphicGenTimeLineBars(smgH, tlBarFn, srate );
cmScoreMatchGraphicUpdateMidiFromScore( ctx, smgH, newMidiFn ); cmScoreMatchGraphicUpdateMidiFromScore( ctx, smgH, newMidiFn );