updated to use the midi_instance property

- added midi_instance to the constructor
- added send_midi object method
- updated all midi output functions to use the send_midi method instead