uk.org.toot.midix.control.neck
Class ChordShape

java.lang.Object
  extended by uk.org.toot.midix.control.neck.ChordShape

public class ChordShape
extends java.lang.Object


Nested Class Summary
 class ChordShape.Fretting
          A fretting specification for a TunedString If finger < 0 fret position is relative to the nut, fret is normally 0 to represent an open string, but may be (possibly unplayably) elsewhere.
 
Constructor Summary
ChordShape()
           
 
Method Summary
 ChordShape add(int fret, int finger)
           
 ChordShape addMute()
           
 int bias()
          The bias of a ChordShape is defined as the sum of the fret offsets from the root note for every string.
 ChordShape.Fretting getFretting(int string)
           
 boolean isValidAt(int fret)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChordShape

public ChordShape()
Method Detail

getFretting

public ChordShape.Fretting getFretting(int string)

bias

public int bias()
The bias of a ChordShape is defined as the sum of the fret offsets from the root note for every string. Technically the root string shouldn't be included but as it's offset to itself is always zero it's easier to leave it.


add

public ChordShape add(int fret,
                      int finger)

addMute

public ChordShape addMute()

isValidAt

public boolean isValidAt(int fret)


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.