Tux Guitar

Help

  Forums : Help
Subject Samples



Author Message
Banzie
Post: Jun 4th 2009 at 9:52 PM

I heard that I can add other samples to TuxG, like FluidSynth, but how this sample-adding exactly happens? Could someone please give me instructions?


Back to Top
 
Julian
Post: Jun 5th 2009 at 10:44 PM

TuxGuitar itself don't play sounds, it connects to an external MIDI synthesizer ( like Fluidsynth as you say )
and is this synth then who play the sounds.

Then to help you making this connection, you should tell us first "what operating system" do you have.

Because each OS, is a different story.. and each MIDI synth, have different configurations.


Back to Top
 
Anonymous
Post: Jun 7th 2009 at 9:19 PM

I have Windows Xp Home Ed + SP3.


Back to Top
 
Julian
Post: Jun 8th 2009 at 2:56 PM

Under Windows, you can use fluidsynth plugin (it's already included on tuxguitar).

You can go to Tools -> Plugins..
and configure the fluidsynth plugin. and add your soundfonts
Then, when you have soundfonts there, if you go to Tools -> Settings : Sound.. you should see them available to select on MIDI Port.

there are a lot of downloadable soundfonts ( you should see for a standard GM font.. because there are a lot with only 1 instrument ).
as example you can test with this:
http://alsa.opensrc.org/8MBGMSFX.SF2

It's 8mg only ( not a big quality ) but you can test how to load them.. and then yes you can look for one big quality font.


Back to Top
 
Banzie
Post: Jun 8th 2009 at 7:46 PM

Oh, thanks a lot! That soundfont is much better than original.


Back to Top
 
Banzie
Post: Jun 8th 2009 at 8:11 PM

What about now? I downloaded some other soundfonts and put them in there, but now there's no sound. What's the problem now?


Back to Top
 
Banzie
Post: Jun 8th 2009 at 9:53 PM

Nevermind, I figured out it by myself.


Back to Top
 
Banzie
Post: Jun 11th 2009 at 9:13 PM

I exported my tab as midi file, but sounds are same as default. WHAT IS THE PROBLEM???


Back to Top
 
Banzie
Post: Jun 11th 2009 at 9:21 PM

I checked the right soundfont and also the settings, midi port shows TG FluidSynth (FluidR3) and I suppose, that this must be the way it is, but midi files sounds are still default.


Back to Top
 
Julian
Post: Jun 11th 2009 at 9:39 PM

no, it is not how it works.
You should understand what is MIDI before.

you are looking for an exported MIDI file, as a WAVE ( or mp3, ogg, etc )
but MIDI is a complety different thing.

a WAVE audio file (and endoded formats) have raw audio data included. so it allways have same sounds.

a MIDI file, doesn't have audio data. it just have events ( note_on, note_off, etc ). this is why the samller size.
then, a sequencer read the MIDI file, and send to a synthesizer the events, and it's the synth who make the sounds. (they may be real samples, or these generated samples like on old games, etc.. )

So what you do on tuxguitar, is to select a synth for play your songs "inside tuxguitar".

But if you export the files, the sounds configuration will be used form the player you use to play it.

if you play the file with timidity:
~$ timidity MyFile.mid

so you'll get timidity configured sounds.

if you play it with fluidsynth:
~$ fluidsynth MyFile.mid /where_is_my_soundfont.sf2

So you'll get the sounds of the selected soundfont.

This is same thing i told you on my first reply..
each synthesizer, have it's own sound configuration
then you are who choice what synth do you want to use.


Back to Top
 
Banzie
Post: Jun 11th 2009 at 11:13 PM

Yeah, I see. But can I somehow convert TGs to MP3? Is it possible? I do know what MIDI is, but I didn't think it that way.


Back to Top
 
Banzie
Post: Jun 11th 2009 at 11:15 PM

Propably.


Back to Top
 
Julian
Post: Jun 11th 2009 at 11:34 PM

There is a way but it's not easy, because you need to have openjdk, or gervill project installed on your current java,
Then there is a tuxguitar-gervill plugin that allows you to do that.
but this plugin was not compiled into tuxguitar release, so you need to build it from sources..

So i think it's very easier to find applications that convert midi to wav. (put midi to wav in google.. there are a lot of results )
Just try find one that work with soundfonts, or configurable samples.

Also fluidsynth, on configuration, see the "driver"
on GNU/linux there is an option "File".
not sure if it's available under windows too.
it redirect the sound to a file instead of speakers..

but, it's 100% realtime.
i mean.. once you choose the driver, it start writing on the file. so if you use it, you may need edit the raw audio file with any audio editor to cut the begin and end of the song.


Back to Top
 
Anonymous
Post: Mar 10th 2012 at 3:50 AM

Welcome to our designer sunglasses Online Store.
href="http://www.oakleysunglasseses.com" >Cheap oakley sunglasses
are available for

you. There are various mens and womens oakley

sunglasses
. You can choose discount black sunglasses or white sunglasses whatever you

like.Oakley sunglasses sale store, Cheap

oakley sunglasses outlet sale
href="http://www.oakleysunglasseses.com" >discount oakley sunglasses
, all oakley

sunglasses discount with very low price.up to 70% from
href="http://www.oakleysunglasseses.com" >oakley outlet
.
http://www.oakleysunglasseses.com


Back to Top
 
Anonymous
Post: Apr 5th 2012 at 5:56 AM

Do you Know Gucci ? It is the symbol of high society and luxury life. All product printed GUCCI will be sold

with a very high price. I am love the gucci so much , and i used to buy it from
Gucci Purses On Sale store.


Back to Top