Tux Guitar

TuxGuitar Documentation » Sound in TuxGuitar

Sound in TuxGuitar

First to mention, TuxGuitar is written in Java programming language. There is dedicated layer in Java for MIDI sound, which uses “soundbanks”. In TuxGuitar prior to version 1.0, using the soundbanks was the only way to play the sound, and it was totally independent of your system MIDI settings.

Since the version 1.0 there are some plugins that enable connection between TuxGuitar and the system MIDI devices. You need the plugin depending on your operating system and audio properties:

These plugins are included in your distribution package, so there is no need to download them manually. Just be shure that plugins stay enabled in the plugins dialog.


Java Sound

Java Sound plugin, relying on the soundbanks, is still available in the form of the “Java Sound Api plugin”. You can adjust and change the soundbank with Configure button in the plugins dialog. If you get error using soundbanks, check out the Unavailable Soundbank Error.

If the plugin is enabled, in the Sound tab of the Tools→Settings dialog you can choose “Java Sound Synthesizer” in the Midi Port list. That enables sound output using Java soundbanks.


Platform-dependant plugins

TuxGuitar-ALSA, TuxGuitar-OSS, TuxGuitar-CoreAudio or if you are running TuxGuitar on the Windows platform detect your system MIDI ports (devices).

So it depends of your system settings, but anyway, if the proper plugin is enabled and working you should see system ports in the Midi Port list in the Sound tab of the Tools→Settings dialog. Choosing the right one enables your native MIDI sound in TuxGuitar.

If you experience problems using your native MIDI output, consult the help of the plugin you are using.



Beside MIDI Port sound options in the Tools→Settings→Sound tab is also MIDI Sequencer options. In general, you should use “Real Time Sequencer” because it’s faster, but it needs Java Sound plugin to be enabled, which means it requires Sun Java to be installed. In case you use some other JVM, your only choice is “TuxGuitar Sequencer”. Don’t worry, it is not as bad as it sounds. :)

doc/tuxguitar_sound.txt · Last modified: 2008/03/22 02:37 by johnny

Show pagesource