midi
midi copied to clipboard
ProgramChange
ProgramChange func is not effective. It produces a three bytes message where a two bytes message is expected and does not change the instrument.
Suppressing line 336 in "event.go" ( // binary.Write(buff, binary.BigEndian, e.NewProgram), gave me the result I expect.
BTW "controller" arg in this function seems useless.