Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing MusicXML error. accidentalCount is strange #9

Open
JiaChen-Zeng opened this issue Nov 6, 2018 · 0 comments
Open

Parsing MusicXML error. accidentalCount is strange #9

JiaChen-Zeng opened this issue Nov 6, 2018 · 0 comments

Comments

@JiaChen-Zeng
Copy link
Contributor

This score

accidentalCount = 252
System.IndexOutOfRangeException
  HResult=0x80131508
  Message=索引超出了数组界限。
  Source=NFugue
  StackTrace:
   在 NFugue.Staccato.Subparsers.SignatureSubparser.ConvertAccidentalCountToKeyRootPositionInOctave(Int32 accidentalCount, Int32 scale) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Staccato\Subparsers\SignatureSubparser.cs 中: 第 121 行
   在 NFugue.Midi.MidiParser.KeySigParsed(MetaMessage meta) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Midi\MidiParser.cs 中: 第 227 行
   在 NFugue.Midi.MidiParser.ParseMetaMessage(MetaMessage message, MidiEvent event) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Midi\MidiParser.cs 中: 第 135 行
   在 NFugue.Midi.MidiParser.ParseEvent(MidiEvent event) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Midi\MidiParser.cs 中: 第 58 行
   在 NFugue.Midi.MidiParser.Parse(Sequence sequence) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Midi\MidiParser.cs 中: 第 28 行
   在 NFugue.Midi.Conversion.MidiFileConverter.LoadPatternFromMidi(String filePath) 在 D:\Data\编程\Projects\C#\NFugue\src\NFugue\Midi\Conversion\MidiFileConverter.cs 中: 第 37 行
   在 NFugue.ManualTests.Program.TestPlayMidi() 在 D:\Data\编程\Projects\C#\NFugue\tests\NFugue.ManualTests\Program.cs 中: 第 26 行
   在 NFugue.ManualTests.Program.Main(String[] args) 在 D:\Data\编程\Projects\C#\NFugue\tests\NFugue.ManualTests\Program.cs 中: 第 16 行
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant