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

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.midi.core.AbstractMidiDevice
          extended by uk.org.toot.midix.control.neck.StrungNeck
All Implemented Interfaces:
MidiDevice, Bendable, IObservable

public class StrungNeck
extends AbstractMidiDevice
implements Bendable


Nested Class Summary
 class StrungNeck.TunedString
           
 
Constructor Summary
StrungNeck(NeckFamily family)
           
StrungNeck(NeckFamily family, int nfrets)
           
 
Method Summary
 void barre(int fret)
           
 void bend(int amount)
           
 void closeMidi()
           
 int getBarreSize()
           
 NeckFamily getFamily()
           
 int getFrets()
           
 java.lang.String getName()
           
 StrungNeck.TunedString getString(int index)
           
 int getStringCount()
           
 java.util.List<StrungNeck.TunedString> getStrings()
           
 StringTuning getTuning()
           
 boolean hasOctaveStrings()
           
 boolean isBending()
           
 void mute()
           
 void setBarreSize(int size)
           
 void setOctaveStrings(boolean oct)
           
 void setProgram(int prg)
           
 void setTuning(StringTuning tuning)
           
 void shape(int offset, ChordShape shape, int firstString)
           
 
Methods inherited from class uk.org.toot.midi.core.AbstractMidiDevice
getMidiInputs, getMidiOutputs, toString
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.org.toot.misc.IObservable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 

Constructor Detail

StrungNeck

public StrungNeck(NeckFamily family)

StrungNeck

public StrungNeck(NeckFamily family,
                  int nfrets)
Method Detail

closeMidi

public void closeMidi()
Specified by:
closeMidi in interface MidiDevice

getName

public java.lang.String getName()
Specified by:
getName in interface MidiDevice
Overrides:
getName in class AbstractMidiDevice

setTuning

public void setTuning(StringTuning tuning)

getTuning

public StringTuning getTuning()

getFamily

public NeckFamily getFamily()

getStrings

public java.util.List<StrungNeck.TunedString> getStrings()

getString

public StrungNeck.TunedString getString(int index)

getStringCount

public int getStringCount()

getFrets

public int getFrets()

setBarreSize

public void setBarreSize(int size)

getBarreSize

public int getBarreSize()

barre

public void barre(int fret)

shape

public void shape(int offset,
                  ChordShape shape,
                  int firstString)

mute

public void mute()

bend

public void bend(int amount)
Specified by:
bend in interface Bendable

isBending

public boolean isBending()

setProgram

public void setProgram(int prg)

setOctaveStrings

public void setOctaveStrings(boolean oct)

hasOctaveStrings

public boolean hasOctaveStrings()


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