uk.org.toot.synth.synths.plucked
Class PluckedSynth

java.lang.Object
  extended by java.util.Observable
      extended by uk.org.toot.midi.core.AbstractMidiDevice
          extended by uk.org.toot.synth.BasicMidiSynth
              extended by uk.org.toot.synth.synths.plucked.PluckedSynth
All Implemented Interfaces:
AudioProcess, AudioDevice, AudioOutput, AudioPort, MidiDevice, MidiInput, MidiPort, MidiTransport, IObservable, MidiSynth

public class PluckedSynth
extends BasicMidiSynth
implements AudioOutput


Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
PluckedSynth(PluckedSynthControls controls)
           
 
Method Summary
 void close()
          Close any resources opened by this AudioProcess.
 void open()
          Open any resources required by this AudioProcess.
 int processAudio(AudioBuffer buffer)
          Process the supplied buffer
 void setLocation(java.lang.String location)
           
 
Methods inherited from class uk.org.toot.synth.BasicMidiSynth
closeAudio, closeMidi, getAudioInputs, getAudioOutputs, getChannel, getChannels, getLocation, transport
 
Methods inherited from class uk.org.toot.midi.core.AbstractMidiDevice
getMidiInputs, getMidiOutputs, getName, toString
 
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
 
Methods inherited from interface uk.org.toot.audio.system.AudioOutput
getLocation
 
Methods inherited from interface uk.org.toot.audio.system.AudioPort
getName
 
Methods inherited from interface uk.org.toot.midi.core.MidiDevice
getMidiInputs, getMidiOutputs, getName
 
Methods inherited from interface uk.org.toot.midi.core.MidiPort
getName
 
Methods inherited from interface uk.org.toot.audio.system.AudioDevice
getName
 
Methods inherited from interface uk.org.toot.misc.IObservable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 

Constructor Detail

PluckedSynth

public PluckedSynth(PluckedSynthControls controls)
Method Detail

setLocation

public void setLocation(java.lang.String location)
Specified by:
setLocation in interface MidiSynth
Overrides:
setLocation in class BasicMidiSynth

open

public void open()
          throws java.lang.Exception
Description copied from interface: AudioProcess
Open any resources required by this AudioProcess.

Specified by:
open in interface AudioProcess
Throws:
java.lang.Exception

processAudio

public int processAudio(AudioBuffer buffer)
Description copied from interface: AudioProcess
Process the supplied buffer

Specified by:
processAudio in interface AudioProcess
Parameters:
buffer - the AudioBuffer to process.
Returns:
int AUDIO_OK or AUDIO_DISCONNECT.

close

public void close()
Description copied from interface: AudioProcess
Close any resources opened by this AudioProcess.

Specified by:
close in interface AudioProcess


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.