MidiLib: refactoring deprecated syntax. not sure I like the new. issue #253