Tux Guitar

Help

  Forums : Help
Subject Midi sound   Post Reply Post New Topic



Author Message
Jacob Collstrup
Post: Dec 10th 2009 at 10:38 AM   Post Reply

Is it possible to increase the midi quality in tuxguitar?

I've composed a lot of music in GP5. In GP5 I can hear the effects of my music, the mood, harmonies, timbre and texture. All that. Even though its shitty quality in GP5 and GP4 I can geta clear feeling of what the finished music will sound like. I can't get that feeling from the midi coming from tuxguitar. Is there anyway to deal with that?

Best regards,
Jacob


Back to Top
 
Anonymous
Post: Dec 12th 2009 at 2:18 PM   Post Reply

By the way I use OpenSUSE 11, I think it is.

I need to make tuxguitar work, with midi quality at the same level as GP4/GP5. The reason I'm switching is because I can't make GP4 or GP5 make more than 9 tracks, without track 9 and 9+ being the same instrument. I downloaded Timidity, but I don't know how to use it. I downloaded some soundfonts, that didn't help either.

Best regards,
Jacob


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

If you downloaded soundfonts, you can use them with the fluidsynth plugin..
do you have it installed/enabled ??
see at Tools -> Plugins, if it's there.
If yes, you can configure it there, and then select the created ports in Tools -> Settings...

if you don't have it, please let me know what package of tuxguitar did you download, so i can help you to enable it.


Back to Top
 
Anonymous
Post: Dec 15th 2009 at 10:34 PM   Post Reply

Hmmm...I could find the fluidsynth plugin. I configured it by adding my downloaded sound fonts. I then went to Tools --> settings --> Sound and choose the new synth that appeared. After that I had no sounds in TuxGuitar. The sound font I have is this one:
http://www.soundfonts.it/?a=soundfonts&c=18#18
The one called "wavetoy_4.sfpack" Is it because its a soundfont pack?

I forgot to mention, which might be the key to the problem:
I get an error message upon launching tuxguitar: "An error ocurred when trying to init the plugin." I didn't pay attention to it in the start because the program seemed to work.

I'm using Tuxguitar v. 1.2 on OpenSuse 11.1 64 bit on a laptop. Tell me if you need more info. Soundcard seems to be "Intel HDA ALC268". I'm not sure as I don't really know where to look for this kind of info.

Jacob


Back to Top
 
Jacob Collstrup
Post: Dec 16th 2009 at 1:23 AM   Post Reply

I think I did something wrong a while back.

Saturday I was fighting hard to make my laptop record from my V-amp2. I installed Pulse Audio I think. Spent a few hours getting the laptop to use the right input. Then I couldn't make Traverso accept the Line-In as input.

Today I tried using tuxguitar. I set it up like described above. No sound. I managed to get Traverso working though. It worked all of a sudden. Right input and everything. I recorded a small test. After that I turned on Banshee to listen to music. No sound. I could hear my guitar in Traverso, Traverso could successfully playback my recording. But NO other sound works. I can see the signal in Pulse Audio, when Banshee plays music.

Goddammit I don't understand this...while writing this the sound from Banshee came back !! I just turned it on to check which window in Pulse audio would tell me what song was playing. Still no sound in TuxGuitar though, unless I set it back to Gervill.

I'm sorry for all that pointless babbling. I'm very new to Linux and epsecially to OpenSUSE.

Jacob


Back to Top
 
Julian
Post: Dec 17th 2009 at 9:48 PM   Post Reply

This is often caused because pulseaudio locks alsa or oss applications access to write audio data.

Try to make sure that the MIDI Port you have selected in tuxguitar, is using PulseAudio as outpout audio driver.


Back to Top
 
Jacob Collstrup
Post: Dec 21st 2009 at 1:53 PM   Post Reply

I don't see PulseAudio in that list. Maybe I'm looking the wrong place?
This is where I look:
Tools --> Plugins --> Fluidsynth output plugin --> Configure

In that list I can select the following as audio driver:
ALSA
OSS
PortAudio
jack
file

Jacob


Back to Top
 
