View Full Version : Guitar -> Uke tab converter

ukulele imbecile
07-16-2008, 07:57 AM
Given my mediocre ukulele skills (I appreciate the extremely positive comments on my flobots youtube video by the way) I figure I can contribute to the ukulele community in a different way.


I wrote a php script that takes a guitar tab and unintelligently tries to fit it on uke by transposing. Clearly if the range of the notes is more than can fit then it can't do it, and the converting of chords can be a little iffy in terms of dropping notes that it wouldn't need to if you transposed differently.

It works on a per-character basis so you need to use 'T' instead of '10','E' for '11' and so on (it interprets 10 as first fret followed by open string). It also often doesn't come up with optimal fingering, but thats splitting hairs I think.

You can use http://www.twelvefrets.com/flobots-in.txt for an example of how the input should be formatted.

It's a little rough in a few ways, its the time I've used php and I'm not that up on website design. If anyone is interested I'll post the source on the site also.

Criticism welcome...

07-16-2008, 09:13 AM
Interesting idea...
Maybe I should try to add this feature also to my Tab Transposer (http://tabtransposer.com/) which right now just transposes chord names, but not really tabs.

07-16-2008, 01:31 PM
Nice tool! I'm going to try it out on my guitar tabs tonight.

I've actually used WS64's transposer alot. VERY useful also.

07-16-2008, 06:43 PM
Pretty cool. I played with it a bit. I just wish it would pick up letters and just throw them into the final product too. like "h" and "p" for hammer on and pull off, / or s for slide, and b for bend, etc. Some riffs sound perfect transferred to uke, but I guess it's the nature of the instruments.

Overall, great work. Now, if you could somehow get it to make chords from tabbed guitar chords (as a database programmer myself, I can see how that'd be pretty much impossible) then it'd be the most epic tool ever. :)

07-16-2008, 10:05 PM
Uh oh. I tried visiting it again b/c I wanted to try converting another song...and this happened...

Parse error: syntax error, unexpected $end in /www/110mb.com/u/k/e/t/r/a/n/s/uketranspose/htdocs/tab.php on line 292

It wasn't me! :)

ukulele imbecile
07-17-2008, 04:31 AM
I have no idea what happened, I deleted and uploaded the file and it works again. Thanks for telling me it might have been a while before I noticed at all!

I'd be interested in exactly what you meant by the chord part. Just identifying the chords that are in the guitar tab and outputting the same chords by name? In general I've found that just taking chords directly from chordie doesn't really work out that well but I've see that other people use it as a starting point at the least.

I've also noticed a bug for certain converting some chords that I'll try to fix

11-03-2008, 03:55 PM
Takes a second to get used to...but works like a charm. Thanks!

02-06-2010, 09:49 AM
I know this is a MAJOR bump, but just wondering if there is anything similar to this anywhere on the net? I have tried searching but been unsucsessful. The link above appears to be broken :(