-
Notifications
You must be signed in to change notification settings - Fork 1
/
reference.py
56 lines (55 loc) · 1.17 KB
/
reference.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Dictionary of piano parts (for MIDI with multiple parts)
piano_parts = {
'blackbird': 1,
'beautiful': 0,
'pathetique': 0,
'bluebossa1': 0,
'bluebossa2': 0,
'blameiton': 0,
'brazilian': 0,
'brazilsuite': 0,
'broadway': 0,
'cantible': 0,
'bymyself': 2,
'closeyoureyes': 0,
'cubanochant': 0,
'dearlybeloved': 0,
'daysofwine': 0,
'desafinado': 0,
'desire': 0,
'effendi': 1,
'exactlylikeyou': 1,
'howcomeyoulikeme': 0,
'girltalk': 0,
'hymntofreedom': 0,
'goodbait': 1,
'ifiwere': 0,
'inasentimental1': 1,
'itcouldhappen': 0,
'ivegrownacc': 0,
'ineverknew': 0,
'ishouldcare2': 0,
'iconcentrate': 0,
'maids': 0,
'milestones': 1,
'ladiesinmercedes': 0,
'manteca': 0,
'moonandsand': 0,
'laura': 0,
'lovercome': 0,
'itsalmost': 0,
'lullaby': 0,
'myoldflame': 0,
'miyako': 0,
'myshininghour': 0,
'somethingwonderful': 0,
'peoplewillsay': 0,
'sixteengoing': 0,
'onceupona': 0,
'periscope': 0,
}
def get_piano_part(name):
if name not in piano_parts:
return 0
else:
return piano_parts[name]