public static boolean isTempoMessage ( MetaMessage message ) { return ( message . getType ( ) == MidiMessageType . MARKER && message . getData ( ) [ 0 ] == MidiMessageType . TEMPO_CHANGE ) ; }
Checks the first byte of the data part of the message to check if it is a tempo message or not .