|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.org.toot.synth.SynthChannel
uk.org.toot.synth.MonophonicSynthChannel
public abstract class MonophonicSynthChannel
A SynthChannel which is monophonic. Supports glide, i.e. fingered portamento
| Field Summary |
|---|
| Fields inherited from interface uk.org.toot.audio.core.AudioProcess |
|---|
AUDIO_DISCONNECT, AUDIO_OK |
| Constructor Summary | |
|---|---|
MonophonicSynthChannel(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
allNotesOff()
|
void |
allSoundOff()
|
void |
close()
Close any resources opened by this AudioProcess. |
java.lang.String |
getLocation()
Return a unique string representing the location. |
java.lang.String |
getName()
Return a unique name for this audio port. |
void |
noteOff(int pitch)
|
void |
noteOn(int pitch,
int velocity)
|
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.SynthChannel |
|---|
controlChange, getBendFactor, getChannelPressure, getController, getMono, getMute, getOmni, getPitchBend, getPolyPressure, getProgram, getSolo, localControl, midiFreq, noteOff, programChange, programChange, resetAllControllers, setChannelPressure, setMono, setMute, setOmni, setPitchBend, setPolyPressure, setSolo |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonophonicSynthChannel(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
AudioPort
getName in interface AudioPortpublic void setLocation(java.lang.String location)
setLocation in class SynthChannelpublic java.lang.String getLocation()
AudioOutput
getLocation in interface AudioOutput
public void noteOn(int pitch,
int velocity)
noteOn in interface javax.sound.midi.MidiChannelnoteOn in class SynthChannelpublic void noteOff(int pitch)
noteOff in interface javax.sound.midi.MidiChannelnoteOff in class SynthChannelpublic void open()
AudioProcess
open in interface AudioProcesspublic int processAudio(AudioBuffer buffer)
AudioProcess
processAudio in interface AudioProcessbuffer - the AudioBuffer to process.
public void close()
AudioProcess
close in interface AudioProcesspublic void allNotesOff()
allNotesOff in interface javax.sound.midi.MidiChannelallNotesOff in class SynthChannelpublic void allSoundOff()
allSoundOff in interface javax.sound.midi.MidiChannelallSoundOff in class SynthChannel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||