Setting the channel correctly when building MIDI messages