dguitar.codecs.guitarPro
Class GPMIDIChannel

java.lang.Object
  extended bydguitar.codecs.guitarPro.GPMIDIChannel

public class GPMIDIChannel
extends java.lang.Object

This class describes a MIDI channel.

Author:
Matthieu Wipliez

Field Summary
private  int _balance
          Balance.
private  int _chorus
          Chorus.
private  int _instrument
          Instrument.
private  int _phaser
          Phaser.
private  int _reverb
          Reverb.
private  int _tremolo
          Tremolo.
private  int _volume
          Volume.
 
Constructor Summary
GPMIDIChannel()
          Creates a new MIDIChannel
 
Method Summary
 int getBalance()
          Returns this MIDI channel's balance.
 int getChorus()
          Returns this MIDI channel's chorus.
 int getInstrument()
          Returns this MIDI channel's instrument.
 int getPhaser()
          Returns this MIDI channel's phaser.
 int getReverb()
          Returns this MIDI channel's reverb.
 int getTremolo()
          Returns this MIDI channel's tremolo.
 int getVolume()
          Returns this MIDI channel's volume.
 void setBalance(int balance)
          Sets this MIDI channel's balance.
 void setChorus(int chorus)
          Sets this MIDI channel's chorus.
 void setInstrument(int instrument)
          Sets this MIDI channel's instrument.
 void setPhaser(int phaser)
          Sets this MIDI channel's phaser.
 void setReverb(int reverb)
          Sets this MIDI channel's reverb.
 void setTremolo(int tremolo)
          Sets this MIDI channel's tremolo.
 void setVolume(int volume)
          Sets this MIDI channel's volume.
 java.lang.String toString()
          Returns a string representation of this MIDIChannel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_balance

private int _balance
Balance.


_chorus

private int _chorus
Chorus.


_instrument

private int _instrument
Instrument.


_phaser

private int _phaser
Phaser.


_reverb

private int _reverb
Reverb.


_tremolo

private int _tremolo
Tremolo.


_volume

private int _volume
Volume.

Constructor Detail

GPMIDIChannel

public GPMIDIChannel()
Creates a new MIDIChannel

Method Detail

getBalance

public int getBalance()
Returns this MIDI channel's balance.

Returns:
this MIDI channel's balance.

getChorus

public int getChorus()
Returns this MIDI channel's chorus.

Returns:
this MIDI channel's balance.

getInstrument

public int getInstrument()
Returns this MIDI channel's instrument.

Returns:
this MIDI channel's instrument.

getPhaser

public int getPhaser()
Returns this MIDI channel's phaser.

Returns:
this MIDI channel's phaser.

getReverb

public int getReverb()
Returns this MIDI channel's reverb.

Returns:
this MIDI channel's reverb.

getTremolo

public int getTremolo()
Returns this MIDI channel's tremolo.

Returns:
this MIDI channel's tremolo.

getVolume

public int getVolume()
Returns this MIDI channel's volume.

Returns:
this MIDI channel's volume.

setBalance

public void setBalance(int balance)
Sets this MIDI channel's balance.

Parameters:
balance - the balance to set.

setChorus

public void setChorus(int chorus)
Sets this MIDI channel's chorus.

Parameters:
chorus - the chorus to set.

setInstrument

public void setInstrument(int instrument)
Sets this MIDI channel's instrument.

Parameters:
instrument - the instrument to set.

setPhaser

public void setPhaser(int phaser)
Sets this MIDI channel's phaser.

Parameters:
phaser - the phaser to set.

setReverb

public void setReverb(int reverb)
Sets this MIDI channel's reverb.

Parameters:
reverb - the reverb to set.

setTremolo

public void setTremolo(int tremolo)
Sets this MIDI channel's tremolo.

Parameters:
tremolo - the tremolo to set.

setVolume

public void setVolume(int volume)
Sets this MIDI channel's volume.

Parameters:
volume - the volume to set.

toString

public java.lang.String toString()
Returns a string representation of this MIDIChannel.