 |
 |
 |
 |
|
 |
 |
Open Discussion
Midi to Tablature Conversion Algorithm?
|
|
| Author |
Message |
|
Oh-Yeah?
|
|
Post:
Nov 18th 2008 at 2:51 PM |
|
|
Hi,
I'm new to Tux and here's a newbie Q. I hear that Tux can convert midi notes to tablatures, but how does it do the job? I'm so curious!
Since there are several ways to play a particular note (which string and flet to use) and there are tight physical restrictions to the possible combination of flets that can be used together (finger reachability etc), it seems to me that midi-to-TAB conversion is by no means straightforward. If you consider complicated cases (polyphonic notes, pressing multiple flets with one finger, etc), it becomes a really challenging computational problem.
Could anyone tell me what kind of algorithm is used in Tux? A pointer to the relevant code in cvs would be appreciated (MidiSongImporter.java, maybe?)
Cheeeeeeers
|
|
| Back to Top |
| |
|
wirelessdreamer
|
|
Post:
Nov 26th 2008 at 6:46 PM |
|
|
|
I'm interested in this as well. I'd like to find some people to talk with about ideas, so we could get a patch together to improve the midi->tab conversion in tux guitar. I've been playing guitar for 11 year, and can usually get by with c/c++. stop by #linuxice on freenode to talk if your interested.
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Nov 26th 2008 at 7:18 PM |
|
|
It is something strange explain..
You don't convert midi to tablature, or tablature to midi.
they are abstract things (on computer world ofcourse)
MIDI is just a file format.
the question is what you expect of tablature.
is it about a "graphic component ?" or is it about a file format that can be used on a tablature software (such as .tg, .gp*, .ptb, etc )
In tuxguitar case, it don't make a conversion.
it just "load" it.
TuxGuitar try to be a tablature editor, so as it, it have a song structure, and a methoods to paint it on the screen.
When you import MIDI, or any fileformat that tuxguitar support, you are just loading the file into the tuxguitar song structure, Then once loaded the application can show it on the screen. that's all.
Now if you want to know how tuxguitar load midi files,
you can check on TuxGuitar-midi plugin.
if you want to know the tuxguitar song structure
see at TuxGuitar org.herac.tuxguitar.song
and how it paint it at
org.herac.tuxguitar.gui.editors.tab
|
|
| Back to Top |
| |
Post Reply
|
 |
 |
 |
 |
|