DixShtix

com.dixshtix.midi
Class Value

java.lang.Object
  |
  +--java.lang.Number
        |
        +--com.dixshtix.midi.MidiNumber
              |
              +--com.dixshtix.midi.Value
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Value
extends MidiNumber

Controls are set to a Value. The effect that the value has depends greatly on the Controller. The value may be proportional to 0 ... 127, or offset: -64 .. +63, or off/on 0, 127.

Version:
0.1
Author:
Richard C. Penner II
See Also:
Controller, EventStatus.ksbControlChange, EventType.kControlChange, Serialized Form

Fields inherited from class com.dixshtix.midi.MidiNumber
number
 
Fields inherited from class java.lang.Number
serialVersionUID
 
Constructor Summary
Value(int num)
          Initializer.
 
Method Summary
 java.lang.String toString()
          Produce a short, human-readable string.
 
Methods inherited from class com.dixshtix.midi.MidiNumber
byteValue, doubleValue, equals, floatValue, hashCode, intValue, longValue, shortValue
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Value

public Value(int num)
Initializer.
Parameters:
num - is in the range 0 .. 127.
Method Detail

toString

public java.lang.String toString()
Produce a short, human-readable string.
Overrides:
toString in class MidiNumber
Returns:
String in the format Value[num].

DixShtix