org.herac.tuxguitar.gui.editors.chord
Class ChordNamingConvention
java.lang.Object
org.herac.tuxguitar.gui.editors.chord.ChordNamingConvention
public class ChordNamingConvention
- extends java.lang.Object
Creates a chord name String out of given parameters
Method Summary |
java.lang.String |
createChordName(int chordTonic,
int chordIndex,
int alteration,
int plusMinus,
boolean add,
int add5,
int add9,
int add11,
int bassTonic,
boolean sharp)
generates the chord name out of selected items |
java.lang.String |
getTonic(int chordTonic,
boolean sharp)
tonic marks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChordNamingConvention
public ChordNamingConvention()
createChordName
public java.lang.String createChordName(int chordTonic,
int chordIndex,
int alteration,
int plusMinus,
boolean add,
int add5,
int add9,
int add11,
int bassTonic,
boolean sharp)
- generates the chord name out of selected items
getTonic
public java.lang.String getTonic(int chordTonic,
boolean sharp)
- tonic marks