Tux Guitar

Help

  Forums : Help
Subject I have tuxguitar, and I don't have any sound



Author Message
mandriva user
Post: Dec 22nd 2007 at 12:15 PM

what should I do? it plays but makes no sound what so ever


Back to Top
 
Julian
Post: Dec 22nd 2007 at 12:24 PM

Try run tuxguitar under a terminal...

do you see any error log when you try play the s1ng ???

do you have tuxguitar-alsa plugin installed ???... if yes, make sure you have a software synthesizer (like timidity) installed in your system, and selected on "Plugins -> TuxGuitar Alsa Plugin" dialog


Back to Top
 
Illiad
Post: Dec 22nd 2007 at 10:54 PM

and also once you install the tuxguitar alsa plugin, make sure to change the port to tmidity (if that applies to you, does to mine because I had no sound.)


Back to Top
 
Anonymous
Post: Dec 29th 2007 at 9:57 PM

I've also no sound on 64studio...

I think the explanation about the alsa plugin is a little bit unclear for a none-geak.
I've uncompressed the alsa packages and copied the folder into the .tuxguitar folder in my home folder.
In tuxguitar I selected settings>sound>custom>the plugin from the downloaded alsa package...

When I start tuxguitar I get these messages: dirk@64studio:~$ 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)
javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream
at javax.sound.midi.MidiSystem.getSoundbank(MidiSystem.java:565)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.loadSoundbank(MidiPlayerImpl.java:518)
at org.herac.tuxguitar.player.impl.MidiPlayerImpl.init(MidiPlayerImpl.java:104)
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
 
dirk
Post: Dec 29th 2007 at 10:02 PM

edit: also get this message:

Failed to open custom soundbank file.

And do not understand this advice by the way:

'make sure you have a software synthesizer (like timidity) installed in your system, and selected on "Plugins -> TuxGuitar Alsa Plugin" dialog'

