Browse Source

cmScore.c : Added 'loctn' to cmScorePrint() output.

master
kevin 8 years ago
parent
commit
8531f80438
1 changed files with 7 additions and 6 deletions
  1. 7
    6
      app/cmScore.c

+ 7
- 6
app/cmScore.c View File

@@ -153,7 +153,7 @@ cmScEvtRef_t _cmScEvtRefArray[] =
153 153
 
154 154
 cmScEvtRef_t _cmScDynRefArray[] = 
155 155
 {
156
-  { 1, 0, "pppp" },
156
+  { 1, 0, "pppp"},
157 157
   { 2, 0, "ppp" },
158 158
   { 3, 0, "pp"  },
159 159
   { 4, 0, "p"   },
@@ -161,7 +161,7 @@ cmScEvtRef_t _cmScDynRefArray[] =
161 161
   { 6, 0, "mf"  },
162 162
   { 7, 0, "f"   },
163 163
   { 8, 0, "ff"  },
164
-  { 9,0, "fff" },
164
+  { 9, 0, "fff" },
165 165
   { kInvalidDynScId,0, "***" },
166 166
 };
167 167
 
@@ -2389,9 +2389,9 @@ void cmScorePrint( cmScH_t h, cmRpt_t* rpt )
2389 2389
   cmSc_t* p = _cmScHandleToPtr(h);
2390 2390
   unsigned i;
2391 2391
 
2392
-  cmRptPrintf(rpt,"evnt  CSV       bar\n");
2393
-  cmRptPrintf(rpt,"index line  bar idx type  pitch ETD Dynamic\n");
2394
-  cmRptPrintf(rpt,"----- ----- --- --- ----- ----- --- -------\n");
2392
+  cmRptPrintf(rpt,"evnt  CSV             bar\n");
2393
+  cmRptPrintf(rpt,"index line  loctn bar idx type  pitch ETD Dynamic\n");
2394
+  cmRptPrintf(rpt,"----- ----- ----- --- --- ----- ----- --- -------\n");
2395 2395
      
2396 2396
   for(i=0; i<p->cnt; ++i)
2397 2397
   {
@@ -2406,9 +2406,10 @@ void cmScorePrint( cmScH_t h, cmRpt_t* rpt )
2406 2406
         break;
2407 2407
 
2408 2408
       case kNonEvtScId:
2409
-        cmRptPrintf(rpt,"%5i %5i %3i %3i %s %5s %c%c%c %s\n",
2409
+        cmRptPrintf(rpt,"%5i %5i %5i %3i %3i %s %5s %c%c%c %s\n",
2410 2410
           i,
2411 2411
           r->line,
2412
+          r->locIdx,
2412 2413
           r->barNumb,
2413 2414
           r->barNoteIdx,
2414 2415
           cmScEvtTypeIdToLabel(r->type),

Loading…
Cancel
Save