replacing deprecated get() and set() calls in Graph MidiLib