de.gulden.framework.jjack
public abstract class JJackMonitor extends JPanel implements JJackAudioProcessorMonitorable, JJackAudioConsumer, JJackAudioProcessListener, JJackConstants
Version: 0.3
See Also: JJackClient JJackBeanInfoAbstract
Field Summary | |
---|---|
protected boolean | active
Flag marking active mode.
|
protected JJackAudioProducer | chained
Chained audio processor.
|
protected JComponent | gui
The GUI component associated with this audio processor. |
protected ArrayList | listenersJJackAudioProcessListener s connected to this processor. |
protected ArrayList | monitors
Monitor-processors connected to this processor. |
protected String | name
The audio processor's name. |
Constructor Summary | |
---|---|
JJackMonitor()
Constructor.
| |
JJackMonitor(String name)
Constructor.
| |
JJackMonitor(boolean active)
Constructor.
| |
JJackMonitor(String name, boolean active)
Constructor.
|
Method Summary | |
---|---|
void | addAudioProcessListener(JJackAudioProcessListener l)
Adds a JJackAudioProcessListener to this audio processor.
|
void | addMonitor(JJackAudioConsumer p)
Adds a monitor processor after this processor.
|
void | afterProcess(JJackAudioEvent e)
Event handler method called after the supervised audio processor
has performed its process() -method.
|
void | beforeProcess(JJackAudioEvent e)
Event handler method called before the supervised audio processor
performs its process() -method.
|
protected JComponent | createUI()
Creates the user interface.
|
static void | exc(Exception e)
Outputs an Exception 's type and message.
|
Collection | getAudioProcessListeners()
Returns all JJackAudioProcessListener s.
|
JJackAudioProducer | getChained()
Returns the next audio processor in chain.
|
String | getInfo()
Returns a short info text about this audio processor.
|
Collection | getMonitors()
Returns all monitor processors currently connected after this processor.
|
String | getName()
Returns the audio processor's name.
|
int | getSampleRate()
Returns the sample rate with which the JACK daemon is running.
|
protected void | initUI()
Initializes the user interface.
|
abstract void | process(JJackAudioEvent e)
Process multiple samples from input buffer to output buffer.
|
void | removeAudioProcessListener(JJackAudioProcessListener l)
Removes a JJackAudioProcessListener from this audio processor.
|
void | removeChained(JJackAudioProducer p)
Removes p as the next audio processor in chain,
if it is the currently chained processor.
|
void | removeMonitor(JJackAudioConsumer p)
Removes a monitor processor from this processor. |
void | setChained(JJackAudioProducer p)
Sets the next audio processor in chain.
|
void | setName(String name)
Sets the audio processor's name.
|
void | updateUI()
Synchronize user interface with parameter values. |
null
if this is the last processor in the chain.JJackAudioProcessListener
s connected to this processor.Parameters: name the processor's name
Parameters: active sets whether to run in active or inactive mode.
See Also: active
Parameters: name the processor's name active sets whether to run in active or inactive mode.
See Also: active
JJackAudioProcessListener
to this audio processor.
Parameters: l the JJackAudioProcessListener
to add
process()
-method.
Parameters: e audio event that has been processed by the supervised audio processor
process()
-method.
Parameters: e audio event that is going to be processed by the supervised audio processor
Returns: visible component with the user interface, or null
if this is an invisible audio processor
Exception
's type and message.
Program execution is not interrupted.
Parameters: e the exception
JJackAudioProcessListener
s.
Returns: Collection of JJackAudioProcessListener
Returns: the next audio processor in chain, null
if no processor is chained to this
Returns: info text, or null
if no info is available
Returns: Collection of JJackAudioConsumer
Returns: the name
Returns: the sample rate in samples per second
See Also: createUI
Parameters: e event object with references to input buffer and output buffer.
JJackAudioProcessListener
from this audio processor.
Parameters: l the JJackAudioProcessListener
to remove
p
as the next audio processor in chain,
if it is the currently chained processor.
Parameters: p the current audio processor in chain
Parameters: p the next audio processor in chain
Parameters: name the name