Exemple #1
0
        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);
            }
        }
Exemple #2
0
 public NoteSeqParser()
 {
     mTrackLibrary = new TrackLibrary();
     mLabelDefinitions.Clear();
     mLabelReferences.Clear();
 }