Package com.softsynth.jmsl.jsyn
Class SampleInstrumentKeyMapPanel
java.lang.Object
com.softsynth.jmsl.view.PVPanelAdapter
com.softsynth.jmsl.jsyn.SampleInstrumentKeyMapPanel
- All Implemented Interfaces:
PVComponent
,PVPanel
,java.awt.event.ActionListener
,java.util.EventListener
public class SampleInstrumentKeyMapPanel extends PVPanelAdapter implements java.awt.event.ActionListener
Deprecated.
use the pure Java JSyn2 package instead
Panel that provides a sample browser button, and tone generator mapped to a
pitch and a tuning, and a button to sound the sample
- Author:
- Nick Didkovsky, email: nick@didkovsky.com, (c) 2003 Nick Didkovsky, all rights reserved.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
currentDirectory
Deprecated. -
Constructor Summary
Constructors Constructor Description SampleInstrumentKeyMapPanel(SampleInstrumentMapperPanel mapperPanel, SimpleSamplePlayingInstrument ins, com.softsynth.jsyn.SineOscillator osc, FixedRateSampleReader sampleReader, int index)
Deprecated. -
Method Summary
Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
Deprecated.int
getIndex()
Deprecated.java.lang.String
getSampleName()
Deprecated.void
setSampleName(java.lang.String sampleName)
Deprecated.Methods inherited from class com.softsynth.jmsl.view.PVPanelAdapter
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getFont, getLocation, getParent, hashCode, isEnabled, remove, removeAll, removeKeyListener, setBackground, setEnabled, setFont, setLayout, setLocation, setVisible, toString, validate
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
currentDirectory
public static java.lang.String currentDirectoryDeprecated.
-
-
Constructor Details
-
SampleInstrumentKeyMapPanel
public SampleInstrumentKeyMapPanel(SampleInstrumentMapperPanel mapperPanel, SimpleSamplePlayingInstrument ins, com.softsynth.jsyn.SineOscillator osc, FixedRateSampleReader sampleReader, int index)Deprecated.
-
-
Method Details
-
getIndex
public int getIndex()Deprecated. -
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)Deprecated.- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
getSampleName
public java.lang.String getSampleName()Deprecated.- Returns:
- subdirectory and filename of soundfile relative to ins.getDirectory()
-
setSampleName
public void setSampleName(java.lang.String sampleName) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-