|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.jsyn.JSynMixer
public class JSynMixer
JSynMixer, accomodates JSynInstruments with any number of parts in their getOutput(). Includes LineOut
Constructor Summary | |
---|---|
JSynMixer()
|
Method Summary | |
---|---|
int |
addInstrument(Instrument ins)
When Instruments are added to this Mixer, they are implicitely associated with an autoincrementing fader index. |
int |
addInstrument(Instrument ins,
double pan,
double amp)
Add a JSynInstrument to JSynMixer. |
double |
getAmp(int faderIndex)
|
int[] |
getFaderIndexes(Instrument ins)
faders index(es) associated with an instrument, or NULL if not found |
boolean |
getFaderMute(int faderIndex)
|
boolean |
getFaderSolo(int faderIndex)
|
java.awt.Component |
getGUIComponent()
|
Instrument |
getInstrument(int faderIndex)
Get instrument associated with fader index (some instruments may have more than one fader, so you cannot assume fader n goes with ins n) |
int |
getNumFaders()
|
com.softsynth.jsyn.SynthOutput |
getOutput(int part)
This method is unique to JSynMixer, not part of Mixer interface . |
double |
getPan(int faderIndex)
|
boolean |
hasExtension(java.lang.String fname,
java.lang.String ext)
True if filename ends in 3 letter extension ext. |
static void |
main(java.lang.String[] args)
|
void |
muteChange(int faderIndex,
boolean flag)
|
void |
panAmpChange(int faderIndex,
double pan,
double amp)
|
void |
removeInstrument(Instrument ins)
Remove all faders associated with this instrument |
void |
repatch(Instrument ins)
Sometimes the internals of an instrument change which require that it be repatched |
void |
setFaderMute(int faderIndex,
boolean flag)
|
void |
setFaderSolo(int faderIndex,
boolean flag)
Disconnect non-soloed SynthOutputs, connect soloed SynthOutputs. |
void |
soloChange(int faderIndex,
boolean flag)
|
void |
start()
start()'s BusReaders, LineOut, and all FaderUnits |
void |
stop()
stop()'s BusReaders, LineOut, and all FaderUnits |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSynMixer()
Method Detail |
---|
public int getNumFaders()
getNumFaders
in interface Mixer
public com.softsynth.jsyn.SynthOutput getOutput(int part)
public int addInstrument(Instrument ins)
Mixer
addInstrument
in interface Mixer
public int addInstrument(Instrument ins, double pan, double amp)
addInstrument
in interface Mixer
public void removeInstrument(Instrument ins)
Mixer
removeInstrument
in interface Mixer
public void setFaderMute(int faderIndex, boolean flag)
setFaderMute
in interface Mixer
public void setFaderSolo(int faderIndex, boolean flag)
setFaderSolo
in interface Mixer
public boolean getFaderMute(int faderIndex)
getFaderMute
in interface Mixer
public boolean getFaderSolo(int faderIndex)
getFaderSolo
in interface Mixer
public void muteChange(int faderIndex, boolean flag)
muteChange
in interface PanAmpListener
public void soloChange(int faderIndex, boolean flag)
soloChange
in interface PanAmpListener
public void repatch(Instrument ins)
Mixer
repatch
in interface Mixer
public Instrument getInstrument(int faderIndex)
Mixer
getInstrument
in interface Mixer
public int[] getFaderIndexes(Instrument ins)
Mixer
getFaderIndexes
in interface Mixer
public void start()
start
in interface Mixer
public void stop()
stop
in interface Mixer
public void panAmpChange(int faderIndex, double pan, double amp)
panAmpChange
in interface PanAmpListener
public double getPan(int faderIndex)
getPan
in interface Mixer
public double getAmp(int faderIndex)
getAmp
in interface Mixer
public java.awt.Component getGUIComponent()
getGUIComponent
in interface Mixer
public boolean hasExtension(java.lang.String fname, java.lang.String ext)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |