Ivan Holmes
5 years ago
10 changed files with 609 additions and 181 deletions
-
11chordsheet/document.py
-
5chordsheet/parsers.py
-
309chordsheet/render.py
-
60chordsheet/rlStylesheet.py
-
6chordsheet/tableView.py
-
94examples/example.xml
-
143examples/examplelong.xml
-
102gui.py
-
4test.py
-
50ui/mainwindow.ui
@ -1 +1,93 @@ |
|||
<chordsheet><title>Example Song</title><composer>Ivan Holmes</composer><timesignature>4</timesignature><chords><chord><name>C</name><voicing instrument="guitar">x,3,2,0,1,0</voicing></chord><chord><name>F</name><voicing instrument="guitar">1,3,3,2,1,1</voicing></chord><chord><name>G</name><voicing instrument="guitar">3,2,0,0,0,3</voicing></chord><chord><name>C/G</name><voicing instrument="guitar">3,3,2,0,1,0</voicing></chord><chord><name>Dm</name><voicing instrument="guitar">x,x,0,2,3,1</voicing></chord></chords><section name="Example section"><block><length>16</length><chord>C</chord><notes>Intro, strum lightly</notes></block><block><length>4</length><chord>C</chord></block><block><length>4</length><chord>F</chord></block><block><length>8</length><chord>G</chord></block><block><length>4</length><chord>C</chord></block><block><length>4</length><chord>F</chord></block><block><length>8</length><chord>G</chord></block><block><length>4</length><chord>C</chord></block><block><length>4</length><chord>Dm</chord></block><block><length>4</length><chord>C/G</chord></block><block><length>4</length><chord>G</chord></block><block><length>4</length><chord>C</chord></block><block><length>4</length><notes>Contemplation time</notes></block><block><length>8</length><chord>C</chord><notes>Crescendo until end</notes></block></section></chordsheet> |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<chordsheet> |
|||
<title>Example Song</title> |
|||
<composer>Ivan Holmes</composer> |
|||
<timesignature>4</timesignature> |
|||
<chords> |
|||
<chord> |
|||
<name>C7</name> |
|||
<voicing instrument="guitar">x,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">Bb,E,C,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>F</name> |
|||
<voicing instrument="guitar">1,3,3,2,1,1</voicing> |
|||
<voicing instrument="piano">A,C,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>G</name> |
|||
<voicing instrument="guitar">3,2,0,0,0,3</voicing> |
|||
<voicing instrument="piano">B,D,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>C/G</name> |
|||
<voicing instrument="guitar">3,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">G,C,E</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>Dm</name> |
|||
<voicing instrument="guitar">x,x,0,2,3,1</voicing> |
|||
<voicing instrument="piano">A,D,F</voicing> |
|||
</chord> |
|||
</chords> |
|||
<section name="Example section"> |
|||
<block> |
|||
<length>16</length> |
|||
<chord>C7</chord> |
|||
<notes>Intro, strum lightly</notes> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>F</chord> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>F</chord> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>Dm</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C/G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<notes>Contemplation time</notes> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>C7</chord> |
|||
<notes>Crescendo until end</notes> |
|||
</block> |
|||
</section> |
|||
</chordsheet> |
@ -0,0 +1,143 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<chordsheet> |
|||
<title>Example Song</title> |
|||
<composer>Ivan Holmes</composer> |
|||
<timesignature>4</timesignature> |
|||
<chords> |
|||
<chord> |
|||
<name>C7</name> |
|||
<voicing instrument="guitar">x,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">Bb,E,C,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>F</name> |
|||
<voicing instrument="guitar">1,3,3,2,1,1</voicing> |
|||
<voicing instrument="piano">A,C,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>G</name> |
|||
<voicing instrument="guitar">3,2,0,0,0,3</voicing> |
|||
<voicing instrument="piano">B,D,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>C/G</name> |
|||
<voicing instrument="guitar">3,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">G,C,E</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>Dm</name> |
|||
<voicing instrument="guitar">x,x,0,2,3,1</voicing> |
|||
<voicing instrument="piano">A,D,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>q7</name> |
|||
<voicing instrument="guitar">x,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">Bb,E,C,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>q3</name> |
|||
<voicing instrument="guitar">1,3,3,2,1,1</voicing> |
|||
<voicing instrument="piano">A,C,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>q5</name> |
|||
<voicing instrument="guitar">3,2,0,0,0,3</voicing> |
|||
<voicing instrument="piano">B,D,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>q/G</name> |
|||
<voicing instrument="guitar">3,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">G,C,E</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>q</name> |
|||
<voicing instrument="guitar">x,x,0,2,3,1</voicing> |
|||
<voicing instrument="piano">A,D,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>yeeq</name> |
|||
<voicing instrument="guitar">x,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">Bb,E,C,G</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>quu</name> |
|||
<voicing instrument="guitar">1,3,3,2,1,1</voicing> |
|||
<voicing instrument="piano">A,C,F</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>b3</name> |
|||
<voicing instrument="guitar">3,2,0,0,0,3</voicing> |
|||
<voicing instrument="piano">B,D</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>aa</name> |
|||
<voicing instrument="guitar">3,3,2,0,1,0</voicing> |
|||
<voicing instrument="piano">G,C,E</voicing> |
|||
</chord> |
|||
<chord> |
|||
<name>z</name> |
|||
<voicing instrument="guitar">x,x,0,2,3,1</voicing> |
|||
<voicing instrument="piano">A,D,F,G,E,B,C</voicing> |
|||
</chord> |
|||
</chords> |
|||
<section name="Example section"> |
|||
<block> |
|||
<length>16</length> |
|||
<chord>C7</chord> |
|||
<notes>Intro, strum lightly</notes> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>F</chord> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>F</chord> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>Dm</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C/G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>G</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<chord>C7</chord> |
|||
</block> |
|||
<block> |
|||
<length>4</length> |
|||
<notes>Contemplation time</notes> |
|||
</block> |
|||
<block> |
|||
<length>8</length> |
|||
<chord>C7</chord> |
|||
<notes>Crescendo until end</notes> |
|||
</block> |
|||
</section> |
|||
</chordsheet> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue