@ Override public void send ( MidiMessage message , long timeStamp ) { if ( this . launchpadReceiver != null && message instanceof ShortMessage ) { ShortMessage sm = ( ShortMessage ) message ; Pad pad = Pad . findMidi ( sm ) ; if ( pad != null ) { this . launchpadReceiver . receive ( pad ) ; } } }
Please do not use this method . It s the internal implementation to receive midi commands .