com.frinika.synth.synths
Class MySampler
java.lang.Object
com.frinika.synth.Synth
com.frinika.synth.synths.MySampler
- All Implemented Interfaces:
- javax.sound.midi.MidiChannel
public class MySampler
- extends Synth
- Author:
- Peter Johan Salomonsen
Methods inherited from class com.frinika.synth.Synth |
addInstrumentNameListener, addOscillator, allNotesOff, allSoundOff, controlChange, getAudioOutput, getChannelPressure, getController, getFrinikaSynth, getInstrumentName, getMono, getMute, getOmni, getPitchBend, getPolyPressure, getPostOscillator, getPreOscillator, getProgram, getSolo, localControl, noteOff, noteOff, programChange, programChange, removeInstrumentNameListener, resetAllControllers, setChannelPressure, setInstrumentName, setMono, setMute, setOmni, setPitchBend, setPolyPressure, setSolo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
exclusiveClasses
protected java.util.HashMap<java.lang.Integer,java.util.Vector<MySampler.SoundFontOscillator>> exclusiveClasses
sfi
public SoundFontImporter sfi
samplerOscillator
public SamplerOscillator samplerOscillator
gui
public SamplerGUI gui
sampledSounds
public SampledSoundSettings[][] sampledSounds
recordMode
public int recordMode
RECORDMODE_SINGLE_KEY
public static final int RECORDMODE_SINGLE_KEY
- See Also:
- Constant Field Values
RECORDMODE_ALL_KEYS
public static final int RECORDMODE_ALL_KEYS
- See Also:
- Constant Field Values
RECORDMODE_SELECTION
public static final int RECORDMODE_SELECTION
- See Also:
- Constant Field Values
SAMPLEMODE_NO_LOOP
public static final int SAMPLEMODE_NO_LOOP
- See Also:
- Constant Field Values
SAMPLEMODE_LOOP_CONTINOUSLY
public static final int SAMPLEMODE_LOOP_CONTINOUSLY
- See Also:
- Constant Field Values
SAMPLEMODE_LOOP_UNTIL_RELEASE
public static final int SAMPLEMODE_LOOP_UNTIL_RELEASE
- See Also:
- Constant Field Values
MySampler
public MySampler(SynthRack synth)
getImporter
public SoundFontImporter getImporter()
insertSample
public void insertSample(SampledSoundSettings snd,
int noteNumber,
int velocity)
loadSettings
public void loadSettings(java.io.Serializable settings)
- Specified by:
loadSettings
in class Synth
getSettings
public java.io.Serializable getSettings()
- Specified by:
getSettings
in class Synth
getSamplerSettings
public SamplerSettings getSamplerSettings()
close
public void close()
- Overrides:
close
in class Synth
noteOn
public void noteOn(int noteNumber,
int velocity)
showGUI
public void showGUI()
- Overrides:
showGUI
in class Synth
toString
public java.lang.String toString()
- Overrides:
toString
in class Synth