We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to play .mid file with this library?
The text was updated successfully, but these errors were encountered:
Hi! I was trying to undestand it...
You need to add the MidiDevice to MidiSystem.... Next.. load a Secuence and put it into a Secuencer.....
Using the synth of the example module:
MidiSystem.addMidiDevice(synth); InputStream is = context.getAssets().open("midi file dir here!"); StandardMidiFileReader fileReader = new StandardMidiFileReader(); Sequence s = fileReader.getSequence(is); Sequencer sequencer = MidiSystem.getSequencer(); sequencer.open(); sequencer.setSequence(s); sequencer.start();
Sorry, something went wrong.
o, this way can't working
No branches or pull requests
How to play .mid file with this library?
The text was updated successfully, but these errors were encountered: