Re: Question to MIDI experts
Hmmm... that 13k you're saving would be the uncompressed size of the .mid file, right? How much difference does it make to the compressed (jar) size?
I'm not sure if MIDI actually defines what happens in this circumstance.
No, I don't think you are steadily building up polyphony. However, you may be tying up one unit for longer than necessary by failing to terminate the note.
I would say, if you get away with it, great. But test on as many devices as possible.
Graham.
Re: Question to MIDI experts
[QUOTE=grahamhughes;621168]Hmmm... that 13k you're saving would be the uncompressed size of the .mid file, right? How much difference does it make to the compressed (jar) size?
[/QUOTE]
Virtually none. MIDI gets compressed really well in a jar. You won't notice the difference in jar size. The difference is within the amount of memory needed to load the MIDI.
It's 13k of data I just remove from the file, without it causing any hear-able difference. 13k of NOTE_OFF events. Not sure though how much memory NOTE_OFF events take, but I'm pretty sure loading a 38k MIDI takes more than 38kb memory. I remember having trouble with out first game, when trying to load a 12kb MIDI file on a Nokia 6060. Apparently it ran out of memory despite of very few graphics.
[QUOTE=grahamhughes;621168]
I would say, if you get away with it, great. But test on as many devices as possible.
[/QUOTE]
Yea, that seems to be my options. :)