mchudy / NFugue

Music programming for .NET - a port of JFugue
Apache License 2.0
18 stars 8 forks source link

FIX: Chord parsing causes System.NullReferenceException #6

Closed JiaChen-Zeng closed 5 years ago

JiaChen-Zeng commented 5 years ago

Parsing a score which contains chords will throw System.NullReferenceException at Chord.cs#L82.

There is an unneeded space at the beginning of chordString. This will cause parseNoteElement(index = 0) fail.

mchudy commented 5 years ago

Thanks!