Title: IndexOutOfBounds when loading MIDI file · Issue #6 · TriggerCoder/CSharpSynthForUnity2.0 · GitHub
Open Graph Title: IndexOutOfBounds when loading MIDI file · Issue #6 · TriggerCoder/CSharpSynthForUnity2.0
X Title: IndexOutOfBounds when loading MIDI file · Issue #6 · TriggerCoder/CSharpSynthForUnity2.0
Description: I have an IndexOutOfBounds exception when opening this midi file of Ode to Joy First the exception happens in ReadMetaMessage case 0x2F://endoftrack return new MetaEvent(delta, status, metaStatus, reader[p++]); When I add an index check ...
Open Graph Description: I have an IndexOutOfBounds exception when opening this midi file of Ode to Joy First the exception happens in ReadMetaMessage case 0x2F://endoftrack return new MetaEvent(delta, status, metaStatus, ...
X Description: I have an IndexOutOfBounds exception when opening this midi file of Ode to Joy First the exception happens in ReadMetaMessage case 0x2F://endoftrack return new MetaEvent(delta, status, metaStatus, ...
Opengraph URL: https://github.com/TriggerCoder/CSharpSynthForUnity2.0/issues/6
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IndexOutOfBounds when loading MIDI file","articleBody":"I have an IndexOutOfBounds exception when opening this midi file of [Ode to Joy](http://www.karaokeden.com/ita/karaoke/lyrics/German-2/L.V.Beethoven+-+Ode+To+Joy.kar)\r\n\r\nFirst the exception happens in `ReadMetaMessage`\r\n```\r\ncase 0x2F://endoftrack\r\n return new MetaEvent(delta, status, metaStatus, reader[p++]);\r\n```\r\n\r\nWhen I add an index check there, then the exception occurs in other positions.\r\nWould be nice if this can be fixed.\r\n\r\nNote that the midi file uses `kar` file extension because it contains lyrics for karaoke. The file can be safely renamed to use `mid` file extension if needed.","author":{"url":"https://github.com/achimmihca","@type":"Person","name":"achimmihca"},"datePublished":"2023-04-05T15:30:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/6/CSharpSynthForUnity2.0/issues/6"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:01074b87-2529-33c1-a1ee-d99bc79ef51e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9478:120D86:16CFC2:1F4A0F:6A626C26 |
| html-safe-nonce | c7ac498aadc26c5bdba6b4003b56400e3fe859c0e86452ee802b521ce78913ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDc4OjEyMEQ4NjoxNkNGQzI6MUY0QTBGOjZBNjI2QzI2IiwidmlzaXRvcl9pZCI6IjM3MTEwNjY3Njc2NTUxODg4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4c3de1507d60849f587202fe74bf3e3e2854a374ddf60385a4690914b517544e |
| hovercard-subject-tag | issue:1655846093 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TriggerCoder/CSharpSynthForUnity2.0/6/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bfed288b8684730899f024f005a826fbc0dc3f5103f15ba53bdbf7291b5249ce/TriggerCoder/CSharpSynthForUnity2.0/issues/6 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bfed288b8684730899f024f005a826fbc0dc3f5103f15ba53bdbf7291b5249ce/TriggerCoder/CSharpSynthForUnity2.0/issues/6 |
| og:image:alt | I have an IndexOutOfBounds exception when opening this midi file of Ode to Joy First the exception happens in ReadMetaMessage case 0x2F://endoftrack return new MetaEvent(delta, status, metaStatus, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | achimmihca |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19769ef9d383a84eeab48bb9b309078c20f4532b73eae2f9713b18406513e0ad |
| turbo-cache-control | no-preview |
| go-import | github.com/TriggerCoder/CSharpSynthForUnity2.0 git https://github.com/TriggerCoder/CSharpSynthForUnity2.0.git |
| octolytics-dimension-user_id | 39067248 |
| octolytics-dimension-user_login | TriggerCoder |
| octolytics-dimension-repository_id | 310062068 |
| octolytics-dimension-repository_nwo | TriggerCoder/CSharpSynthForUnity2.0 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 310062068 |
| octolytics-dimension-repository_network_root_nwo | TriggerCoder/CSharpSynthForUnity2.0 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 76dc6b11f13eaeec1329217c9f16c262ade27a1e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width