java midi latency
问题 I´m trying to make a java application that is able to play notes on the computer after detecting a midi device. Once I get the desired midi device I´m seting the receiver to which the device´s transmitter will deliver MIDI messages. device.getTransmitter().setReceiver( new MyReceiver()) ; class MyReceiver looks like: public class MyReceiver implements Receiver { MidiChannel[] channels ; public MyReceiver (){ try { Synthesizer synthesizer = MidiSystem.getSynthesizer(); synthesizer.open();