ScorePart constructor

ScorePart([
  1. String id = '',
  2. String name = '',
  3. int midiChannel = defaultMidiChannel,
  4. int midiProgram = defaultMidiProgram,
])

Implementation

ScorePart([
  this.id = '',
  this.name = '',
  // If no MIDI info, use the default MIDI channel.
  this.midiChannel = defaultMidiChannel,
  // Use the default MIDI program
  this.midiProgram = defaultMidiProgram,
]);