|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.rubettes.bigbang.view.player.SmoothOscillatorModule
public class SmoothOscillatorModule
A synthesizer module that can easily be plugged together with others. Input B is where the oscillator is plugged into and input A serves to potentially connect to other modules. Plugging can be done using the insertAfter, insertBetween, and remove methods. A B |/ O
Constructor Summary | |
---|---|
SmoothOscillatorModule(BigBangPlayer player,
int type)
|
Method Summary | |
---|---|
void |
disconnect()
Disconnects this module and reconnects the thing in inputA to the thing in the output. |
SmoothOscillator |
getOscillator()
|
com.jsyn.ports.UnitOutputPort |
getOutput()
|
com.jsyn.ports.UnitOutputPort |
getThingInInputA()
|
com.jsyn.ports.UnitInputPort |
getThingInOutput()
|
int |
getType()
|
void |
insertAfter(SmoothOscillatorModule module)
Inserts this module after (or before) the given one by disconnecting and reconnecting a and o as shown below. |
void |
insertBetween(com.jsyn.ports.UnitOutputPort out,
com.jsyn.ports.UnitInputPort in)
Disconnects the given out from the in and inserts this module between them. |
void |
removeFromSynthAndStop()
|
void |
setType(int moduleType)
Sets the type of this module and creates or replaces the operator unit if needed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SmoothOscillatorModule(BigBangPlayer player, int type)
Method Detail |
---|
public void setType(int moduleType)
public void insertAfter(SmoothOscillatorModule module)
module
- any modulepublic void insertBetween(com.jsyn.ports.UnitOutputPort out, com.jsyn.ports.UnitInputPort in)
out
- a unit connected to the given inin
- a unit connected that the given out is connected topublic void disconnect()
public com.jsyn.ports.UnitInputPort getThingInOutput()
public com.jsyn.ports.UnitOutputPort getThingInInputA()
public SmoothOscillator getOscillator()
public com.jsyn.ports.UnitOutputPort getOutput()
public int getType()
public java.lang.String toString()
toString
in class java.lang.Object
public void removeFromSynthAndStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |