Tux Guitar


  Forums : Help
Subject No sound with timidity

Author Message
Post: Jan 13th 2009 at 3:37 PM

Hello everyone!

I'm writing this to see if you can help me for a little. I'm a debian user (lenny/sid).
Let me explain my two problems.

First, if i try to install&run tuxguitar from my repositories i get this error message:

Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:793)
at org.eclipse.swt.widgets.Display.create(Display.java:781)
at org.eclipse.swt.graphics.Device.(Device.java:145)
at org.eclipse.swt.widgets.Display.(Display.java:452)
at org.eclipse.swt.widgets.Display.(Display.java:443)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)

I searched around but did not find a reason, does any of you know what can be causing the problem?

Second, after i was unable to run tuxguitar from the repos i downloaded a binary version (tuxguitar-1.0-jet). It can be executed, but i have some issues with it.

First: i have no sound using the java synt. If i run tuxguitar with "aoss" script the java sound works fine.
Second: i have timidity installed, running and configured. I also have tuxguitar configured to use it (i've specified timidity client 128 port 0 in tools->sound) but i get no sound. The daemon is up and timidity is able to play .mid files without a problem. Snd_seq is also loaded and the /etc/default/timidity file has ALSAEQ=TRUE and ALSAEQPARAMS = "-Os".

Do you know why the version in the repository does not work?
Do you know why i have no timidity sound in the jet version?

Thanks for all! and excuse my poor english.

Back to Top
Post: Jan 13th 2009 at 4:25 PM


* Do you know why the version in the repository does not work?
This problem was never reported before, so i don't have enougth idea about what can it be.
But, if you say that the official version (that have SWT-3.4 included) works, i think there is a problem on libswt,
any broken dependency.
i have these packages installed:

Try see if you have them installer.

* Do you know why i have no timidity sound in the jet version?
You say that you can play midi files.
but how do you do that ?
timidity as stand alone is one thing, and as a server is another.
i mean,
~$ timidity MyFile.mid
May work, but it isn't working as alsa port.

You should exec this to test if it's really working as server:
~$ aplaymidi --port 128:0 MyFile.mid

>> Snd_seq is also loaded
Yes, it can't be a kernel module problem.. otherwise you wouldn't be able to play sounds with "java synth" too.

Do you have pulse audio, or anything like ?

Try manually run timidity:
~$ timidity -iA -Os

it should open new ports ( maybe 129:* )
try those ports with tuxguitar (or aplaymidi command )

It it works, there is something wrong with the init script.
(or if you have pulseaudio some kind of conflict, known on some distributions )

There is something that i don't have clear..
you pasted me that you have:

But, on my timidity installation, the var names start with "TIM_"

Did you copy/paste from the configuration file ? or just a manual text ?
if not, open /etc/init.d/timidity and make sure that it is using your var names instead TIM_*
otherwise, it may never work.

* Thanks for all! and excuse my poor english.
mine isn't better :)

Back to Top
Post: Jan 13th 2009 at 4:47 PM

About first problem, did you maybe run tuxguitar as "root" ?
I readed that SWT displays this error when it can't connect to X server.
and, i don't remember how debian was as default, but i know that some distributions don't have X configured for root as default.

Back to Top
Post: Jan 13th 2009 at 7:23 PM

Ok i solved everything thanks to you.
The solution to the first problem was the dependences, thank you! i don't know why they did not install at first :S

The problem in the midi server was that it was started without the "-iA" flags. I remember that i removed them due to some old problems with wine, when i ran timidity with them and tried the new ports worked as a charm!

Thanks a lot!

Back to Top
cheap watch
Post: May 10th 2012 at 7:44 AM

How to shop a good replica watches ? It is not a easy question to answer ! You know , There are hundreds of thousands of e-shops selling all brand fake watches . Almost all the e-shops with same decription for the replica watches and same photograph from the offical website . But they are with different price ! In this case , All buyers will feel confused and don't know how to make a decision .

Don't worry . Here we have some suggestion for you to shop IWC high quality watches .

1- When you visit a replica watches shop . The first thing you need to care about is whether the shop is a professional website . If a proffesional site . All the photograhs for brand replica watches like Replica Cartier watches
will be taken by themselves not the ones from the offical sites . A professional site will have their own coopearation factory and sales team . Also you should take about the warranty and guarantee / payment way / security the site provide for the customers and all Rolex Replica watches .
PS : A good site would love to suggest you to pay by more secure payment way , like credit card / master card or paypal . Some faulty site will suggest you to pay by western union or bank transfer . If you deal with a site and only suggest you to pay by western union and offer you a big discount off . Please be awared !

2- Ask for more pictures or video if possible .
A lot of sites sell the Cheap replica watches they don't have or different ones . How we could avoid to get a different Breitling fake watch not what we order ? Before buying a replica watch . You could ask for more photos or even a video for the discount replica watches or swiss watches . Most sites will not be able to offer you a video . But for photos . If the site have the replica watches they advertising . They will have some more photos in store !
Why swiss greubel forsey tourbillion watches need to see video before shipping out ? Because a swiss watch 's whole manufacturing process is complex and it will be able to made 1:1 copy to the original one and full good working functions . So with a video you could see clearly if the Swiss Watches Jaeger Lecoultre Gyrotourbillon is full working .
PS : Sellers Usually not able to offer a video for the swiss watches before your buying . Why ? Because all the Michele swiss watches are specially made after your shopping . So you could ask for extra photos for the swiss watches but not the video .

3- Other Comment for the watches .
A lot of website now have comment for every product they sell . So all these comments are one important keys for Micheal Kors Discount watches you may buy . But not the only . Since different customers may have different request for the quality of the Omega cheap watches . For example , same replica cartier watches with diamond for lady . Customer A will speak highly of it . But Customer B will complain about it . Because the watch can not satisfy customer B .

4-Payment way / Warranty / Security

Payment way
Best and safest way for shopping is Paypal . But nowadays more and more policy limit for shopping a vacheron constantin cheap watches . It is more and more difficult to use paypal as payment ways in a replica watches deal . But credit card / master card also support the Oris brand fake watches . Shopping with a replica watches shop with credit . Your transaction will protect by credit card company and also the online payment system in the store . In fact , you need not worry too much about your business. Because you are safe with credit card company or bank protect your right .

How long a site can warranty replica watches . It depend on how much confidence in their product and the quality of the replica Cartier watches . Take our replica watches shop - www.shopbuynet.com - for examples . All replica watches for sale in our store have at least one year warranty . Best quality watches like Original swiss watches have 5 year warranty covering all damages , Cartier High quality watches like Original Japanese wtches have 3 year warranty covering all damages . Average quality watches like Chinese watches have 1 year warranty . Of course different quality level watches have different price

For a professional shopping site for cheap Franc Vila replica watches
. They have their special security terms for the customers and make sure all the customers' information 100% safe .

For the factors we mention above only some of the ways for shopping a replica watches . There are still more . We will talk future in our next article . Hoping you cold pay attention to it .

Here we would love to talk again about our store - all swiss watches , Replica Cartier watches , cartier watches are on sale . If got interst . Please contact us freely

Back to Top