Esempio n. 1
0
    }
"""


danceOfDeath = Song("Dance Of Death")
danceOfDeath.getFromTabs(
    diatonic_C,
"""
-6 -7 7 -8 7 -6
8 8 -8 7 -7 -6
8 8 9 8 -8 7 -8 7 -6
8 8 -8 7 -7 -6 
"""
)
danceOfDeath.shift(-12)
danceOfDeath.exportTabs( swan1040 )

hobbit = Song("Hobbit")
hobbit.getFromTabs(
    diatonic_C,
"""
4 -4 5 6 5 -4 4
5 6 -6 7 -7 6 5 -5 5 -4
4 -4 5 6 5 -4 4
5 6 -6 -6 6 5 -4
4 -4 5 5 -6 7 -8 7 -7 6 5 -5 5 -4 4 -4 5 
5 -6 7 -8 7 -8 8 8 7 -6 6  6 5 4 -4
"""
)
hobbit.shift(-5)
#hobbit.printNotes()
from harmonica import swan1040, diatonic_C
from song import Song

gotTheme = Song("Got Theme")
gotTheme.getFromTabs(
    diatonic_C, """
-6  -4  -5  +6  -6  -4  -5  +6  +5
+6  +4  +5  -5  +6  +4  -5  +5  -4
-6  -4  -5  +6  -6  -4  -5  +6  +5
+6  +4  +5  -5  +5  +4  -4
-8  +7  -4  -6  -3* -5  +6  -6
-8 +7 +6 -6 -3* -5 +5 -4 
""".replace("\t", " ").replace("+", ""))

gotTheme.exportTabs(swan1040)

gotTheme.shift(-12)
gotTheme.exportTabs(swan1040)

gotTheme.shift(+14)
gotTheme.exportTabs(swan1040)