xsawyerx / sawnote

Sawyer's guitar notation
MIT License
3 stars 0 forks source link

sawnote

Sawyer's guitar notation - a very short notation for guitar tabs and a parser to create pretty tabs

Example

Input:

# Godfather (intro)
2:9>1:9>1:12>1:11>1:9>1:12>1:9>1:11>1:9>2:10>2:12>2:9>>2:9>1:9>1:12>1:11>1:9>1:12>1:9>1:11>1:9>2:9>2:8>2:7

# Mama Said
1:1+4:0>2:3>3:2>1:1>2:3>3:2>1:3+4:0>2:3>3:2>1:1+4:0>2:3>3:2

Output:

Godfather (intro)
E|----9--12--11--9--12--9--11--9-----------------9--12--11--9--12--9--11--9----------
A|-9------------------------------10--12--9---9------------------------------9--8--7-
D|-----------------------------------------------------------------------------------
G|-----------------------------------------------------------------------------------
B|-----------------------------------------------------------------------------------
E|-----------------------------------------------------------------------------------

Mama Said
E|-1--------1--------3--------1-------
A|----3--------3--------3--------3----
D|-------2--------2--------2--------2-
G|-0-----------------0--------0-------
B|------------------------------------
E|------------------------------------

The notation: