« here is my new plugin called "Custom Editor Button2" | Home | Am working for OAuth Framework for MT »

December 11, 2008

GuitarTools plugin that provide you an syntax for guitar tabs.

I got my new plugin called GuitarTools. this plugin provide you a wiki-like syntax for writing guitar tabs.

environment

At first, check your server have installed GD library and Perl-GD module.

install

upload (uncompressed)GuitarTools/plugins/GuitarTools directory to your Movable Type's plugins directory.

you need to install GD::Tab::Guitar and Music::Chord::Namer, too.

the way to install is;
1) if you are the server admin, use CPAN shell.
2) or, download their packages, and upload their .pm files that included in their packages' lib directory, to (installed)GuitarTools/extlib directory. please keep the original directory tree through uploading.

one more thing, paste this on the tail of your blog's Stylrsheet template.

.guitarlines {
    line-height: 50px;
    background-color: #F4F8Fc;
    font-size: 16px;
}

.guitarlines .guitarchord {
    position: relative;
    width: 52px;
    top: -7px;
    margin: 0 -52px 0 0;
    border: 0;
}

.guitarlines .chordname {
    position: relative;
    display: inline-block;
    width: 0;
    top: -1.2em;
    font-weight: bold;
}

How to use

GuitarTools Plugin will install 'guitar_tools' GlobalModifier and the TextFormat that works same as.

Syntax

basic

[chord:C]
write your chord name continuously after the 'chord:' declaration, between the square brackets.
[chord:C] will be published as the image [chord:C]

flet positions

if you want to specify the flet positions, write the position after chord name, with @ mark.
[chord:C6@032030]
[chord:C6@032030]
  • from sixth string to first string.
  • small x means mute.

multi chords

you can write multiple chords with space.
[chord:C6@032030 GM7 Bm7 Em]
[chord:C6@032030 GM7 Bm7 Em]

auto naming

write 'auto' as chordname, plugin will guess the chord name.
[chord:auto@320003 auto@xx0232 auto@x7678x auto@576755 auto@123456]
[chord:auto@320003 auto@xx0232 auto@x7678x auto@576755 auto@123456]

other syntax

if flet positions are specified, you can use free string as chordname
[chord:Jimi@x7678x]
[chord:Jimi@x7678x]
split all flets with camma, if your flet positions are multi-digit high.
[chord:Ab_oct@x,11,x,13,x,x]
[chord:Ab_oct@x,11,x,13,x,x]

chords

