org.herac.tuxguitar.io.abc.base
Class ABCEvent
java.lang.Object
org.herac.tuxguitar.io.abc.base.ABCEvent
- All Implemented Interfaces:
- java.lang.Comparable
- public class ABCEvent
- extends java.lang.Object
- implements java.lang.Comparable
- Author:
- peter
Constructor Summary |
ABCEvent(ABCSong song,
java.lang.String name)
|
ABCEvent(int type,
java.lang.String parm,
int value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BAR
public static final int BAR
- See Also:
- Constant Field Values
BAR_BAR
public static final int BAR_BAR
- See Also:
- Constant Field Values
BAR_FATBAR
public static final int BAR_FATBAR
- See Also:
- Constant Field Values
FATBAR_BAR
public static final int FATBAR_BAR
- See Also:
- Constant Field Values
REPEAT_BEGIN
public static final int REPEAT_BEGIN
- See Also:
- Constant Field Values
REPEAT_END
public static final int REPEAT_END
- See Also:
- Constant Field Values
REPEAT_END_AND_START
public static final int REPEAT_END_AND_START
- See Also:
- Constant Field Values
VARIANT
public static final int VARIANT
- See Also:
- Constant Field Values
TIME
public static final int TIME
- See Also:
- Constant Field Values
TEMPO
public static final int TEMPO
- See Also:
- Constant Field Values
CHORD_SYMBOL
public static final int CHORD_SYMBOL
- See Also:
- Constant Field Values
ANNOTATION
public static final int ANNOTATION
- See Also:
- Constant Field Values
CHORD_BEGIN
public static final int CHORD_BEGIN
- See Also:
- Constant Field Values
REST
public static final int REST
- See Also:
- Constant Field Values
NOTE
public static final int NOTE
- See Also:
- Constant Field Values
CHORD_CLOSE
public static final int CHORD_CLOSE
- See Also:
- Constant Field Values
DECORATION
public static final int DECORATION
- See Also:
- Constant Field Values
LINE_BREAK
public static final int LINE_BREAK
- See Also:
- Constant Field Values
NOT_RELEVANT
public static final int NOT_RELEVANT
- See Also:
- Constant Field Values
TRILL
public static final int TRILL
- See Also:
- Constant Field Values
LOWERMORDENT
public static final int LOWERMORDENT
- See Also:
- Constant Field Values
UPPERMORDENT
public static final int UPPERMORDENT
- See Also:
- Constant Field Values
ACCENT
public static final int ACCENT
- See Also:
- Constant Field Values
FERMATA
public static final int FERMATA
- See Also:
- Constant Field Values
INVERTEDFERMATA
public static final int INVERTEDFERMATA
- See Also:
- Constant Field Values
TENUTO
public static final int TENUTO
- See Also:
- Constant Field Values
FINGERING_0
public static final int FINGERING_0
- See Also:
- Constant Field Values
FINGERING_1
public static final int FINGERING_1
- See Also:
- Constant Field Values
FINGERING_2
public static final int FINGERING_2
- See Also:
- Constant Field Values
FINGERING_3
public static final int FINGERING_3
- See Also:
- Constant Field Values
FINGERING_4
public static final int FINGERING_4
- See Also:
- Constant Field Values
FINGERING_5
public static final int FINGERING_5
- See Also:
- Constant Field Values
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
WEDGE
public static final int WEDGE
- See Also:
- Constant Field Values
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
THUMB
public static final int THUMB
- See Also:
- Constant Field Values
TURN
public static final int TURN
- See Also:
- Constant Field Values
ROLL
public static final int ROLL
- See Also:
- Constant Field Values
BREATH
public static final int BREATH
- See Also:
- Constant Field Values
SHORTPHRASE
public static final int SHORTPHRASE
- See Also:
- Constant Field Values
MEDIUMPHRASE
public static final int MEDIUMPHRASE
- See Also:
- Constant Field Values
LONGPHRASE
public static final int LONGPHRASE
- See Also:
- Constant Field Values
SEGNO
public static final int SEGNO
- See Also:
- Constant Field Values
DS
public static final int DS
- See Also:
- Constant Field Values
DSS
public static final int DSS
- See Also:
- Constant Field Values
DC
public static final int DC
- See Also:
- Constant Field Values
DACODA
public static final int DACODA
- See Also:
- Constant Field Values
DACAPO
public static final int DACAPO
- See Also:
- Constant Field Values
ALCODA
public static final int ALCODA
- See Also:
- Constant Field Values
TOCODA
public static final int TOCODA
- See Also:
- Constant Field Values
ALFINE
public static final int ALFINE
- See Also:
- Constant Field Values
FINE
public static final int FINE
- See Also:
- Constant Field Values
CODA
public static final int CODA
- See Also:
- Constant Field Values
STARTCRESCENDO
public static final int STARTCRESCENDO
- See Also:
- Constant Field Values
ENDCRESCENDO
public static final int ENDCRESCENDO
- See Also:
- Constant Field Values
STARTDIMINUENDO
public static final int STARTDIMINUENDO
- See Also:
- Constant Field Values
ENDDIMINUENDO
public static final int ENDDIMINUENDO
- See Also:
- Constant Field Values
PPPP
public static final int PPPP
- See Also:
- Constant Field Values
PPP
public static final int PPP
- See Also:
- Constant Field Values
PP
public static final int PP
- See Also:
- Constant Field Values
P
public static final int P
- See Also:
- Constant Field Values
MP
public static final int MP
- See Also:
- Constant Field Values
MF
public static final int MF
- See Also:
- Constant Field Values
F
public static final int F
- See Also:
- Constant Field Values
FF
public static final int FF
- See Also:
- Constant Field Values
FFF
public static final int FFF
- See Also:
- Constant Field Values
FFFF
public static final int FFFF
- See Also:
- Constant Field Values
SFZ
public static final int SFZ
- See Also:
- Constant Field Values
UPBOW
public static final int UPBOW
- See Also:
- Constant Field Values
DOWNBOW
public static final int DOWNBOW
- See Also:
- Constant Field Values
SLIDE
public static final int SLIDE
- See Also:
- Constant Field Values
TURNX
public static final int TURNX
- See Also:
- Constant Field Values
INVERTEDTURN
public static final int INVERTEDTURN
- See Also:
- Constant Field Values
INVERTEDTURNX
public static final int INVERTEDTURNX
- See Also:
- Constant Field Values
ARPEGGIO
public static final int ARPEGGIO
- See Also:
- Constant Field Values
STARTTRILL
public static final int STARTTRILL
- See Also:
- Constant Field Values
ENDTRILL
public static final int ENDTRILL
- See Also:
- Constant Field Values
STACATODOT
public static final int STACATODOT
- See Also:
- Constant Field Values
GCHORDON
public static final int GCHORDON
- See Also:
- Constant Field Values
GCHORDOFF
public static final int GCHORDOFF
- See Also:
- Constant Field Values
GCHORD
public static final int GCHORD
- See Also:
- Constant Field Values
CHORDPROG
public static final int CHORDPROG
- See Also:
- Constant Field Values
CHORDVOL
public static final int CHORDVOL
- See Also:
- Constant Field Values
BASSPROG
public static final int BASSPROG
- See Also:
- Constant Field Values
BASSVOL
public static final int BASSVOL
- See Also:
- Constant Field Values
DRUMON
public static final int DRUMON
- See Also:
- Constant Field Values
DRUMOFF
public static final int DRUMOFF
- See Also:
- Constant Field Values
DRUM
public static final int DRUM
- See Also:
- Constant Field Values
DRONEON
public static final int DRONEON
- See Also:
- Constant Field Values
DRONEOFF
public static final int DRONEOFF
- See Also:
- Constant Field Values
DRONE
public static final int DRONE
- See Also:
- Constant Field Values
ABCEvent
public ABCEvent(int type,
java.lang.String parm,
int value)
ABCEvent
public ABCEvent(ABCSong song,
java.lang.String name)
clone
public java.lang.Object clone()
setPitchStringAndFret
public void setPitchStringAndFret(int pitch,
int[] strings)
toString
public java.lang.String toString()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getFret
public int getFret()
- Returns:
- the fret
getName
public java.lang.String getName()
- Returns:
- the name
getParm
public java.lang.String getParm()
- Returns:
- the name
getPitch
public int getPitch()
- Returns:
- the pitch
getValue
public int getValue()
- Returns:
- the pitch
getString
public int getString()
- Returns:
- the string
getTicks
public int getTicks()
- Returns:
- the ticks
getType
public int getType()
- Returns:
- the type
setTicks
public void setTicks(int ticks)
- Parameters:
ticks
- the ticks to set
getDecoration
public int getDecoration()
getChordnum
public int getChordnum()
alterString
public void alterString(int string,
int[] strings)
setType
public void setType(int type)
setValue
public void setValue(int value)
setNumerator
public void setNumerator(int value)
setDenominator
public void setDenominator(int d)
getVelocity
public int getVelocity()
setVelocity
public void setVelocity(int velocity)
- Parameters:
velocity
- the velocity to set
setTied
public void setTied(boolean b)
isTied
public boolean isTied()
- Returns:
- the tied
setToEnd
public void setToEnd(boolean b)
isToEnd
public boolean isToEnd()
- Returns:
- the toEnd
getVariant
public int getVariant()
getNumerator
public int getNumerator()
getDenominator
public int getDenominator()
setGrace
public void setGrace(boolean b)
isGrace
public boolean isGrace()
- Returns:
- the grace
getSequence
public int getSequence()
setSequence
public void setSequence(int sequence)
isTriplet
public boolean isTriplet()
setTriplet
public void setTriplet(boolean triplet)
getTripletP
public int getTripletP()
setTripletP
public void setTripletP(int tripletP)
getTripletQ
public int getTripletQ()
setTripletQ
public void setTripletQ(int tripletQ)
getTripletR
public int getTripletR()
setTripletR
public void setTripletR(int tripletR)
setTriplet
public void setTriplet(int p,
int q,
int r)
getLyrics
public java.lang.String[] getLyrics()
setLyrics
public void setLyrics(java.lang.String lyrics)
isStacato
public boolean isStacato()
- Returns:
- the stacato
setStacato
public void setStacato(boolean stacato)
- Parameters:
stacato
- the stacato to set
isLegato
public boolean isLegato()
- Returns:
- the legato
setLegato
public void setLegato(boolean legato)
- Parameters:
legato
- the legato to set