-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.py
108 lines (99 loc) · 4.76 KB
/
data.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
instrument_clef = {
"flute": "treble clef",
"piccolo": "treble clef",
"oboe": "treble clef",
"cor anglais": "treble clef",
"clarinet": "treble clef",
"bassoon": "bass clef",
"violin": "treble clef",
"viola": "alto clef",
"cello": "bass clef",
"double bass": "bass clef",
"harp": "treble and bass clef",
"trumpet": "treble clef",
"horn": "treble clef",
"trombone": "bass clef",
"tuba": "bass clef",
"piano": "treble and bass clef",
"celesta":"treble clef",
"timpani": "bass clef",
"xylophone": "treble clef",
"marimba": "treble and bass clef",
"vibraphone": "treble clef",
"glockenspiel": "treble clef",
"snare drum/ side drum": "percussion clef (indefinite pitch)",
"bass drum":"percussion clef (indefinite pitch)",
"cymbals": "percussion clef (indefinite pitch)",
"triangle":"percussion clef (indefinite pitch)",
"tambourine": "percussion clef (indefinite pitch)"
}
instrument_reeds = {
"flute": "headjoint (non-reed)",
"piccolo": "headjoint (non-reed)",
"oboe": "double reed",
"cor anglais": "double reed",
"clarinet": "single reed",
"bassoon": "double reed",
"trumpet": "mouthpiece",
"trombone": "mouthpiece",
"horn": "mouthpiece",
"tuba": "mouthpiece"
}
piano={"Ped.":"Press the right pedal/ sustain pedal.",
"con pedale":"Press the right pedal/ sustain pedal.",
"senza pedale":"Release the right pedal/ sustain pedal.",
"una corda":"Press the left pedal/ una corda pedal.",
"tre corda":"Release the left pedal/ una corda pedal.",
"mano sinistra(m.s.)":"Play with left hand",
"mano destra(m.d.)":"Play with right hand"}
orniment_url={"acci_1.png":"Acciaccatura","acci_2.png":"Acciaccatura",
"appo_1.png":"Appoggiatura","appo_1.png":"Appoggiatura",
"ARPEGGIATION_1.png":"Appeggiation","ARPEGGIATION_2.png":"Appeggiation",
"mordent_1.png":"Mordent","mordent_2.png":"Mordent",
"trill_1.png":"Trill","trill_2.png":"Trill",
"turn_1.png":"Turn","turn_2.png":"Turn","turn_3.png":"Turn"}
### playing techniques
playing_technique = {
"strings": ["arco", "pizzicato", "legato", "staccato", "marcato", "accent", "con sordino"],
"woodwind": ["tonguing", "legato", "staccato", "marcato", "accent"],
"brass": ["a mute", "tonguing", "legato", "staccato", "marcato", "accent", "con sordino"],
"indefinite pitch membranophones":["staccato", "marcato", "accent", "with a mallet/beater"],
"definite pitch membranophones":["staccato", "marcato", "accent", "with mallets/beaters","pitches"],
"definite pitch ideophones":["staccato", "marcato", "accent", "with mallets/beaters","pitches","chord","arpeggiation"],
"indefinite pitch ideophones":["staccato", "marcato", "accent", "with a mallet/beater","pitches"],
"keyboard":["staccato", "marcato", "accent", "arpeggiation","with pedal"]
}
impossiable_technique = {"strings":["with a mallet/beater","tonguing", "beater","pedal"],
"woodwind":["with a mallet/beater","with pedal", "con sordino","with a mute","arco", "pizzicato","chord"],
"brass":["with a mallet/beater","with pedal","arco", "pizzicato","chord"],
"indefinite pitch membranophones":["arco","tonguing","pitches","arpeggiation"],
"definite pitch membranophones":["arco","tonguing", "pizzicato"],
"definite pitch ideophones":["a mute","tonguing", "pizzicato","arpeggiation"],
"indefinite pitch ideophones":["tonguing", "pizzicato","arpeggiation","pitches"],
"keyboard":["with a mallet/beater","arco","tonguing", "pizzicato"] }
instrumental_families = {
"strings": ["violin", "viola", "cello", "double bass"],
"woodwind": ["flute", "piccolo", "oboe", "cor anglais", "clarinet", "bassoon"],
"brass": ["trumpet", "trombone", "horn", "tuba"],
"keyboard": ["piano", "celesta","harp"],#harp is not keyboard instrument but shares a lot of tech
"indefinite pitch membranophones":["snare drum", "bass drum", "tambourine"],
"indefinite pitch ideophones":["cymbals", "triangle"],
"definite pitch ideophones":["xylophone", "marimba", "vibraphone", "glockenspiel"],
"definite pitch membranophones":["timpani"]
}
fun_emoji_list = [
"😂", # Face with Tears of Joy
"🎉", # Party Popper
"🚀", # Rocket
"🐱", # Cat Face
"🐶", # Dog Face
"🦄", # Unicorn
"🎶", # Musical Notes
"😱","👼🏻","💃🏻","🐰","🐒","🐣","🦀","💥","✨","🥳",
"🍦", # Soft Ice Cream
"🌟", # Glowing Star
"👻", # Ghost
"🎈", # Balloon
"🎮", # Video Game
"💩"
]