Beispiel #1
0
from note_util import transpose, GANote

M6 = [0, 4, 7, 9]
m6 = [0, 3, 7, 9]
m7 = [0, 3, 7, 10]
d7 = [0, 4, 7, 10]
M7 = [0, 4, 7, 11]
d9 = [0, 4, 7, 10, 14]
d13 = [0, 4, 7, 10, 14, 17, 21]

root_c = 72

C6 = transpose(M6, root_c)
E7 = transpose(d7, root_c + 4)
A7 = transpose(d7, root_c - 3)
Dm7 = transpose(m7, root_c + 2)
Am7 = transpose(m7, root_c - 3)
D13 = transpose(d13, root_c + 2)
G7 = transpose(d7, root_c - 5)
F6 = transpose(M6, root_c + 5)
Fm6 = transpose(m6, root_c + 5)
Em7 = transpose(m7, root_c + 4)
A9 = transpose(d9, root_c - 3)
G13 = transpose(d13, root_c - 5)

chord_progression = [
    # A section
    C6,
    C6,
    E7,
    E7,
from note_util import transpose, GANote
from convert import convert

M6 = [0, 4, 7, 9]
m6 = [0, 3, 7, 9]
m7 = [0, 3, 7, 10]
d7 = [0, 4, 7, 10]
M7 = [0, 4, 7, 11]
d9 = [0, 4, 7, 10, 14]
d13 = [0, 4, 7, 10, 14, 17, 21]

root_c = 72

Fm7 = transpose(m7, root_c + 5)
Bb7 = transpose(d7, root_c - 2)
EbM7 = transpose(M7, root_c + 3)
C7 = transpose(d7, root_c)
Cm7 = transpose(m7, root_c)

chord_progression = [
    Fm7,
    Bb7,
    EbM7,
    C7,
    Fm7,
    Bb7,
    EbM7,
    Cm7,
    Fm7,
    Bb7,
    EbM7,
from note_util import transpose, GANote

M6 = [0, 4, 7, 9]
m6 = [0, 3, 7, 9]
m7 = [0, 3, 7, 10]
d7 = [0, 4, 7, 10]
M7 = [0, 4, 7, 11]
d9 = d7 + [14]
d13 = d9 + [17, 21]
d7b9 = d7 + [13]
m7b9 = m7 + [13]

root_c = 72

Am7 = transpose(m7, root_c - 3)
Dm7 = transpose(m7, root_c + 2)
Bm7b9 = transpose(m7b9, root_c - 1)
E7b9 = transpose(d7b9, root_c + 4)
Cm7 = transpose(m7, root_c)
F7 = transpose(d7, root_c + 5)
Bbmaj7 = transpose(M7, root_c - 2)

chord_progression = [
    Am7, Am7, Dm7, Dm7, Bm7b9, E7b9, Am7, Am7, Cm7, F7, Bbmaj7, Bbmaj7, Bm7b9,
    E7b9, Am7, Am7
]

# variable shortcuts for ease of writing
N = GANote
w = 4
h = 2
Beispiel #4
0
from note_util import transpose, GANote
from converter import convert


m   = [0, 3, 7]
M   = [0, 4, 7]
d7  = [0, 4, 7, 10]
dim = [0, 3, 6]
in1 = [-5, 0, 4]

root_c = 72

Dm   = transpose(m, root_c + 2)
C7   = transpose(d7, root_c)
D7   = transpose(d7, root_c + 2)
F    = transpose(M, root_c + 5)
G7   = transpose(d7, root_c - 5)
Bb   = transpose(M, root_c - 2)
Bdim = transpose(dim, root_c - 1)
F1   = transpose(in1, root_c + 5)

chord_progression = [
    Dm, Dm, C7, F,
    Dm, Dm, G7, C7,
    Dm, Dm, C7, F,
    list(set(Bb + Bdim)), list(set(F1 + D7)), list(set(G7 + C7)), F
]

piece = convert('pieces/cantina.xml')

Beispiel #5
0
from note_util import transpose, GANote

M = [0, 4, 7]

root_c = 72

C = transpose(M, root_c)
F = transpose(M, root_c + 5)

chord_progression = [
    F,
    F,
    C,
    F,
    F,
    F,
    C,
    F,
    F,
    F,
    C,
    F,
    F,
    F,
    C,
    F,
]

# variable shortcuts for ease of writing
N = GANote
w = 4
from note_util import transpose, GANote
from convert import convert

M6 = [0, 4, 7, 9]
m6 = [0, 3, 7, 9]
m7 = [0, 3, 7, 10]
d7 = [0, 4, 7, 10]
M7 = [0, 4, 7, 11]
d9 = [0, 4, 7, 10, 14]
d13 = [0, 4, 7, 10, 14, 17, 21]
m7b5 = [0, 3, 6, 10]

root_c = 72

C6 = transpose(M6, root_c)
CM7 = transpose(M7, root_c)
Dm7 = transpose(m7, root_c + 2)
Am7 = transpose(m7, root_c - 3)
G7 = transpose(d7, root_c - 5)
A7 = transpose(d7, root_c - 3)
FM7 = transpose(M7, root_c + 5)
Bm7b5 = transpose(m7b5, root_c - 1)
E7 = transpose(d7, root_c + 4)
Em7 = transpose(m7, root_c + 4)

chord_progression = [
    # A section
    Am7,
    Dm7,
    G7,
    CM7,
Beispiel #7
0
from note_util import transpose, GANote
from convert import convert

M6 = [0, 4, 7, 9]
m6 = [0, 3, 7, 9]
m7 = [0, 3, 7, 10]
d7 = [0, 4, 7, 10]
M7 = [0, 4, 7, 11]
d9 = [0, 4, 7, 10, 14]
d13 = [0, 4, 7, 10, 14, 17, 21]

root_c = 72

Am6 = transpose(m6, root_c - 3)
Dm6 = transpose(m6, root_c + 2)
E7 = transpose(d7, root_c + 4)
Bb7 = transpose(d7, root_c - 2)

chord_progression = [
    # intro first round
    Am6,
    Dm6,
    Am6,
    Dm6,
    Am6,
    Dm6,
    E7,
    Bb7,

    # intro second round
    Am6,