How to use Tritonus
Can Tritonus be useful for you? This page is trying to give an idea.
There are several situations where Tritonus can be useful for you. Typical situations are:
- You are implementing a Java VM or Java class library. In
this case, you may want to use Tritonus as complete
implementation of the Java Sound API. Read on below under
'Implementor'.
- You are a user of a Java runtime with Java Sound
implementation. In this case, you may want to use parts of
Tritonus to augment your Java runtime. The components you can
use depend on the operating system you are running. Tritonus
emerged as a Java Sound implementation for Linux. This is why
most parts that require support by a native library are
Linux-specific (some can be used on other UNIX-style operating
systems). If you are running Linux or another variant of UNIX,
read on below under 'Linux user'. On the other hand, there are
components that are implemented in pure Java. Obviously, these
can be used on any operating system. If you are running an
operating system different from UNIX-like ones (especially
Windows), read on below under 'Java user'
Implementor
You can (and we appreciate this) adopt Tritonus in your clean
room implementation of Java. kaffe has already done this.
The licence Tritonus uses is the GNU
Lesser General Public License (LGPL). If you think this
doesn't fit, we can discuss the license issue. It is not totally
excluded to change the license or to double-license
Tritonus. However, since changing a license has many implications
and requires much consideration, it is quite unlikely. In case the
license of Tritonus is changed, it is highly likely that we will
adopt a more open one, not a more restrictive one.
If you want to use Tritonus in your implementation, write a
mail to tritonus-devel
Linux user (including UNIX)
Obviously, you can use the components named below under 'Java
user'. Additionally, you can use these components:
- CDDA extraction. The implementation is based on
libcdparanoia, the working hourse of cdparanoia. So the
component should work on any system that has (a moderately
recent version of) cdparanoia. Precompiled binaries are
available for Linux x86.
- Esd Mixer. This is the implementation of a MixerProvider
based on Esound, the Enlightened Sound Daemon. It doesn't give
you much advantage over common JDK implementation besides that
it allows you to share the audio device. The component should
work on any system that has Esound. Precompiled binaries are
available for Linux x86.
- ALSA Mixer and Sequencer. This is an implementation of a
MixerProvider and and MidiDeviceProvider. It is recommanded if
you want high-performance audio or MIDI. Especially, you can use
this mixer to get full-duplex support and MIDI in/out plus a
very stable sequencer. Since ALSA is only available
for Linux, this component is Linux-specific. Precompiled
binaries are available for Linux x86.
To get more information and
download the components, go to Plug-ins
Java user (including Windows)
Sorry, no alternative mixer implementation for Windows
here. However, you can use the following components implemented in
pure Java:
- GSM06.10 codec
- AudioOutputStream architecture
- Ogg Vorbis decoder (under development)
- mp3 decoder (has severe legal problems, and Vorbis is
better)
To get more information and
download the components, go to Plug-ins
Last modified: Fri Jan 31 09:51:49 CET 2003