Tux Guitar


Subject wille tux-guitar work with jack somdeday

Author Message
Post: Mar 17th 2007 at 1:14 PM

Do you know if it is planned that tux-guitar runs as a jack application ?

The aims is to be able to play score on a midi keyboard for learning purpose. I get sound from my keyboard with jack and qsynth but i'm looking a solution to start both tux-guitar and jack at the same time.

Idea to be able to share the soundcard between qsynth and tux-guitar, with or without make tux-guitar a real jack app, are welcome.

Anyhow this soft is great !

Back to Top
Post: Mar 17th 2007 at 2:01 PM

QSynth is only a fluidsynth GUI interface.
if you install the "tuxguitar-alsa" plugin,
you'll be able to select a qsynth (fluidsynth) port...

i did this on my PC (with tuxguitar-alsa installed):
$jackd -d alsa -s -S &
$qsynth &
*at tuxguitar menu:
plugins -> Tuxguitar-alsa Plugin:
---> Active Plugin: checked
---> Device: Synth input port (9561:0) 129:0

now tuxguitar is connected with qsynth, and qsynth with jack

Back to Top
Post: Apr 20th 2007 at 3:31 AM

Thanks Julian, it works great. The deal is that i did not have the alsa plugin when i compile from source.

I re installed tux guitar from yast and all is OK now.

This tools is great to learn music, now i have a score editor, that i can run at the same time as fluidsynth, so i can play whith a midi keyboard while tux guitar plays the other instrument. GREAT.

Back to Top
Post: Jun 15th 2007 at 5:28 PM

OMG !!! Didn't know about that !!!

I was thinking that the Alsa-Plugin was used only to make JAVA output...well, I can use fluidsynth/qsynth and hydrogen with tuxguitar now !!! R00x !!!!

Well, since I'm here :

There's a sound error with the 5th frets N.H (Natural Harmonic) : the sound doesn't correspond to what it should...

Back to Top
Post: Jun 15th 2007 at 5:49 PM

Hi Adam, Java Sound Api, don't see ALSA ports..
thats why the plugin was maded. To connect TuxGuitar with alsa ports.

so, if you connect Fluidsynth to Alsa,
TuxGuitar-alsa will be able to use fluidsynth as output.
and as you know, fluidsynth has Jack support.
(i made a test, and i could record a tuxguitar playback under Ardour2 with fluidsynth as synthesizer)

other reasons about alsa plugin are:
*java soundbanks are very limited, because you can found only 3 soundbanks with java compat. (or buy a software to make you custom sounds)

*I send a contact to Sun Microsystems asking if tuxguitar releases could include a soundbank file.. (to fix the "Unavailable Soundbank Error" problem)..
but the answers was NO.

*The most important, i really like timidity and fluidsynth softwares... you can get really good sounds... and you can made you custom sounds.. and they are Free!

Back to Top
Post: Jun 28th 2007 at 4:27 AM

> *at tuxguitar menu:
> plugins -> Tuxguitar-alsa Plugin:

My menu bars contain the options:
File Edit Layout Composition Track Measure Note Market Player Settings Help

Nor do I see plugins as a sub menu in any of them. I'm running version 0.9 which seems to be the latest in the Debian repositories. There does not seem to be any additional packages such as tuxguitar-alsa, only tuxguitar. Amazingly when I originally did an apt-get install tuxguitar it installed Java and it actually worked which really surprised me. I can't say I've ever seen Java run for more than 2 minutes w/o crashing on any platform before, tux guitar is by far the most impressive java app ever written! Even my Nexenta Solaris box can't run Java.

So I take it that qsynth acts as a middleware driver to connect Java to Jack?

Back to Top
Post: Jun 28th 2007 at 7:33 PM


>My menu bars contain the options:
>File Edit Layout Composition Track Measure Note Market Player Settings Help
"Plugins" menu item, is only visible is there is one or more plugins installed.
so you'll see it after install tuxguitar-alsa..

tuxguitar-alsa is not at Debian repositories.
you should download and build the sources.

Back to Top
Michael Bushey
Post: Jul 15th 2008 at 4:38 AM

Tuxguitar 1.0:

In Tuxguitar -> Tools -> plugins
I do have ALSA output plugin checked

In Tuxguitar -> tools -> settings -> sound
Midi Port is set to Synth input port (8152:0) [132:0]

Qjackctl -> Connections shows the output of qsynth going to system playback.

When I hit play on play Tuxguitar the notes light up in red as it moves along but I get no sound output. Any idea how to have it make noise?

Back to Top
Post: Jul 15th 2008 at 10:42 AM

Do you have any synthesizer installed?
Try MIDI troubleshooting in the Wiki... I guess you cannot play any midi file, so when you fix that (install Timidity?) TuxGuitar will work (with another Midi port in tools -> settings -> sound).

Back to Top
Post: Jul 15th 2008 at 12:59 PM

Yes, he is running fluidsynth under jack driver.

does you selected any soundfont on QSynth ?

try play any midi file with other player:
aplaymidi --port 132:0 AnyFile.mid

does it play sounds ?

Back to Top