/[svn]/libgig/trunk/src/gigdump.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gigdump.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 282 by schoenebeck, Wed Oct 13 20:05:42 2004 UTC revision 402 by schoenebeck, Tue Feb 22 19:18:16 2005 UTC
# Line 144  void PrintRegions(gig::Instrument* instr Line 144  void PrintRegions(gig::Instrument* instr
144                  case gig::dimension_samplechannel: // If used sample has more than one channel (thus is not mono).                  case gig::dimension_samplechannel: // If used sample has more than one channel (thus is not mono).
145                      cout << "SAMPLECHANNEL";                      cout << "SAMPLECHANNEL";
146                      break;                      break;
147                  case gig::dimension_layer: // For layering of up to 8 instruments (and eventually crossfading of 2 or 4 layers).                  case gig::dimension_layer: { // For layering of up to 8 instruments (and eventually crossfading of 2 or 4 layers).
148                      gig::crossfade_t crossfade = pRegion->pDimensionRegions[iDimension]->Crossfade;                      gig::crossfade_t crossfade = pRegion->pDimensionRegions[iDimension]->Crossfade;
149                      cout << "LAYER (Crossfade in_start=" << (int) crossfade.in_start << ",in_end=" << (int) crossfade.in_end << ",out_start=" << (int) crossfade.out_start << ",out_end=" << (int) crossfade.out_end << ")";                      cout << "LAYER (Crossfade in_start=" << (int) crossfade.in_start << ",in_end=" << (int) crossfade.in_end << ",out_start=" << (int) crossfade.out_start << ",out_end=" << (int) crossfade.out_end << ")";
150                      break;                      break;
151                    }
152                  case gig::dimension_velocity: // Key Velocity (this is the only dimension where the ranges can exactly be defined).                  case gig::dimension_velocity: // Key Velocity (this is the only dimension where the ranges can exactly be defined).
153                      cout << "VELOCITY";                      cout << "VELOCITY";
154                      break;                      break;
# Line 271  void PrintDimensionRegions(gig::Region* Line 272  void PrintDimensionRegions(gig::Region*
272              if (pSample->pInfo->Name != "") {              if (pSample->pInfo->Name != "") {
273                  cout << "\"" << pSample->pInfo->Name << "\", ";                  cout << "\"" << pSample->pInfo->Name << "\", ";
274              }              }
275              cout << pSample->SamplesPerSecond << "Hz, " << endl;              cout << pSample->SamplesPerSecond << "Hz, ";
276                cout << "UnityNote=" << (int) pDimensionRegion->UnityNote << ", FineTune=" << (int) pDimensionRegion->FineTune << endl;
277          }          }
278          else {          else {
279              cout << "                Sample: <NO_VALID_SAMPLE_REFERENCE> " << endl;              cout << "                Sample: <NO_VALID_SAMPLE_REFERENCE> " << endl;

Legend:
Removed from v.282  
changed lines
  Added in v.402

  ViewVC Help
Powered by ViewVC