I've installed timidity (no idea how I start that program)..
But where can I find Plugins -> etc??? :/ :(


Back to Top
 
dirk
Post: Dec 29th 2007 at 10:31 PM

Where do I have to make the TUXGUITAR_DIR folder? In my home folder? and in that tuxguitar-dir folder two other folders lib and plugins with the files in it...


Back to Top
 
Julian
Post: Jan 1st 2008 at 2:31 PM

Hi,

> I've uncompressed the alsa packages and copied the folder into the .tuxguitar folder
mmm that's wrong.. "~/.tuxguitar" is the "config" folder, you need install it on the tuxguitar installation folder..

> In tuxguitar I selected settings>sound>custom>
tuxguitar-alsa plugin, don't use soundbanks, so that step is not needed. but because a bug, you should keep it as "default"

> I've installed timidity (no idea how I start that program)..
to launch the timidity daemon excec on a terminal:
timidity -iA -Os &

> But where can I find Plugins -> etc??? :/ :(
if you successfully installed tuxguitar-alsa plugin, you should see a new "Plugins" item on the main menu.

> Where do I have to make the TUXGUITAR_DIR folder?
you don't need make it.. what tuxguitar package did you installed ???
if you installed the .tar.gz, the files are where you uncompressed the files..
you should only make "plugins" dir, on TuxGuitar/share because it don't cames as default.

do you have a 64 bit arch ???
if yes, tuxguitar-alsa was not builded for 64 bit.. you'll need build it from sources

Bye


Back to Top
 
dirk
Post: Jan 4th 2008 at 7:03 PM

First thanks. I like also tuxguitar i've tried it with the soundbank, my compliments!

But I hate that plugin, why is it not in the debian repo?

I've downloaded the binary, unpacked it and placed it in:

root/usr/share/tuxguitar/share/plugins/(the file)
root/usr/share/tuxguitar/lib/(the two files)

But nothing happening...


Back to Top
 
Julian
Post: Jan 5th 2008 at 7:00 PM

Hi,
under debian, tuxguitar was builded with different paths..

> root/usr/share/tuxguitar/share/plugins/(the file)
This should be:
/usr/share/tuxguitar/plugins/plugin_tuxguitar-alsa.properties

>root/usr/share/tuxguitar/lib/(the two files)
The file "TuxGuitar-alsa.jar" should be at the path specified in /usr/share/tuxguitar/plugins/plugin_tuxguitar-alsa.properties

edit that file, and set the plugin.path=/usr/share/java
and then paste the.jar file to that path.
And the .so file, should be at /usr/lib/jni

> why is it not in the debian repo?
i'm not a debian package mantainer.. so i don't know

Bye


Back to Top
 
dirk
Post: Jan 6th 2008 at 1:20 PM

Thanks... ;)

One error left...

java.lang.ClassNotFoundException: org.herac.tuxguitar_alsa.plugin.TGPluginImpl

$ tuxguitar
java.lang.ClassNotFoundException: org.herac.tuxguitar_alsa.plugin.TGPluginImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.herac.tuxguitar.gui.system.plugins.PluginManager.loadPLugin(PluginManager.java:86)
at org.herac.tuxguitar.gui.system.plugins.PluginManager.loadPlugins(PluginManager.java:62)
at org.herac.tuxguitar.gui.TuxGuitar.initPluginManager(TuxGuitar.java:404)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(TuxGuitar.java:157)
at org.herac.tuxguitar.gui.TuxGuitar.main(TuxGuitar.java:120)


Back to Top
 
Julian
Post: Jan 7th 2008 at 7:09 AM

This happends because the .jar file isn't located where "plugin_tuxguitar-alsa.properties" say.

the file "plugin_tuxguitar-alsa.properties" was successfully installed, so now the app is trying load the plugin.

but that file has a wrong "plugin.path"...
well i'm looking now, and i did a mistake:

i sayed you:
plugin.path=/usr/share/java

that's wrong.. the full file path must be there:
plugin.path=/usr/share/java/TuxGuitar-alsa.jar


Back to Top
 
dirk
Post: Jan 7th 2008 at 6:32 PM

solved that problem, but no plugins...

I've changed the path. copied the jar en lib file to the named folders...


Back to Top
 
Julian
Post: Jan 7th 2008 at 6:48 PM

don't you see a new "Plugins" menu item ?

well, there are 3 files, show me the full path of them please..
and show me also the content of your plugin_tuxguitar-alsa.properties


Back to Top
 
Anonymous
Post: Jan 7th 2008 at 6:53 PM

~$ '/usr/share/java/TuxGuitar-alsa.jar'

/usr/lib/jni/libMidiReceiverJNI.so
file:///usr/share/tuxguitar/plugins/plugin_tuxguitar-alsa.properties


plugin.path=/usr/share/java/TuxGuitar-alsa.jar
plugin.class=org.herac.tuxguitar_alsa.plugin.TGPluginImpl


Back to Top
 
Julian
Post: Jan 7th 2008 at 7:23 PM

you should see the plugins menu item..
is there any error log on the terminal ??


Back to Top
 
Anonymous
Post: Jan 10th 2008 at 7:09 PM

No plugin, no errors displayed... :(

tuxguitar 0.9.1-3
alsa plugin binary


Back to Top
 
Gép-Ész
Post: Jan 25th 2008 at 5:12 PM

Hi!

I use Windows, and in my tuxguitar there aren't any sound...
What can i do??? :(

Thanks!


Back to Top
 
Johnny
Post: Jan 25th 2008 at 5:22 PM

Best guess:
http://tuxguitar.com.ar/tgwiki/doku.php?id=doc:error_soundbank


Back to Top
 
Gép-Ész
Post: Jan 25th 2008 at 6:20 PM

I can just use in piano mode... :(
Why? :(


Back to Top
 
Christian Louboutin Wedding Shoes
Post: Apr 17th 2012 at 8:34 AM

Even the packaging around the Christian Louboutin Barbie Shoes Christian Louboutin Ankle Boots is exciting. Each pair of shoes comes in a tiny little box and includes a shoe bag for Cheap Louboutin Sneakers each Christian Louboutin Wedding Shoes pair. No self-respecting owner would want to hide these out of sight, so these nine pairs of Cheap Louboutins fabulous shoes come with a 13-inches tall x 10-inches wide x 3-inches long display box. Best of all, this entire collection can be purchased for less than $60! I wish I could find nine pairs of stunning Louboutin shoes for that price, for my big old human Cheap Louboutin Pumps feet! At that price, this collection is an ideal gift for the Barbie enthusiast's special occasion


Discount Louboutins



Back to Top