private void WriteReadVocalTrack(RBMid.VOCALTRACK obj) { Write(obj.FakePhraseMarkers, WritePhraseMarker); Write(obj.AuthoredPhraseMarkers, WritePhraseMarker); Write(obj.Notes, x => { Write(x.PhraseIndex); Write(x.MidiNote); Write(x.MidiNote2); Write(x.StartMillis); Write(x.StartTick); Write(x.LengthMillis); Write(x.LengthTicks); Write(x.Lyric); Write(x.LastNoteInPhrase); Write(x.UnknownFalse); Write(x.Unpitched); Write(x.UnknownFalse2); Write(x.UnkFlag1); Write(x.Unknown); Write(x.Portamento); Write(x.Flag8); Write(x.Flag9); }); Write(obj.Percussion, Write); Write(obj.Tacets, x => { Write(x.StartMillis); Write(x.EndMillis); }); }
private void WriteReadVocalTrack(RBMid.VOCALTRACK obj) { Write(obj.FakePhraseMarkers, WritePhraseMarker); Write(obj.AuthoredPhraseMarkers, WritePhraseMarker); Write(obj.Notes, x => { Write(x.PhraseIndex); Write(x.MidiNote); Write(x.MidiNote2); Write(x.StartMillis); Write(x.StartTick); Write(x.LengthMillis); Write(x.LengthTicks); Write(x.Lyric); Write(x.LastNoteInPhrase); Write(x.False1); Write(x.Unpitched); Write(x.UnpitchedGenerous); Write(x.RangeDivider); Write(x.PhraseFlags); Write(x.Portamento); Write(x.LyricShift); Write(x.ShowLyric); }); Write(obj.Percussion, Write); Write(obj.FreestyleRegions, x => { Write(x.StartMillis); Write(x.EndMillis); }); }