Package jmsltutorial
Class SupoveVox
java.lang.Object
- All Implemented Interfaces:
Editable,Instrument,Namable,OutputProvider,Transposable,AttributeBuildable,DirectorySettable,HandleSpecialXMLTag,Tunable
public class SupoveVox extends SamplePlayingInstrument
A subclass of SamplePlayingInstrument which maps pitches to sound files.
Copy and rename this example, change the buildFromAttributes() method.
This Instrument was used by ND to compose Rama Broom, a homicidal fantasy for solo piano and voice for Kathleen Supove
- Author:
- Nick Didkovsky, copyright 2000 Nick Didkovsky, all rights reserved
-
Field Summary
Fields inherited from class com.softsynth.jmsl.jsyn2.SamplePlayingInstrument
POLYPHONY, SAMPLE_CROSSFADED_LOOPING, SAMPLE_LOOPING, SAMPLE_ONE_SHOT -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidbuildFromAttributes()static voidmain(java.lang.String[] args)Create an instance of this class and write it out as an XML fileMethods inherited from class com.softsynth.jmsl.jsyn2.SamplePlayingInstrument
addEditListener, addSamplePitch, addSamplePitch, addSamplePitch, addSamplePitch, allSamplesSameNumberOfChannels, clear, close, edit, getAlternativeSampleIndex, getAudioSamples, getDirectory, getEditEnabled, getNumOutputs, getPitches, getPlaybackMode, getSampleDirectoryName, getSampleFilename, getTuning, handleSpecialTag, notifyEditListeners, off, off, on, open, play, reload, removeEditListener, removeSample, setDirectory, setEditEnabled, setPlaybackMode, setSampleDirectoryName, setTuning, setVoiceAllocatorUnitVoiceName, testSampleDirectory, toString, writeSpecialXMLTagsMethods inherited from class com.softsynth.jmsl.jsyn2.JSynSimpleUnitVoiceInstrument
addSignalSource, getOutput, getOutput, getPolyphony, getPreset, getUnitVoiceArray, getUnitVoiceClassName, getVoiceAllocator, isSignalProcessor, removeAllSignalSources, setPolyphony, setPreset, setUnitVoiceClassNameMethods inherited from class com.softsynth.jmsl.InstrumentAdapter
getDimensionNameSpace, getInterpreter, getMixerClassName, getMusicDevice, getName, getTransposition, noteOff, noteOn, noteOnFor, setDimensionNameSpace, setInterpreter, setMixerClassName, setMusicDevice, setName, setTransposition, updateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SupoveVox
public SupoveVox() -
SupoveVox
public SupoveVox(java.lang.String sampleDirectory)
-
-
Method Details
-
buildFromAttributes
public void buildFromAttributes()- Specified by:
buildFromAttributesin interfaceAttributeBuildable- Overrides:
buildFromAttributesin classSamplePlayingInstrument
-
main
public static void main(java.lang.String[] args)Create an instance of this class and write it out as an XML file
-