|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.softsynth.jmsl.NullMixer
public class NullMixer
This Mixer does very little other than implement some methods for debugging and development. You can add Instruments to this mixer but don't expect them to do anything.
| Constructor Summary | |
|---|---|
NullMixer()
|
|
| 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 Instrument with initial pan and amp values. |
double |
getAmp(int faderIndex)
|
int[] |
getFaderIndexes(Instrument ins)
faders index(es) associated with an instrument, or NULL if not found |
boolean |
getFaderMute(int faderNumer)
FALSE |
boolean |
getFaderSolo(int faderNumer)
FALSE |
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()
|
double |
getPan(int faderIndex)
|
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)
Does nothing |
void |
setFaderMute(int faderNumber,
boolean flag)
Does nothing |
void |
setFaderSolo(int faderNumber,
boolean flag)
Does nothing |
void |
soloChange(int faderIndex,
boolean flag)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullMixer()
| Method Detail |
|---|
public int addInstrument(Instrument ins)
Mixer
addInstrument in interface Mixer
public int addInstrument(Instrument ins,
double pan,
double amp)
Mixer
addInstrument in interface Mixerpublic void removeInstrument(Instrument ins)
Mixer
removeInstrument in interface Mixerpublic void repatch(Instrument ins)
repatch in interface Mixer
public void setFaderMute(int faderNumber,
boolean flag)
setFaderMute in interface Mixer
public void setFaderSolo(int faderNumber,
boolean flag)
setFaderSolo in interface Mixerpublic boolean getFaderMute(int faderNumer)
getFaderMute in interface Mixerpublic boolean getFaderSolo(int faderNumer)
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 PanAmpListenerpublic Instrument getInstrument(int faderIndex)
Mixer
getInstrument in interface Mixerpublic int[] getFaderIndexes(Instrument ins)
Mixer
getFaderIndexes in interface Mixerpublic int getNumFaders()
getNumFaders in interface Mixerpublic void start()
start in interface Mixerpublic void stop()
stop in interface Mixer
public void panAmpChange(int faderIndex,
double pan,
double amp)
panAmpChange in interface PanAmpListenerpublic double getPan(int faderIndex)
getPan in interface Mixerpublic double getAmp(int faderIndex)
getAmp in interface Mixerpublic static void main(java.lang.String[] args)
public java.awt.Component getGUIComponent()
getGUIComponent in interface Mixer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||