JJack Example Clients

The JJack example clients serve as a life technology demonstration and as examples for developing more clients. Refer to the JJack documentation for information on how to run these clients.

Copyright © Jens Gulden.
Licensed under the GNU Lesser General Public License (LGPL).

This software comes with NO WARRANTY. See file LICENSE for details.


CONTENTS

GAIN

VU

OSCILLOSCOPE

DELAY

GATE

CHANNEL

SOCKET

CABLE


GAIN

JJack Gain client

Class
de.gulden.application.jjack.clients.Gain
Description
Changes the audio volume.
Type
chainable
Options
volume
The level of amplification in percent. 100% means no change to the signal. Levels above 100% may result in signal distortion.

VU

JJack VU client

Class
de.gulden.application.jjack.clients.VU
Description
Displays the audio signal level as a chain of green, yellow and red LEDs.
Type
monitor
Options
fps
Frames per second. This number specifies how often the display is updated per second.

OSCILLOSCOPE

JJack Oscilloscope client

Class
de.gulden.application.jjack.clients.Oscilloscope
Description
Displays the audio waveform in realtime.
Type
monitor
Options


fps
Frames per second. This number specifies how often the display is updated per second.
zoom
Horizontal zoom. This determines how much data is displayed at a time in the horizontal range of the oscilloscope. Complementary, this also has an effect on the subjective 'speed' with which the oscilloscope is perceived: the higher the zoom factor is (the shorter the piece of waveform is in time), the faster the waveform moves.
amplify
Vertical zoom. This parameter sets the vertical stretching factor for the graphical output (without having any effect on the audio signal). When set to the default value -1.0, the maximum/minimum peak level will fit exactly with the oscilloscope's top/bottom border.

DELAY

JJack Delay client

Class
de.gulden.application.jjack.clients.Delay
Description
Adds an echo effect to the audio signal.
Type
chainable
Options


time
Delay time in milliseconds.
mixSignal
Percentage of incoming signal to be mixed into the delay buffer.
mixFx
Percentage of delayed signal to feed back into the delay buffer.
outSignal
Percentage of incoming signal to be mixed directly to the outgoing signal.
outFx
Percentage of delayed signal to be mixed to the outgoing signal.

GATE

JJack Gate client

Class
de.gulden.application.jjack.clients.Gate
Description
A noise gate that suppresses audio signal below a threshold value. Only if the signal is loud enough, it will be passed through unchanged. (Think of this as an automatic on/off switch, reacting on the incoming volume.)
Type
chainable
Options
attack
Time to react on changes in signal level. A too low level will lead to 'flickering' when the signal level is close to the threshold level. A too high value may cut parts of the signal or make unwanted noise hearable.
threshold
The signal level that is the minimum level to let pass through.

CHANNEL

JJack Channel client

Class
de.gulden.application.jjack.clients.Channel
Description
Selects one channel from a multi-channel input and routes it to the mono output channel #0.
Type
chainable
Options
channel
Index number of input channel that is to be routed to output channel #0.

SOCKET

JJack Socket client

Class
de.gulden.application.jjack.clients.Socket
Description
The starting point to connect clients to when building configurations inside a JavaBeans development environment.
Type
chainable
Options
sampleRate (read-only)
The sample rate with which the native JACK daemon jackd runs.

CABLE

JJack Cable client

Class
de.gulden.application.jjack.clients.Cable
Description
Passes the audio signal through without any change. This is just a null-client.
Type
chainable
Options
-  

Copyright © Jens Gulden and others 2004-2007
Licensed under the LGPL.