public override void Read(BinaryReader reader) { _unshiftedNote = MusicNote.FromNoteNumber(reader.ReadSByte()); FineTune = reader.ReadSByte(); Gain = reader.ReadSByte(); LowNote = reader.ReadSByte(); HighNote = reader.ReadSByte(); LowVelocity = reader.ReadSByte(); HighVelocity = reader.ReadSByte(); }
public InstrumentComponent() { _unshiftedNote = MusicNote.FromNoteNumber(0); FineTune = 0; Gain = 0; LowNote = 0; HighNote = 127; LowVelocity = 1; HighVelocity = 127; }