|
|||||||||
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 com.softsynth.jsyn.SynthCircuit com.softsynth.jsyn.SynthMixer
public class SynthMixer
SynthMixer class for Java Audio Synthesis.
Constructs an NxM array of gain elements using MultiPlyAddUnits.
Extra outputs can be created and used for "effect sends".
Connect the output of the mixer to a LineOut to hear the mixed results,
or send some output channels to effects processors.
Synth
,
BusReader
,
MultiplyAddUnit
,
LineOut
Field Summary |
---|
Fields inherited from class com.softsynth.jsyn.SynthCircuit |
---|
output |
Constructor Summary | |
---|---|
SynthMixer(int numInputs,
int numOutputs)
|
|
SynthMixer(SynthContext synthContext,
int numInputs,
int numOutputs)
Construct a mixer with numInputs and numOutputs. |
Method Summary | |
---|---|
void |
connectInput(int inputIndex,
SynthOutput port,
int partNum)
Connect a SynthOutput port to an input of the mixer. |
void |
connectOutput(int outputIndex,
SynthInput port,
int partNum)
Connect an output of the mixer to a SynthInput port. |
SynthOutput |
getOutput(int outputIndex)
Get the output port associated with the given index. |
void |
setGain(int inputIndex,
int outputIndex,
double gain)
Specify the amount of the indexed input that is added to the indexed output. |
void |
setGain(int time,
int inputIndex,
int outputIndex,
double gain)
Specify the amount of the indexed input that is added to the indexed output at the specified time. |
Methods inherited from class com.softsynth.jsyn.SynthCircuit |
---|
add, compile, delete, getPeer, loadByName |
Methods inherited from class com.softsynth.jsyn.SynthSound |
---|
addPort, addPort, findNamedPort, getName, getNumPorts, getPortAt, getPriority, setPriority, setStage, setStage, start, start, stop, stop |
Methods inherited from class com.softsynth.jsyn.SynthObject |
---|
deleteAll, enableDeletionByGarbageCollector, enableTracking, 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 SynthMixer(int numInputs, int numOutputs) throws SynthException
SynthException
public SynthMixer(SynthContext synthContext, int numInputs, int numOutputs) throws SynthException
SynthException
- If allocation fails.Method Detail |
---|
public void connectInput(int inputIndex, SynthOutput port, int partNum) throws SynthException
SynthException
- If index or partNum are out of range.public SynthOutput getOutput(int outputIndex)
public void connectOutput(int outputIndex, SynthInput port, int partNum) throws SynthException
SynthException
- If index or partNum are out of range.public void setGain(int inputIndex, int outputIndex, double gain) throws SynthException
SynthException
- If index or partNum are out of range.public void setGain(int time, int inputIndex, int outputIndex, double gain) throws SynthException
SynthException
- If index or partNum are out of range.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |