/[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 231 by schoenebeck, Sun Sep 5 00:46:28 2004 UTC revision 269 by schoenebeck, Fri Oct 8 17:25:28 2004 UTC
# Line 145  void PrintRegions(gig::Instrument* instr Line 145  void PrintRegions(gig::Instrument* instr
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                      cout << "LAYER";                      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 << ")";
150                      break;                      break;
151                  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).
152                      cout << "VELOCITY";                      cout << "VELOCITY";
# Line 232  void PrintRegions(gig::Instrument* instr Line 233  void PrintRegions(gig::Instrument* instr
233                      cout << "UNKNOWN - please report this !";                      cout << "UNKNOWN - please report this !";
234                      break;                      break;
235              }              }
236              cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones << endl;              cout << ", Bits=" << (uint) DimensionDef.bits << ", Zones=" << (uint) DimensionDef.zones;
237                cout << ", SplitType=";
238                switch (DimensionDef.split_type) {
239                    case gig::split_type_normal:
240                        cout << "NORMAL" << endl;
241                        break;
242                    case gig::split_type_customvelocity:
243                        cout << "CUSTOMVELOCITY" << endl;
244                        break;
245                    case gig::split_type_bit:
246                        cout << "BIT" << endl;
247                        break;
248                    default:
249                        cout << "UNKNOWN" << endl;
250                }
251          }          }
252    
253          PrintDimensionRegions(pRegion);          PrintDimensionRegions(pRegion);
# Line 283  void PrintDimensionRegions(gig::Region* Line 298  void PrintDimensionRegions(gig::Region*
298                  cout << "UNKNOWN - please report this !";                  cout << "UNKNOWN - please report this !";
299          }          }
300          cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl;          cout << ", VelocityResponseDepth=" << (int) pDimensionRegion->VelocityResponseDepth << ", VelocityResponseCurveScaling=" << (int) pDimensionRegion->VelocityResponseCurveScaling << endl;
301            cout << "                Pan=" << (int) pDimensionRegion->Pan << endl;
302    
303          dimensionRegions++;          dimensionRegions++;
304      }      }

Legend:
Removed from v.231  
changed lines
  Added in v.269

  ViewVC Help
Powered by ViewVC