uk.org.toot.synth
Class BasicMidiSynth
java.lang.Object
java.util.Observable
uk.org.toot.midi.core.AbstractMidiDevice
uk.org.toot.synth.BasicMidiSynth
- All Implemented Interfaces:
- AudioDevice, MidiDevice, MidiInput, MidiPort, MidiTransport, IObservable, MidiSynth
- Direct Known Subclasses:
- MultiMidiSynth, PluckedSynth
public abstract class BasicMidiSynth
- extends AbstractMidiDevice
- implements MidiSynth
A BasicMidiSynth is a MidiSynth with 16 SynthChannels which may be set by the user.
So it is multitimbral and each SynthChannel may be a different implementation,
think a multitimbral synth with channel 1 a TX81Z, channel 2 a Moog etc.
- Author:
- st
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicMidiSynth
public BasicMidiSynth(java.lang.String name)
setLocation
public void setLocation(java.lang.String location)
- Specified by:
setLocation
in interface MidiSynth
getLocation
public java.lang.String getLocation()
getChannels
public SynthChannel[] getChannels()
getChannel
public SynthChannel getChannel(int chan)
transport
public void transport(javax.sound.midi.MidiMessage msg,
long timestamp)
- Specified by:
transport
in interface MidiTransport
closeMidi
public void closeMidi()
- Specified by:
closeMidi
in interface MidiDevice
getAudioOutputs
public java.util.List<AudioOutput> getAudioOutputs()
- Description copied from interface:
AudioDevice
- Get the list of AudioOutputs for this AudioDevice.
- Specified by:
getAudioOutputs
in interface AudioDevice
getAudioInputs
public java.util.List<AudioInput> getAudioInputs()
- Description copied from interface:
AudioDevice
- Get the list of AudioInputs for this AudioDevice.
- Specified by:
getAudioInputs
in interface AudioDevice
closeAudio
public void closeAudio()
- Specified by:
closeAudio
in interface AudioDevice
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.