Tux Guitar

Problems

Subject Que tal, estoy usando kub...



Author Message
Alexis
Post: Dec 2nd 2009 at 9:18 PM

Que tal, estoy usando kubuntu 9.10 e instalé openjdk y tux guitar desde synaptic, pero al intentar usar gervill, aparece Midi system unavailable, al ejecutar desde la consola aparece el siguiente error

javax.sound.midi.MidiUnavailableException: javax.sound.sampled.LineUnavailableException
at com.sun.media.sound.SoftSynthesizer.open(SoftSynthesizer.java:963)
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.player.base.MidiPlayer.openOutputPort(Unknown Source)
at org.herac.tuxguitar.gui.system.config.items.SoundOption.applyConfig(Unknown Source)
at org.herac.tuxguitar.gui.system.config.TGConfigEditor$4.run(Unknown Source)
at java.lang.Thread.run(Thread.java:636)
org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.base.MidiPlayer.play(Unknown Source)
at org.herac.tuxguitar.gui.transport.TGTransport.play(Unknown Source)
at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(Unknown Source)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$2.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.check(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.checkDevices(Unknown Source)
... 12 more

si cambio el puerto midi al de Alsa, funciona y no me da el error, es solo con gervill.


Back to Top
 
Julian
Post: Dec 13th 2009 at 3:57 PM

Intenta editar el archivo
/etc/java-6-openjdk/sound.properties

Y descomenta ( borrar # ) las lineas:

javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
javax.sound.sampled.Port=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider
javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider

Y comenta las que no estaban comentadas.


Back to Top
 
lica
Post: Mar 1st 2010 at 1:54 AM

perfecto todo el dia intente mucchas cosas y nada haste llegar aqui tal vez me pudieras ayudar con apollon aunque no tiene nada que ver,gracias hice exactamente eso y funciono


Back to Top