dguitar.adaptors.guitarPro
Class FretState

java.lang.Object
  extended bydguitar.adaptors.guitarPro.FretState

public class FretState
extends java.lang.Object

This is a workaround for the tie note frets, When a tie note appears in a tab, it is marked as fret 0. Which of course makes things sound really awful until we do tie notes properly. The workaround is to maintain a copy of the fret state for each track.

Author:
Chris

Field Summary
(package private)  int[] fretStates
           
 
Constructor Summary
FretState()
           
 
Method Summary
 int getFretState(int string)
           
 void setFretState(int string, int fret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fretStates

int[] fretStates
Constructor Detail

FretState

public FretState()
Method Detail

setFretState

public void setFretState(int string,
                         int fret)

getFretState

public int getFretState(int string)