Thread with 15 posts

jump to expanded post

@mcc i would be more than happy to debug it for you, if you can get it to me via some reasonable medium! i have written a Standard MIDI File parser and know the MIDI spec like the back of my hand at this point, i can probably figure out what's wrong with it

Open thread at this post

@mcc

Error: "Unrecognized SMPTE format"

ohhhhh. the time division is so big that the reserved bit (sign bit) marking whether it's using SMPTE time codes instead has been unintentionally clobbered (https://github.com/hikari-no-yume/SoundPalette/blob/bb6b09dd7d411ec1f4f1ac9eed77bece0b7b43f5/src/midi.rs#L171-L182)

so my midi parser looks at it, tries to recognise which of the four video framerates is in use, sees it isn't a recognised one, and crashes; that's probably what most MIDI players are doing

Open thread at this post

@mcc i know some people who might, but personally i know very little about it. i think it's similar to .nsf though in that it's basically just a memory dump of the sound generation code that the game normally uses, so it's turing complete etc

Open thread at this post