private static bool ParseNotes(string path) { NoteSeqParser parser = new NoteSeqParser(); if (!parser.Read(path)) { Console.WriteLine(parser.Error); Console.ReadLine(); return(false); } else { mTrackLibrary = parser.TrackLibrary; return(true); } }
public NoteSeqParser() { mTrackLibrary = new TrackLibrary(); mLabelDefinitions.Clear(); mLabelReferences.Clear(); }