Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Track info to MIDIMessages #9

Open
Sammy1Am opened this issue May 13, 2018 · 0 comments
Open

Add Track info to MIDIMessages #9

Sammy1Am opened this issue May 13, 2018 · 0 comments

Comments

@Sammy1Am
Copy link
Owner

Adding track info to MidiMessages would allow message routing based on tracks instead of channels (so that you could compose MIDI files for more than 16 individual instruments). However the current implementation of RealTimeSequencer and MidiMessage doesn't pass any track number information via the MidiMessage (i.e. once the message has reached the sequencer we have no idea which track it came from).

Adding support is technically easy (add a trackNumber field to the MidiMessage class and populate it in the RealTimeSequencer), but practically difficult as it would mean needing to reimplement the RealTimeSequencer and the current source license isn't compatible with the goals here.

If anyone happens to know of an alternative implementation of a MIDI sequencer in Java (ideally licensed under the Apache or MIT licences) it might be a lot easier to leverage that code to replace the default Java sequencer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant