is Playing Midi - Java javax.sound.midi

Java examples for javax.sound.midi:MidiSystem

Description

is Playing Midi

Demo Code


//package com.java2s;

import javax.sound.midi.Sequencer;

public class Main {

    private static Sequencer sequencer;

    public static boolean isPlayingMidi() {
        return sequencer.isRunning();
    }/*from w ww. j  a  v a  2 s  .  c om*/
}

Related Tutorials