131 |
cout << "<NO_VALID_SAMPLE_REFERENCE> "; |
cout << "<NO_VALID_SAMPLE_REFERENCE> "; |
132 |
} |
} |
133 |
cout << " KeyRange=" << pRegion->KeyRange.low << "-" << pRegion->KeyRange.high << ", "; |
cout << " KeyRange=" << pRegion->KeyRange.low << "-" << pRegion->KeyRange.high << ", "; |
134 |
cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layer=" << pRegion->Layer << endl; |
cout << "VelocityRange=" << pRegion->VelocityRange.low << "-" << pRegion->VelocityRange.high << ", Layers=" << pRegion->Layers << endl; |
135 |
cout << " Loops=" << pRegion->SampleLoops << endl; |
cout << " Loops=" << pRegion->SampleLoops << endl; |
136 |
cout << " Dimensions=" << pRegion->Dimensions << endl; |
cout << " Dimensions=" << pRegion->Dimensions << endl; |
137 |
for (int iDimension = 0; iDimension < pRegion->Dimensions; iDimension++) { |
for (int iDimension = 0; iDimension < pRegion->Dimensions; iDimension++) { |
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; |
234 |
cout << "UNKNOWN - please report this !"; |
cout << "UNKNOWN - please report this !"; |
235 |
break; |
break; |
236 |
} |
} |
237 |
cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones << endl; |
cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones; |
238 |
|
cout << ", SplitType="; |
239 |
|
switch (DimensionDef.split_type) { |
240 |
|
case gig::split_type_normal: |
241 |
|
cout << "NORMAL" << endl; |
242 |
|
break; |
243 |
|
case gig::split_type_customvelocity: |
244 |
|
cout << "CUSTOMVELOCITY" << endl; |
245 |
|
break; |
246 |
|
case gig::split_type_bit: |
247 |
|
cout << "BIT" << endl; |
248 |
|
break; |
249 |
|
default: |
250 |
|
cout << "UNKNOWN" << endl; |
251 |
|
} |
252 |
} |
} |
253 |
|
|
254 |
PrintDimensionRegions(pRegion); |
PrintDimensionRegions(pRegion); |
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 << ", Gain=" << (-pDimensionRegion->Gain / 655360.0) << "dB, SampleStartOffset=" << pDimensionRegion->SampleStartOffset << endl; |
277 |
} |
} |
278 |
else { |
else { |
279 |
cout << " Sample: <NO_VALID_SAMPLE_REFERENCE> " << endl; |
cout << " Sample: <NO_VALID_SAMPLE_REFERENCE> " << endl; |
300 |
cout << "UNKNOWN - please report this !"; |
cout << "UNKNOWN - please report this !"; |
301 |
} |
} |
302 |
cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl; |
cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl; |
303 |
|
cout << " Pan=" << (int) pDimensionRegion->Pan << endl; |
304 |
|
|
305 |
dimensionRegions++; |
dimensionRegions++; |
306 |
} |
} |