0
|
1 |
chords2halftone.php is a completely standalone (non-Enano dependent) quick php
|
|
2 |
script which turns ascii monospace chord sheets into halftone markup. You may
|
|
3 |
or may not find it useful.
|
|
4 |
|
|
5 |
Halftone markup example:
|
|
6 |
|
|
7 |
<halftone title="Don't Stop Believing">
|
|
8 |
Intro: (E) (B) (C#m) (A) (E) (B) (G#m) (A)
|
|
9 |
|
|
10 |
Verse 1:
|
|
11 |
(E)Just a (B)small town girl
|
|
12 |
(C#m)Living in a (A)lonely world,
|
|
13 |
(E)She took the (B)midnight train going
|
|
14 |
(G#m)any - (A)where
|
|
15 |
</halftone>
|
|
16 |
|
|
17 |
You get the picture.
|
|
18 |
|
|
19 |
Halftone will position the chords exactly in the right position above the text.
|
|
20 |
You also (and this was the main reason I wrote this plugin) get automatic
|
|
21 |
transposition with ajaxy-smooth sexiness.
|
|
22 |
|
|
23 |
Note that the positioning-chords-above-text trick sometimes makes for overlaps
|
|
24 |
if you put chords so close to each other. An example would be using
|
|
25 |
"(G#m)any(A)where" in the sample verse above - depending on your theme/font
|
|
26 |
G#m would be directly adjacent to A (confusing) or A would even overlap. So
|
|
27 |
be sure to space out your lyrics accordingly.
|