Skip to content

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

@HirenParekh

Description

@HirenParekh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions