--- libgig/trunk/src/gigdump.cpp 2004/09/09 18:37:22 235 +++ libgig/trunk/src/gigdump.cpp 2005/01/03 00:53:42 334 @@ -131,7 +131,7 @@ cout << " "; } cout << " KeyRange=" << pRegion->KeyRange.low << "-" << pRegion->KeyRange.high << ", "; - cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layer=" << pRegion->Layer << endl; + cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layers=" << pRegion->Layers << endl; cout << " Loops=" << pRegion->SampleLoops << endl; cout << " Dimensions=" << pRegion->Dimensions << endl; for (int iDimension = 0; iDimension < pRegion->Dimensions; iDimension++) { @@ -233,7 +233,21 @@ cout << "UNKNOWN - please report this !"; break; } - cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones << endl; + cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones; + cout << ", SplitType="; + switch (DimensionDef.split_type) { + case gig::split_type_normal: + cout << "NORMAL" << endl; + break; + case gig::split_type_customvelocity: + cout << "CUSTOMVELOCITY" << endl; + break; + case gig::split_type_bit: + cout << "BIT" << endl; + break; + default: + cout << "UNKNOWN" << endl; + } } PrintDimensionRegions(pRegion); @@ -257,7 +271,8 @@ if (pSample->pInfo->Name != "") { cout << "\"" << pSample->pInfo->Name << "\", "; } - cout << pSample->SamplesPerSecond << "Hz, " << endl; + cout << pSample->SamplesPerSecond << "Hz, "; + cout << "UnityNote=" << (int) pDimensionRegion->UnityNote << ", FineTune=" << (int) pDimensionRegion->FineTune << endl; } else { cout << " Sample: " << endl; @@ -284,6 +299,7 @@ cout << "UNKNOWN - please report this !"; } cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl; + cout << " Pan=" << (int) pDimensionRegion->Pan << endl; dimensionRegions++; }