major, minor
[chord:C Cm]
[chord:C Cm]
major seventh will be written in large M. 7th, major 7th, minor 7th, minor-major 7th.
[chord:C7 CM7 Cm7 CmM7]
[chord:C7 CM7 Cm7 CmM7]
dim, aug, sus4, add9
[chord:Edim Eaug Esus4 Eadd9]
[chord:Edim Eaug Esus4 Eadd9]
tensions
[chord:C7(9) C7(9,13)]
[chord:C7(9) C7(9,13)]
#, b(small b means flat.)
[chord:C# C7(#9) C7(b5)]
[chord:C# C7(#9) C7(b5)]

lines syntax

if you want to embed the chord diagrams into your lyrics, you can use 'lines' syntax.
write your lyrics inside of square brackets, and write your chordnames with curly bracket.
if you just embed a chord name text, add a dash on your chord name.
[lines:
{F#m(11)@x44200}two jumps in a week a bet you {Asus2@x02200}think that's pretty clever {E}don't you boy?
{F#m(11)@x44200}Flying on your motorcycle, {Asus2@x02200}watching all the ground {Eb@688666}beneath you drop
{-F#m(11)}You'd kill yourself for recognition, {-Asus2}kill yourself to never {-E}ever stop
{-F#m(11)}You broke another mirror, you're {-Asus2}turning into something {-E}you are not

So don't leave me {F#m(11)@x44200}high____{Asus2@x02200}don't leave me {E}dry____
Don't leave me {-F#m(11)}high____{-Asus2}don't leave me {-E}dry____
]
[lines: {F#m(11)@x44200}two jumps in a week a bet you {Asus2@x02200}think that's pretty clever {E}don't you boy? {F#m(11)@x44200}Flying on your motorcycle, {Asus2@x02200}watching all the ground {Eb@688666}beneath you drop {-F#m(11)}You'd kill yourself for recognition, {-Asus2}kill yourself to never {-E}ever stop {-F#m(11)}You broke another mirror, you're {-Asus2}turning into something {-E}you are not So don't leave me {F#m(11)@x44200}high____{Asus2@x02200}don't leave me {E}dry____ Don't leave me {-F#m(11)}high____{-Asus2}don't leave me {-E}dry____ ]

34 Comments

"The bird that flutters least is longest on the wing."

Never be stopped by geolocation again: http://kxk.me/?3Exx4

i miss my guitar! Naputol pa kasi yung string. haha, Piano nalang tuloy muna :)

Thanks be given to you due to the fact that creating valuable knowledge with respect to the issue.

Good job! what a great post!

hello everyone. It is really very interesting article

Awesome work! Keep posting good material.

Hello ! I'd like to tkank for so many thought-provoking articles !

Helpful information here. I added your site on my favorite, so visit again.

Thank you very much for your post! I am very interested in your points.

Helpful information here. I added your site on my favorite, so visit again.

WONDERFUL Post.thanks for share..more wait .. …

I recognize your effort and time blogging and website-constructing this info. I've looked and located it on the internet. Very informative and useful. Many thanks.

Hello, I absolutely use reading your posts, acknowledgement you as a remedy for the gifted dispatch!

Amazing blog layout here. Was it hard creating a nice looking website like this?

I love the helpful info you provide in your articles. I am going to bookmark your blog and check again here regularly. I will be quite certain I will learn lots of new stuff the following! Best of luck for the following!

I am a fast reader and this post had my interest from the start. Cool post, webmaster! Where did you get the design you used on this blog? It looks pretty sweet!

I review your blog all the time and I just thinking I'd say watch over up the well-proportioned charge!

This is such a deep blog! What can I say, youve hit the nail appropriate on the head! You even added some videos to make it appear so much more actual. Youve got a great way of communicating with the reader, a fantastic way of making me feel like what you've got to say is just as critical to me as it is to you. Keep it up!

I’m not sure where you are getting your information, but good topic. I needs to spend some time learning much more or understanding more. Thanks for great info I was looking for this info for my mission.

Aw, this was a really good quality post. In theory I'd like to write like this too - taking time and actual effort to make a great write-up... but what can I say... I procrastinate alot and in no way seem to obtain some thing completed.

Your material is great. I love to read intelligent articles and this is one reading I have really enjoyed. There’s no denying how much research you did for this content.

I am a fast reader and this post had my interest from the start. Cool post, webmaster! Where did you get the design you used on this blog? It looks pretty awesome!

Would partiality to scan support too…Thanks for crucial dispatch!Not want ago, I did not give a caboodle of pourboire to giving comments on site paginate articles and deceive positioned comments orderly less.

This is very attention-grabbing, You are an overly professional blogger. I have joined your rss feed and look forward to seeking more of your great post. Additionally, I have shared your website in my social networks!

I would like to show my appreciation for your quality article. Your original content has given me reason to think about a lot of this information. Your writing style is original and engaging. Thank you.

Im trying to start my own blog, so ive been searching and this is the best one if seen so far, Great Job!!!

Very nice post. I just stumbled upon your blog and wished to say that I have really enjoyed surfing around your blog posts. In any case I will be subscribing to your feed and I hope you write again soon!

Hello I just wanted to say that for some reason your site has started to load really slow for me, not sure if anyone else has this problem?

Pujcka V Nezamestnanosti

I do agree with all the ideas you've presented on your post. They're very convincing and can definitely work. Nonetheless, the posts are too quick for newbies. May just you please prolong them a little from subsequent time? Thank you for the post.

Thanks a lot for sharing this with all of us you really understand what you are speaking approximately! Bookmarked. Kindly additionally consult with my site =). We can have a hyperlink alternate arrangement between us!

Search for Nike Air Jordan 8 with higher excellent, different types in addition to low-priced price ranges. The Air The nike jordan 8 Retro, Water within our save.

Search for Nike jordan 8 rich in good quality, a variety of types together with low-priced prices. The environment The nike jordan 6 Popular, Water in the retail store.

About this Entry

This page contains a single entry by aklaswad published on December 11, 2008 3:30 PM.

here is my new plugin called "Custom Editor Button2" was the previous entry in this blog.

Am working for OAuth Framework for MT is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.