Tux Guitar

Problems

Subject javax.sound.midi.MidiUnavailableException: Audio D



Author Message
Jarvis
Post: Oct 5th 2007 at 1:19 PM

Hello,
This morning, i tried Tuxguitar on Debian and it worked.

But now i can't play tuxguitar :

tuxguitar
javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(MixerSynth.java:165)
at com.sun.media.sound.AbstractMidiDevice.doOpen(AbstractMidiDevice.java:144)
at com.sun.media.sound.AbstractMidiDevice.open(AbstractMidiDevice.java:108)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.setSynthesizer(MidiPlayerImpl.java:166)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.getSynthesizer(MidiPlayerImpl.java:134)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.init(MidiPlayerImpl.java:98)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.(MidiPlayerImpl.java:87)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.herac.tuxguitar.gui.util.ClassLoaderUtil.newInstance(ClassLoaderUtil.java:30)
at org.herac.tuxguitar.gui.util.ClassLoaderUtil.newInstance(ClassLoaderUtil.java:24)
at org.herac.tuxguitar.gui.TuxGuitar.initPlayer(TuxGuitar.java:293)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(TuxGuitar.java:166)
at org.herac.tuxguitar.gui.TuxGuitar.main(TuxGuitar.java:120)


Back to Top
 
Jarvis
Post: Oct 5th 2007 at 1:31 PM

I deconnect Debian then connect it. It works!
It may be a software like Flash plugin which break audio device:/


Back to Top
 
Julian
Post: Oct 5th 2007 at 1:45 PM

Hi,
that's a "java sound api" problem with some sound cards under GNU/Linux.
it happends when another app is using sound ( a messenger is not a sound app.. but it use sounds ) so you will have the same problems on the future..

see here a possible solution:
http://www.tuxguitar.com.ar/tgwiki/doku.php?id=doc:error_midi_unavailable_linux


Another solution, is install the tuxguitar-alsa plugin.. but there is no an oficial debian package available


Back to Top