|
|
|
|
150
|
cmMsfRC_t cmMidiScoreFollowMain( cmCtx_t* ctx )
|
150
|
cmMsfRC_t cmMidiScoreFollowMain( cmCtx_t* ctx )
|
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);
|
|
|
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);
|
|
|
156
|
- const cmChar_t* outFn = cmFsMakeUserFn("temp","match","txt",NULL);
|
|
|
157
|
- const cmChar_t* svgFn = cmFsMakeUserFn("temp","score0","html",NULL);
|
|
|
158
|
- const cmChar_t* newMidiFn= cmFsMakeUserFn("temp","a7","mid",NULL);
|
|
|
159
|
- const cmChar_t* tlBarFn = cmFsMakeUserFn("temp","time_line_temp","txt",NULL);
|
|
|
|
|
153
|
+ //const cmChar_t* scoreFn = cmFsMakeUserDirFn("src/kc/src/kc/data","mod2e.csv");
|
|
|
154
|
+ const cmChar_t* scoreFn = cmFsMakeUserDirFn("temp","a7.csv");
|
|
|
155
|
+ const cmChar_t* midiFn = cmFsMakeUserDirFn("media/projects/imag_themes/scores/gen","round1-utf8_11.mid");
|
|
|
156
|
+ const cmChar_t* outFn = cmFsMakeUserDirFn("temp","match.txt");
|
|
|
157
|
+ const cmChar_t* svgFn = cmFsMakeUserDirFn("temp","score0.html");
|
|
|
158
|
+ const cmChar_t* newMidiFn= cmFsMakeUserDirFn("temp","a7.mid");
|
|
|
159
|
+ const cmChar_t* tlBarFn = cmFsMakeUserDirFn("temp","time_line_temp.txt");
|
160
|
|
160
|
|
161
|
double srate = 96000.0;
|
161
|
double srate = 96000.0;
|
162
|
cmScMatcher* smp = NULL;
|
162
|
cmScMatcher* smp = NULL;
|