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
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: didkovn@mail.rockefeller.edu, (c) 2003 Nick
Didkovsky, all rights reserved.
Methods inherited from class com.softsynth.jmsl.view.PVPanelAdapter |
add, add, addKeyListener, equals, getBackground, getBounds, getComponent, getFont, 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 |
currentDirectory
public static java.lang.String currentDirectory
SampleInstrumentKeyMapPanel
public SampleInstrumentKeyMapPanel(SampleInstrumentMapperPanel mapperPanel,
SimpleSamplePlayingInstrument ins,
com.softsynth.jsyn.SineOscillator osc,
FixedRateSampleReader sampleReader,
int index)
getIndex
public int getIndex()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getSampleName
public java.lang.String getSampleName()
- Returns:
- subdirectory and filename of soundfile relative to
ins.getDirectory()
setSampleName
public void setSampleName(java.lang.String sampleName)
throws java.io.IOException
- Throws:
java.io.IOException