ads
Interface TrackObject


public interface TrackObject

Probably will be removed.


Field Summary
static AudioTrack audioTrack
           
static java.lang.String fileName
           
static int inputDevice
           
static int inputLine
           
static int inputPort
           
static int key
           
static long length
           
static java.lang.String name
           
static int outputDevice
           
static int outputLine
           
static int outputPort
           
static int tempo
           
static int trackNum
           
static int type
           
static int volume
           
 
Method Summary
 java.lang.String getFileName()
          The fully quaified name of this file.
 int getInputDevice()
          Returns the current Input Device for this Track
 int getInputLine()
          Returns the current Input Line for this Track
 int getInputPort()
          Returns the current Input Port for this Track
 int getKey()
          Returns the current Key for this track
 long getLength()
          Length in microseconds.
 java.lang.String getName()
          Track name
 int getOutputDevice()
          Returns the current Output Device for this Track
 int getOutputLine()
          Returns the current Output Line for this Track
 int getOutputPort()
          Returns the current Output Port for this Track
 int getTempo()
          Returns the Tempo in beats per minute
 int getTrackNum()
          Returns theTrack Number
 int getType()
          0=audio, 1=midi, 2=loop
 int getVolume()
          Returns the Volume- 0-127
 void setFileName(java.lang.String n)
          The fully quaified name of this file.
 void setInputDevice(int n)
          Sets the current Input Device for this Track
 void setInputLine(int n)
          Sets the current Input Line for this Track
 void setInputPort(int n)
          Sets the current Input Port for this Track
 void setKey(int n)
          Sets the current Key for this track
 void setLength(long n)
          Length in microseconds.
 void setName(java.lang.String n)
          Track name
 void setOutputDevice(int n)
          Sets the current Output Device for this Track
 void setOutputLine(int n)
          Sets the current Ouput Line for this Track
 void setOutputPort(int n)
          Sets the current Output Port for this Track
 void setTempo(int n)
          Sets the Tempo in beats per minute
 void setTrackNum(int n)
          Sets theTrack Number
 void setType(int n)
          0=audio, 1=midi, 2=loop
 void setVolume(int n)
          Sets the Volume- 0-127
 

Field Detail

audioTrack

public static final AudioTrack audioTrack

trackNum

public static final int trackNum
See Also:
Constant Field Values

type

public static final int type
See Also:
Constant Field Values

length

public static final long length
See Also:
Constant Field Values

name

public static final java.lang.String name

fileName

public static final java.lang.String fileName

volume

public static final int volume
See Also:
Constant Field Values

tempo

public static final int tempo
See Also:
Constant Field Values

key

public static final int key
See Also:
Constant Field Values

inputDevice

public static final int inputDevice
See Also:
Constant Field Values

outputDevice

public static final int outputDevice
See Also:
Constant Field Values

inputLine

public static final int inputLine
See Also:
Constant Field Values

outputLine

public static final int outputLine
See Also:
Constant Field Values

inputPort

public static final int inputPort
See Also:
Constant Field Values

outputPort

public static final int outputPort
See Also:
Constant Field Values
Method Detail

getTrackNum

public int getTrackNum()
Returns theTrack Number


setTrackNum

public void setTrackNum(int n)
Sets theTrack Number


getType

public int getType()
0=audio, 1=midi, 2=loop


setType

public void setType(int n)
0=audio, 1=midi, 2=loop


getLength

public long getLength()
Length in microseconds.


setLength

public void setLength(long n)
Length in microseconds.


getName

public java.lang.String getName()
Track name


setName

public void setName(java.lang.String n)
Track name


getFileName

public java.lang.String getFileName()
The fully quaified name of this file.


setFileName

public void setFileName(java.lang.String n)
The fully quaified name of this file.


getVolume

public int getVolume()
Returns the Volume- 0-127


setVolume

public void setVolume(int n)
Sets the Volume- 0-127


getTempo

public int getTempo()
Returns the Tempo in beats per minute


setTempo

public void setTempo(int n)
Sets the Tempo in beats per minute


getKey

public int getKey()
Returns the current Key for this track


setKey

public void setKey(int n)
Sets the current Key for this track


getInputDevice

public int getInputDevice()
Returns the current Input Device for this Track


setInputDevice

public void setInputDevice(int n)
Sets the current Input Device for this Track


getOutputDevice

public int getOutputDevice()
Returns the current Output Device for this Track


setOutputDevice

public void setOutputDevice(int n)
Sets the current Output Device for this Track


getInputLine

public int getInputLine()
Returns the current Input Line for this Track


setInputLine

public void setInputLine(int n)
Sets the current Input Line for this Track


getOutputLine

public int getOutputLine()
Returns the current Output Line for this Track


setOutputLine

public void setOutputLine(int n)
Sets the current Ouput Line for this Track


getInputPort

public int getInputPort()
Returns the current Input Port for this Track


setInputPort

public void setInputPort(int n)
Sets the current Input Port for this Track


getOutputPort

public int getOutputPort()
Returns the current Output Port for this Track


setOutputPort

public void setOutputPort(int n)
Sets the current Output Port for this Track