Polyphonic miditracks and true silent first notes

- Added the mergeTracks method to MidiWriter
- Added a velocity of 0 to be used when the pitch is 0 (initial silent note)