Tux Guitar

Problems

Subject Tuxguitar no sound



Author Message
kish
Post: Jul 21st 2010 at 8:09 PM

Hi,
Using TuxGuitar - 1.1

Getting this while starting from term

prgname() called multiple times
java.lang.UnsatisfiedLinkError: no pulse-java in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1678)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at org.classpath.icedtea.pulseaudio.SecurityWrapper.loadNativeLibrary(SecurityWrapper.java:27)
at org.classpath.icedtea.pulseaudio.EventLoop.(EventLoop.java:105)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:654)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:95)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
at com.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:914)
at com.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:881)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.open(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.loadOutputPort(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.openOutputPort(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.openOutputPort(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.restorePlayerConfig(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)



Have pulse-java at
/usr/lib/jvm/java-6-openjdk/jre/lib/ext/pulse-java.jar



No sound, ever, using ubuntu.

Any help would be appreciated.


Back to Top
 
Julian
Post: Jul 21st 2010 at 9:02 PM

Yes you have "pulse-java.jar", but it's who requires the native library "libpulse-java.so"
This library should be at: /usr/lib/jvm/java-6-openjdk/jre/lib/i386

Don't you have it ?
it should be an "openjdk-6-jre" package bug.

by the way, this problem happens to you when Gervill synthesizer tries to open the audio driver..
You could modify your openjdk settings to use a different audio driver as default, by modifying "/etc/java-6-openjdk/sound.properties"

or, install timidity or fluidsynth and use them to play sounds from tuxguitar. ( using tuxguitar-alsa plugin )


Back to Top
 
kish
Post: Nov 19th 2010 at 7:21 PM

hi,
Totally forgot about this, had a sudden urge to get it working, tried http://ubuntuforums.org/showthread.php?s=ba21a8a7d45c8f3805710af761523829&t=255089&page=2

Ran timidity and connected to port 129:0 from tuxguitar, now we can rock on.

Thanks a bunch


Back to Top