|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable com.softsynth.jsyn.SynthObject com.softsynth.jsyn.SynthSound
public class SynthSound
SynthSound is an interface that is used for the elemental SynthSounds or for collections of units called SynthCircuits
Synth
,
SynthChannelData
Constructor Summary | |
---|---|
SynthSound()
|
|
SynthSound(SynthContext synthContext)
|
Method Summary | |
---|---|
void |
addPort(SynthPort port)
|
void |
addPort(SynthPort port,
java.lang.String alias)
Add a port to a vector that contains all ports for a sound. |
SynthPort |
findNamedPort(java.lang.String name)
|
java.lang.String |
getName()
Returns name. |
int |
getNumPorts()
|
SynthPort |
getPortAt(int index)
|
int |
getPriority()
Get the priority of a sound. |
void |
setPriority(int priority)
Set the priority of a unit. |
void |
setStage(int stage)
|
void |
setStage(int time,
int stage)
Set stage of multi-stage sound. |
void |
start()
Start execution of this instrument immediately. |
void |
start(int time)
Start execution of this instrument by the synthesis process at the specified time in ticks. |
void |
stop()
Stop execution of this instrument immediately. |
void |
stop(int time)
Stop execution of this instrument by the synthesis process at the specified time in ticks. |
Methods inherited from class com.softsynth.jsyn.SynthObject |
---|
delete, deleteAll, enableDeletionByGarbageCollector, enableTracking, getPeer, getSynthContext, isTrackingEnabled, toString, track |
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 |
---|
public SynthSound()
public SynthSound(SynthContext synthContext)
Method Detail |
---|
public void addPort(SynthPort port, java.lang.String alias)
public void addPort(SynthPort port)
public int getNumPorts()
public SynthPort getPortAt(int index)
public SynthPort findNamedPort(java.lang.String name)
public void start(int time) throws SynthException
SynthException
- If peer is invalid.public void start() throws SynthException
SynthException
- If peer is invalid.public void stop(int time) throws SynthException
SynthException
- If token is invalid.public void stop() throws SynthException
SynthException
- If token is invalid.public void setPriority(int priority) throws SynthException
SynthException
- If priority is out of range..public int getPriority() throws SynthException
SynthException
- If unit token is invalid.public void setStage(int time, int stage) throws SynthException
SynthException
- If an error occurs.public void setStage(int stage) throws SynthException
SynthException
public java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |