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

java.lang.Object
  extended by uk.org.toot.midix.control.neck.ChordShape.Fretting
Enclosing class:
ChordShape

public class ChordShape.Fretting
extends java.lang.Object

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. Because fret position is absolute, negative values are invalid as fret positions and so are encoded as follows: -1, -1 is muted If finger >= 0 fret position is relative some other position, usually the offset of the ChordShape which owns this Fretting. Negative values are valid relative fret positions.


Field Summary
 int finger
           
 int fret
           
 
Constructor Summary
ChordShape.Fretting(int aFret, int aFinger)
           
 
Method Summary
 boolean isMuted()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fret

public int fret

finger

public int finger
Constructor Detail

ChordShape.Fretting

public ChordShape.Fretting(int aFret,
                           int aFinger)
Method Detail

isMuted

public boolean isMuted()


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