Tux Guitar

Problems

Subject Unavalible Sound Bank Error



Author Message
Jeff
Post: Aug 30th 2006 at 8:24 PM

When I try to playback my tabs in Linux, i get that error. I have to export MIDI, and then play the MIDI files. Is there any way to fix the sound output?


Back to Top
 
Julian
Post: Aug 30th 2006 at 8:39 PM

Hello,
you need download a soundbank file, see here:
http://java.sun.com/products/java-media/sound/soundbanks.html

after get the soundbank, you can put the file in:
your java runtime folder/lib/sound
or you can go to the TuxGuitar config -> sounds and load as custom soundbank.


Back to Top
 
stefan
Post: Nov 12th 2006 at 10:31 AM

this solves not the problem in my case. everytime when i chosse the soundbank in the config-window the program chrashes.


Back to Top
 
Julian
Post: Nov 12th 2006 at 2:38 PM

hello...

>>this solves not the problem in my case.
yes because there is an error on my post :p...
i put "sound" but it is "audio"
the paths are:
JDK_HOME/jre/lib/audio (if is jdk)
JRE_HOME/lib/audio (if is jre)

>>everytime when i chosse the soundbank in the config-window the program >>chrashes
please... run tuxguitar on a terminal, and send me the error messages to see the problem..


Back to Top
 
Hendrik
Post: Jan 22nd 2007 at 1:45 PM

I have the same Problem. I have a soundbank installed ( /opt/sun-jre-bin-1.5.0.09/lib/audio/soundbank.gm exists)
I can select the soundbank in tuxguitar's config but I still get the same error.
My terminal give an error while starting tuxguitar:

javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(MixerSynth.java:154)
at com.sun.media.sound.AbstractMidiDevice.doOpen(AbstractMidiDevice.java:144)
at com.sun.media.sound.AbstractMidiDevice.open(AbstractMidiDevice.java:108)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.setSynthesizer(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.close(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.init(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.(Unknown Source)
at org.herac.tuxguitar.song.managers.SongManager.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.main(Unknown Source)
javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(MixerSynth.java:154)
at com.sun.media.sound.AbstractMidiDevice.doOpen(AbstractMidiDevice.java:144)
at com.sun.media.sound.AbstractMidiDevice.open(AbstractMidiDevice.java:108)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.setSynthesizer(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.init(Unknown Source)
at org.herac.tuxguitar.play.models.defaultplayer.SongPlayer.(Unknown Source)
at org.herac.tuxguitar.song.managers.SongManager.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.main(Unknown Source)


Thanks, Hendrik


Back to Top
 
Julian
Post: Jan 22nd 2007 at 2:15 PM

Hi,
>>I have the same Problem
No, its other problem... :p

"MidiUnavailableException" this is because your JVM can't find any midi device in your system...
do another Midi app works in your system ???

well try this:
1_ chech if snd_seq module is loaded:
"lsmod | grep snd_seq"
you should see a list of results.. (or none if it is not loaded)

2_ load snd_seq if it isn't loaded:
"modprobe snd_seq"
then test if tuxguitar works.. if works, you can put "snd_seq" as new line at /etc/modules to load this module when linux boot..

3_ on some system, its recommended use "alsa oss" as wrapper tu run tuxguitar, you can install alsa oss, and run tuxguitar:
"aoss /tuxguitar_home/tuxguitar"

Let me know if it works... bye.


Back to Top
 
Masti
Post: Jan 29th 2007 at 3:58 PM

Where exactly? My folder system is different and i can't find the audio section nowhere under the lib section...? Do I have to create one? Under Windows XP


Back to Top
 
hernux
Post: Jan 29th 2007 at 4:23 PM

The solution provided by Julian is for linux and unix like systems, modprobe is a command to load and unload kernel modules (drivers).

In this case, he is loading the snd_seq module, which is the alsa midi sequencer.

On windows, on the other hand, this is provided by the sound card driver. It's posible that your sound card driver has no support for midi playback.

Please, post your problem here so we can help you.. just copy and paste the StackTrace.

cheers,
Hernan


Back to Top
 
MauricioGracia
Post: Feb 7th 2007 at 8:52 AM

I have installed this program for a Music Teacher, but she can no hear the music.

How do I solve that ?

Thanks


Back to Top
 
George
Post: Feb 8th 2007 at 2:21 PM

I the same error message for windows, what do i need to download to windows and how do i set it up?


Back to Top
 
Julian
Post: Feb 8th 2007 at 5:19 PM

hi,
"I the same error message".
well, this topic has more than one error posteds..
if you are talking aboult "Unavalible Sound Bank Error"
you need donwload and install a soundbank file at your java virtual machine.
see here:
http://java.sun.com/products/java-media/sound/soundbanks.html

if your error message is other, please post here that error
Bye


Back to Top
 
per
Post: Feb 17th 2009 at 12:50 AM

if tuxguitar echo "Unavalible Sound Bank Error"

maybe there is an other application using the sound card at the same time. Close Rythmbox maybe ...


Back to Top
 
tolinis
Post: Feb 13th 2011 at 4:20 PM

i am amateur with linux so i download and install on audio file in jvm, sound banks deloux but i still hear nothing on tuxguitar


Back to Top