|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.jsyn.JSynMusicDevice
public class JSynMusicDevice
MusicDevice for JSyn. Singleton, use JSynMusicDevice.instance(), since constructor is not public
Method Summary | |
---|---|
void |
addEditListener(EditListener listener)
unimplemented |
void |
close()
|
void |
edit(java.awt.Frame f)
Bring up a Dialog for editing, for example |
static int |
fixNumChannels(int numChannels)
|
boolean |
getEditEnabled()
|
int |
getFlags()
|
double |
getFrameRate()
|
int |
getInputDeviceID()
|
int |
getOutputDeviceID()
|
static JSynMusicDevice |
instance()
|
static void |
main(java.lang.String[] args)
|
void |
open()
|
void |
removeEditListener(EditListener listener)
unimplemented |
void |
setEditEnabled(boolean flag)
Set a flag. |
void |
setFlags(int flags)
defaults to 0. |
void |
setFrameRate(double frameRate)
Defaults to 44100 |
void |
setInputDeviceID(int inputDeviceID)
|
void |
setOutputDeviceID(int outputDeviceID)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JSynMusicDevice instance()
public static int fixNumChannels(int numChannels)
public void setFlags(int flags)
com.softsynth.jsyn.Synth.startEngine(flags, framerate)
public int getFlags()
public void setFrameRate(double frameRate)
Synth
public double getFrameRate()
public void open()
open
in interface MusicDevice
public void close()
close
in interface MusicDevice
public void addEditListener(EditListener listener)
addEditListener
in interface Editable
public void removeEditListener(EditListener listener)
removeEditListener
in interface Editable
public void edit(java.awt.Frame f)
Editable
edit
in interface Editable
public void setEditEnabled(boolean flag)
Editable
setEditEnabled
in interface Editable
public boolean getEditEnabled()
getEditEnabled
in interface Editable
public int getInputDeviceID()
public void setInputDeviceID(int inputDeviceID)
inputDeviceID
- The inputDeviceID to set.public int getOutputDeviceID()
public void setOutputDeviceID(int outputDeviceID)
outputDeviceID
- The outputDeviceID to set.public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |