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 Details

    • instance

      public static JSynMusicDevice 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 interface MusicDevice
    • close

      public boolean close()
      Deprecated.
      Specified by:
      close in interface MusicDevice
    • addEditListener

      public void addEditListener​(EditListener listener)
      Deprecated.
      unimplemented
      Specified by:
      addEditListener in interface Editable
    • removeEditListener

      public void removeEditListener​(EditListener listener)
      Deprecated.
      unimplemented
      Specified by:
      removeEditListener in interface Editable
    • edit

      public void edit​(java.awt.Frame f)
      Deprecated.
      Description copied from interface: Editable
      Bring up a Dialog for editing, for example
      Specified by:
      edit in interface Editable
    • 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 interface Editable
    • getEditEnabled

      public boolean getEditEnabled()
      Deprecated.
      Specified by:
      getEditEnabled in interface Editable
      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.