Class InstrumentLibraryChooser
java.lang.Object
com.softsynth.jmsl.jsyn2.instruments.InstrumentLibraryChooser
- All Implemented Interfaces:
com.jsyn.swing.PresetSelectionListener
,java.awt.event.ActionListener
,java.util.EventListener
public class InstrumentLibraryChooser
extends java.lang.Object
implements com.jsyn.swing.PresetSelectionListener, java.awt.event.ActionListener
-
Constructor Summary
Constructors Constructor Description InstrumentLibraryChooser(com.jsyn.util.InstrumentLibrary insLib)
-
Method Summary
Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent ev)
int
getSelectedPresetIndex()
com.jsyn.util.VoiceDescription
getSelectedVoiceDescription()
static void
main(java.lang.String[] args)
void
presetSelected(com.jsyn.util.VoiceDescription voiceDescription, int presetIndex)
boolean
show()
void
stopPlaying()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InstrumentLibraryChooser
public InstrumentLibraryChooser(com.jsyn.util.InstrumentLibrary insLib)
-
-
Method Details
-
getSelectedVoiceDescription
public com.jsyn.util.VoiceDescription getSelectedVoiceDescription() -
getSelectedPresetIndex
public int getSelectedPresetIndex() -
show
public boolean show() -
stopPlaying
public void stopPlaying() -
presetSelected
public void presetSelected(com.jsyn.util.VoiceDescription voiceDescription, int presetIndex)- Specified by:
presetSelected
in interfacecom.jsyn.swing.PresetSelectionListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
main
public static void main(java.lang.String[] args)
-