Package com.softsynth.jmsl.jsyn
Class JSynMusicDevice
java.lang.Object
com.softsynth.jmsl.jsyn.JSynMusicDevice
- All Implemented Interfaces:
Editable
,MusicDevice
public class JSynMusicDevice extends java.lang.Object implements MusicDevice
Deprecated.
use the pure Java JSyn2 package instead
MusicDevice for JSyn. Singleton, use JSynMusicDevice.instance(), since
constructor is not public
- Author:
- Nick Didkovsky, email: nick@didkovsky.com, (c) 2003 Nick Didkovsky, all rights reserved.
-
Method Summary
Modifier and Type Method Description void
addEditListener(EditListener listener)
Deprecated.unimplementedboolean
close()
Deprecated.void
edit(java.awt.Frame f)
Deprecated.Bring up a Dialog for editing, for examplestatic int
fixNumChannels(int numChannels)
Deprecated.boolean
getEditEnabled()
Deprecated.int
getFlags()
Deprecated.double
getFrameRate()
Deprecated.int
getInputDeviceID()
Deprecated.int
getOutputDeviceID()
Deprecated.double
getSuggestedOutputLatency()
Deprecated.static int
getSynthVersion()
Deprecated.static JSynMusicDevice
instance()
Deprecated.static void
main(java.lang.String[] args)
Deprecated.boolean
open()
Deprecated.void
removeEditListener(EditListener listener)
Deprecated.unimplementedvoid
setEditEnabled(boolean flag)
Deprecated.Set a flag.void
setFlags(int flags)
Deprecated.defaults to 0.void
setFrameRate(double frameRate)
Deprecated.Defaults to 44100void
setInputDeviceID(int inputDeviceID)
Deprecated.void
setOutputDeviceID(int outputDeviceID)
Deprecated.void
setSuggestedOutputLatency(double suggestedOutputLatency)
Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
instance
Deprecated. -
fixNumChannels
public static int fixNumChannels(int numChannels)Deprecated. -
setFlags
public void setFlags(int flags)Deprecated.defaults to 0. -
getFlags
public int getFlags()Deprecated. -
setFrameRate
public void setFrameRate(double frameRate)Deprecated.Defaults to 44100- See Also:
Synth
-
getFrameRate
public double getFrameRate()Deprecated. -
getSynthVersion
public static int getSynthVersion()Deprecated. -
open
public final boolean open()Deprecated.- Specified by:
open
in interfaceMusicDevice
-
close
public boolean close()Deprecated.- Specified by:
close
in interfaceMusicDevice
-
addEditListener
Deprecated.unimplemented- Specified by:
addEditListener
in interfaceEditable
-
removeEditListener
Deprecated.unimplemented- Specified by:
removeEditListener
in interfaceEditable
-
edit
public void edit(java.awt.Frame f)Deprecated.Description copied from interface:Editable
Bring up a Dialog for editing, for example -
getSuggestedOutputLatency
public double getSuggestedOutputLatency()Deprecated. -
setSuggestedOutputLatency
public void setSuggestedOutputLatency(double suggestedOutputLatency)Deprecated. -
setEditEnabled
public void setEditEnabled(boolean flag)Deprecated.Description copied from interface:Editable
Set a flag. For example you might setEditEnabled(false) after first edit(), or you might hard code values for some Editable class and so want to disable editing.- Specified by:
setEditEnabled
in interfaceEditable
-
getEditEnabled
public boolean getEditEnabled()Deprecated.- Specified by:
getEditEnabled
in interfaceEditable
- Returns:
- flag
-
getInputDeviceID
public int getInputDeviceID()Deprecated.- Returns:
- Returns the inputDeviceID.
-
setInputDeviceID
public void setInputDeviceID(int inputDeviceID)Deprecated.- Parameters:
inputDeviceID
- The inputDeviceID to set.
-
getOutputDeviceID
public int getOutputDeviceID()Deprecated.- Returns:
- Returns the outputDeviceID.
-
setOutputDeviceID
public void setOutputDeviceID(int outputDeviceID)Deprecated.- Parameters:
outputDeviceID
- The outputDeviceID to set.
-
main
public static void main(java.lang.String[] args)Deprecated.
-