3
<link rel="stylesheet" href="styles.css" type="text/css">
8
<h1><a name="sound_in_tuxguitar" id="sound_in_tuxguitar">Sound in TuxGuitar</a></h1>
11
<li class="level1"><div class="li"><span class="li"><a href="#sound_in_tuxguitar" class="toc">Sound in TuxGuitar</a></span></div>
13
<li class="level2"><div class="li"><span class="li"><a href="#java_sound" class="toc">Java Sound</a></span></div></li>
14
<li class="level2"><div class="li"><span class="li"><a href="#platform-dependant_plugins" class="toc">Platform-dependant plugins</a></span></div></li>
15
<li class="level2"><div class="li"><span class="li"><a href="#sequencer" class="toc">Sequencer</a></span></div></li></ul>
23
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.
27
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:
30
<li class="level2"><div class="li"> Linux (ALSA) - TuxGuitar-alsa</div>
32
<li class="level2"><div class="li"> Linux (OSS) - TuxGuitar-OSS</div>
34
<li class="level2"><div class="li"> MacOS - TuxGuitar-CoreAudio</div>
36
<li class="level2"><div class="li"> Microsoft Windows - <em>integrated in the application</em></div>
41
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 <a href="tools_plugins.html"> plugins dialog</a>.
46
<h3><a name="java_sound" id="java_sound">Java Sound</a></h3>
50
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 <strong>Configure</strong> button in the <a href="tools_plugins.html"> plugins dialog</a>.<!-- If you get error using soundbanks, check out the <a href="unavailable_soundbank.html">Unavailable Soundbank Error</a>.-->
54
If the plugin is enabled, in the Sound tab of the Tools→Settings dialog you can choose “Java Sound Synthesizer” in the <strong>Midi Port</strong> list. That enables sound output using Java soundbanks.
59
<h3><a name="platform-dependant_plugins" id="platform-dependant_plugins">Platform-dependant plugins</a></h3>
63
If you have TuxGuitar-alsa, TuxGuitar-OSS, TuxGuitar-CoreAudio plugin enabled or if you are running TuxGuitar on the Windows platform TuxGuitar detects your system MIDI ports (devices).
67
So it depends of your system settings, but anyway, if the proper plugin is enabled and working you should see system ports in the <strong>Midi Port</strong> list in the Sound tab of the Tools→Settings dialog. Choosing the right one enables your native MIDI sound in TuxGuitar.
71
If you experience problems using your native MIDI output, consult the help of the plugin you are using.
76
<h3><a name="sequencer" id="sequencer">Sequencer</a></h3>
80
Beside MIDI Port sound options in the Tools→Settings→Sound tab is also <strong>MIDI Sequencer</strong> options. In general, you should use <strong>“Real Time Sequencer”</strong> 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 <strong>“TuxGuitar Sequencer”</strong>. Don’t worry, it is not as bad as it sounds. :)
b'\\ No newline at end of file'