abc4j API Specification

abc.midi
Class TempoMessage

java.lang.Object
  extended by javax.sound.midi.MidiMessage
      extended by javax.sound.midi.MetaMessage
          extended by abc.midi.TempoMessage
All Implemented Interfaces:
java.lang.Cloneable

public class TempoMessage
extends javax.sound.midi.MetaMessage

A midi message to set tempo.


Field Summary
 
Fields inherited from class javax.sound.midi.MetaMessage
META
 
Constructor Summary
TempoMessage(Tempo tempo)
          Creates a midi message to change tempo to the specified tempo.
 
Method Summary
static Tempo getTempo(byte[] bytes)
           
 
Methods inherited from class javax.sound.midi.MetaMessage
clone, getData, getType, setMessage
 
Methods inherited from class javax.sound.midi.MidiMessage
getLength, getMessage, getStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempoMessage

public TempoMessage(Tempo tempo)
Creates a midi message to change tempo to the specified tempo.

Parameters:
tempo - A tempo coming from an abc notation.
Method Detail

getTempo

public static Tempo getTempo(byte[] bytes)

abc4j API Specification

Submit a bug or feature