Julian
Post: Dec 24th 2009 at 4:26 PM   Post Reply

Jacob, FluidSynth have pulseaudio support since 1.0.9 version.

Maybe you have the old 1.0.8 version, that don't have pulse support.


Back to Top
 
Jacob Collstrup
Post: Dec 25th 2009 at 12:03 PM   Post Reply

I have version 1.2 according to the help menu...I think I'll do a reinstall of Tuxguitar...maybe that helps...

Jacob


Back to Top
 
Jacob Collstrup
Post: Dec 25th 2009 at 12:11 PM   Post Reply

Reinstalling didn't help.

I still have version 1.2, but I still can't choose Pulse Audio.

And I still get the error: "An error occured when trying to init the plugin."

Jacob


Back to Top
 
Julian
Post: Dec 25th 2009 at 2:56 PM   Post Reply

hmm no, i mean what fluidsynth version do you have ( not tuxguitar )

to make tuxguitar-fluidsynth plugin work, you must to have libfluidsynth installed on your OS.. and it have it's own version independant of tuxguitar.

>> "An error occured when trying to init the plugin."
Try run the application under a terminal, and paste here the full error log.


Back to Top
 
Jacob Collstrup
Post: Dec 31st 2009 at 1:09 PM   Post Reply

This is the output from the terminal:
jacob@linux-hfvh:~> tuxguitar
using MOZILLA_FIVE_HOME=/usr/lib64/xulrunner-1.9.0.16 and MOZ_PLUGIN_PATH=/usr/lib64/browser-plugins

configure java-environment ...
configuring TuxGuitar ...
starting TuxGuitar application ...
java virtual machine used: /usr/lib64/jvm/jre/bin/java
classpath used: /usr/share/java/TuxGuitar/tuxguitar.jar:/usr/share/java/TuxGuitar/lib/itext-1.4.5.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-converter.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-tray.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-jsa.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-musicxml.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-midi.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-tuner.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-gervill.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-browser-ftp.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-alsa.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-pdf.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-lilypond.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-gtp.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-jack.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-ascii.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-tef.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-ptb.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-community.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-compat.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-fluidsynth.jar:/usr/share/java/TuxGuitar/share/plugins/tuxguitar-oss.jar:/usr/share/java/gervill.jar:/usr/share/java/swt/swt-gtk-3.3.1.1.jar:/usr/share/TuxGuitar
main class used: org.herac.tuxguitar.gui.TGMain
flags used: -Xms128m -Xmx128m
options used: -Djava.library.path=/usr/lib64/xulrunner-1.9.0.16:/usr/lib64/swt:/usr/lib64:/usr/lib/swt:/usr/lib -Dtuxguitar.share.path=usr/share/TuxGuitar
arguments used:
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:46: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:47: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Synchronicity/gtk-2.0/gtkrc:48: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
java.lang.UnsatisfiedLinkError: no tuxguitar-jack-jni in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1689)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.herac.tuxguitar.jack.JackClient.(Unknown Source)
at org.herac.tuxguitar.jack.JackPluginImpl.(Unknown Source)
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.util.TGServiceReader$IteratorImpl.next(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.initPlugins(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.getPluginManager(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
org.herac.tuxguitar.gui.system.plugins.TGPluginException: An error ocurred when trying to init plugin
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.initPlugins(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.getPluginManager(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: java.util.NoSuchElementException
at org.herac.tuxguitar.util.TGServiceReader$IteratorImpl.next(Unknown Source)
... 5 more
/dev/sequencer: No such file or directory
org.herac.tuxguitar.player.base.MidiPlayerException: Failed to open custom soundbank file.
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.loadSoundbank(Unknown Source)
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)
Caused by: javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream
at javax.sound.midi.MidiSystem.getSoundbank(MidiSystem.java:565)
... 9 more

Hmmm....it turns out there was an update for libfluidsynth. I now have version 1.0.9.pm.6.15

Is that the version I need?

Jacob


Back to Top
 

Post Reply

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

Type the characters that you see in the box (6 characters). The code can include characters 0..9 and A..Z.