uk.org.toot.synth.modules.envelope
Class EnvelopeControls

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.control.Control
          extended by uk.org.toot.control.CompoundControl
              extended by uk.org.toot.synth.modules.envelope.EnvelopeControls
All Implemented Interfaces:
EnvelopeVariables

public class EnvelopeControls
extends CompoundControl
implements EnvelopeVariables


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.org.toot.control.CompoundControl
CompoundControl.BypassControl
 
Field Summary
 
Fields inherited from class uk.org.toot.control.CompoundControl
USE_PARENT_PROVIDER_ID
 
Constructor Summary
EnvelopeControls(int id, int instanceIndex, java.lang.String name, int idOffset, float timeMultiplier)
           
EnvelopeControls(int instanceIndex, java.lang.String name, int idOffset)
           
EnvelopeControls(int instanceIndex, java.lang.String name, int idOffset, float timeMultiplier)
           
 
Method Summary
 float getAttackCoeff()
           
 float getDecayCoeff()
           
 int getDelayCount()
           
 int getHoldCount()
           
 float getReleaseCoeff()
           
 float getSustainLevel()
           
 void setSampleRate(int rate)
           
 
Methods inherited from class uk.org.toot.control.CompoundControl
canBeDeleted, canBeInsertedBefore, canBeMinimized, canBeMoved, canBeMovedBefore, deepFind, find, find, find, getAlignmentY, getAlternate, getClientProperty, getControls, getInstanceIndex, getMemberControls, getNativeSupport, getPersistence, getPersistenceDomain, getProviderId, hasCustomUI, hasPresets, isAlwaysHorizontal, isAlwaysVertical, isNeverBordered, isPluginParent, putClientProperty, setEnabled, setPersistence, setProviderId, toString
 
Methods inherited from class uk.org.toot.control.Control
getAnnotation, getControlPath, getControlPath, getId, getIntValue, getName, getParent, getValueString, isAdjusting, isEnabled, isHidden, isIndicator, setAdjusting, setAnnotation, setHidden, setIntValue, setName
 
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
 

Constructor Detail

EnvelopeControls

public EnvelopeControls(int instanceIndex,
                        java.lang.String name,
                        int idOffset)

EnvelopeControls

public EnvelopeControls(int instanceIndex,
                        java.lang.String name,
                        int idOffset,
                        float timeMultiplier)

EnvelopeControls

public EnvelopeControls(int id,
                        int instanceIndex,
                        java.lang.String name,
                        int idOffset,
                        float timeMultiplier)
Method Detail

getDelayCount

public int getDelayCount()
Specified by:
getDelayCount in interface EnvelopeVariables

getAttackCoeff

public float getAttackCoeff()
Specified by:
getAttackCoeff in interface EnvelopeVariables

getHoldCount

public int getHoldCount()
Specified by:
getHoldCount in interface EnvelopeVariables

getDecayCoeff

public float getDecayCoeff()
Specified by:
getDecayCoeff in interface EnvelopeVariables

getSustainLevel

public float getSustainLevel()
Specified by:
getSustainLevel in interface EnvelopeVariables

getReleaseCoeff

public float getReleaseCoeff()
Specified by:
getReleaseCoeff in interface EnvelopeVariables

setSampleRate

public void setSampleRate(int rate)
Specified by:
setSampleRate in interface EnvelopeVariables


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