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

sequencer.start() method not generating any sound in Android application. #55

Open
HirenParekh opened this issue Feb 14, 2016 · 0 comments

Comments

@HirenParekh
Copy link

i made a sequencer object as follows
sequencer = MidiSystem.getSequencer();
than open it using open method
sequencer.open();
than i tried to set a sequence and start the sequencer,
InputStream inputStream = getResources().openRawResource(R.raw.airtel_new);
sequence = MidiSystem.getSequence(inputStream);

        sequencer.setSequence(sequence);
        sequencer.start();

But it does not produce any sound in my android application.

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

No branches or pull requests

1 participant