Tux Guitar

TuxGuitar Documentation » MidiUnavailableException on GNULinux

MidiUnavailableException on GNULinux

Problem:

It means that Java Sound Api, couldn’t load a MIDI device. We know that this problem occurs with some sound cards on GNULinux, but we coludn’t determinate why...

Solution:

The first thing to try is to close all the application that might be using sound output and restarting TuxGuitar after. If it doesn’t work try to change Tools→Settings→Sound→Sequencer to “TuxGuitar Sequencer”.

We could find a possible solution to this problem, but we don’t know if it works on all the soundcards The solution consist in two steps:

  • Load snd_seq module
  • Use alsa-oss as wrapper

Load snd_seq:

To verify if the snd_seq module is already loaded , you must open a console and execute the following command:

$lsmod | grep snd_seq

This command will show a list of the modules loades on the Kernel, on wich should be snd_seq. If the file isn’t on the list, you can load it executing the following command (as root):

$modprobe snd_seq

You can also load this module at GNULinux boot, by adding snd_seq on /etc/modules

Use alsa-oss as wrapper:

This steps consist on execute TuxGuitar with alsa-oss as wrapper:

$aoss tuxguitar

To do this, you must have installed the package alsa-oss on your sistem, it can be downloaded from here


doc/error_midi_unavailable_linux.txt · Last modified: 2008/06/02 18:18 by johnny

Show pagesource
Login