Tux Guitar

Help

  Forums : Help
Subject Alsa Plugin



Author Message
Scribbler
Post: May 24th 2007 at 12:08 AM

I successfully got Tux Guitar to work, but I can't figure out how to install the java plug-in. I downloaded the source file, help!


Back to Top
 
Scribbler
Post: May 24th 2007 at 12:20 AM

I'm using Fedora core 6 by the way.


Back to Top
 
Julian
Post: May 24th 2007 at 11:55 AM

Hi,
to build the plugin from sources, you need edit the "build.properties" file, and set where is tuxguitar.jar and swt.jar..
then you need exec "ant" (make sure you have ant installed)

to install it:
you need move:

"plugin_tuxguitar-alsa.properties" TO TuxGuitar/share/plugins
(plugins folder don't exists as default.. so you must create it)

"TuxGuitar-alsa.jar","libMidiReceiverJNI.so" TO TuxGuitar/lib


Back to Top
 
Scribbler
Post: May 24th 2007 at 8:58 PM

You mean the build.properties file in the plugin? I edited it like this:

swt.jar=
tuxguitar.jar=/home/Rockgod/Desktop/TuxGuitar-0.9.1-src/src/org/herac/tuxguitar/gui/TuxGuitar.java


Where is the swt?

I moved Plugin_tuxguitar-alsa.properties to the plugins folder like you said, same with libmidireciverjni.so, but I couldn't find tuxguitar-alsa.jar


Back to Top
 
Julian
Post: May 24th 2007 at 9:16 PM

Hi,

tuxguitar, and tuxguitar-alsa are 2 different projects

>tuxguitar.jar=/home/Rockgod/Desktop/TuxGuitar-0.9.1-src/src/org/herac/tuxguitar/gui/TuxGuitar.java
this is wrong... you are setting a source file of TuxGuitar project.. but you should set the builded TuxGuitar.jar file.

TuxGuitar.jar, is the file created after build tuxguitar. it contains all builded files from TuxGuitar-??-src/src

so if you have tuxguitar from sources, you need first build tuxguitar and then build the plugin.


*build.properties of TuxGuitar-alsa should be:

tuxguitar.jar=/path_where_is/TuxGuitar.jar
swt.jar=/path_where_is/swt.jar

then, when you can exec "ant", "tuxguitar-alsa.jar and libMidiReceiverJNI.so" will be created..

>Where is the swt?
swt libraries are not included at tuxguitar sources.
you need download it from:
http://www.eclipse.org/swt


Back to Top
 
Scribbler
Post: May 26th 2007 at 12:42 AM

OK, and how do I build the different projects?


Back to Top
 
Julian
Post: May 26th 2007 at 11:43 AM

To build "tuxguitar", you can found instructions at documentation page.

then you can build tuxguitar-alsa, as i post on this topic.

but, there are already builded releases of tuxguitar and tuxguitar-alsa.. why don't you download that releases ?


Back to Top
 
Scribbler
Post: May 27th 2007 at 2:23 AM

Ok so I got the plug in to build. But then I move the stuff to the right directories and run ant for Tux Guitar, I get a whole bunch of error messages.


Back to Top
 
Scribbler
Post: May 27th 2007 at 2:26 AM

Wait, nevermind, I got it. I was putting it in the build source folder for tux guitar when I needed to put it /opt/tuxguitar-0.9.1 Thanks so much for the help. Rock On!


Back to Top
 
GoR
Post: Nov 6th 2007 at 2:33 PM

I had copied alsa-plugin's stuff into the dirs you specified and there are no errors on startup, but it isn't sounds as i expected. i hear only native java sound.
how can i connect tuxguitar to timidity?
thx

ps. sorry for my English :)


Back to Top
 
Julian
Post: Nov 7th 2007 at 2:02 PM

Hi..
if you installed the plugin, you must see a new menu item
called "Plugins" ( if you don't see it.. the plugin was not successfully installed )

there is a new item "TuxGuitar Alsa Plugin" on that menu, where you can select a timidity port from the device combo.

if you don't see timidity on that list.. is because the daemon is not running..
so run in a terminal:
timidity -iA -Os

restart tuxguitar and you should see it available to connect.


Back to Top
 
discount louboutins
Post: Apr 17th 2012 at 8:21 AM

Don't be overwhelmed when shopping Christian Louboutin Pumps for women's high heel shoes, you don't have to be psychic to know which heels will be wearable. You must avoid the killer heels that rub in every direction and kill after 10 minutes. When some women buy these killer heels, they get turned off to all heels. There are different discount louboutins heels for different occasions. You can wear some dressier and daring heels with black slacks Christian Louboutin Slingbacks to work, under discount christian louboutin shoes flirty cheap christian louboutin skirts to a party, or even thrown under jeans for a trip to the mall. Always walk around the shoe store with both heels on before making Christian Louboutin Sneakers your decision. The heels that surprise you with their comfort are the heels that will last you in the office or on the dance floor. If you love them, get them



Back to Top