-
Notifications
You must be signed in to change notification settings - Fork 3
/
config_postprocess_example.yml
152 lines (138 loc) · 4.37 KB
/
config_postprocess_example.yml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Directory to save the logs files, level for logging in the console (console_level) and
# in the log file (file_level)
log:
file_path: ./musif.log
file_level: DEBUG
console_level: ERROR
# Flag to determine whether to delete rows associated to files containing errors (whose
# FileNames bust be contained in a './errors.csv' file) or not
delete_files: False
# Flag to determine whether delete rows associated to files that do not have harmonic
# annotations (and
# hence, no harmonic analysis) or not
delete_files_without_harmony: False
# Flag to determine if multiple voices (e.g. duetos and trios) sould be merge into
# the same column (SoundVoice_*), calculating averages, min or max of both values
merge_voices: True
# Flag to determine if keys, keys modulatory and degrees columns should be grouped per type
# For instance, about the keys:
# * IV, II, and VI will be merged into the SD group (subdominant)
# * iv, ii, will be merged into the sd group (subdominant)
# * I and i will be merged into the T group (tonic)
# * III and vi will be merged into the rel group (relative)
#
# The degrees will be merged into [Doubly] Augmented, [Doubly] Diminished, Natural, No
# Natural. This applies to both raw and percentage degree features.
grouped: False
# Flag to determine if Intrumentation column should be disgregated in several columns
# (Presence_of_*) having a value of 1 if instrument is present, 0 otherwise.
# see also `delete_presence` option
separate_intrumentation_column: False
# Specify the instruments whose features will be kept even if they are merged with the option
# `grouped`
# Matching is case-sensitive
instruments_to_keep: []
# Possible values are from abbreviations from musif.musicxml.constants.SOUND_TO_ABBREVIATION
# Note that if an abbreviation is not available, the full instrument name is used
# Example:
# - vnI
# - bs
# Specify the instuments whose features will be deleted
# i.e.
# * features containing 'Part' + <inst> will be deleted
# * features containing <inst> + '_' will be deleted
# Matching is case-sensitive
instruments_to_delete: []
# Possible values are from abbreviations from musif.musicxml.constants.SOUND_TO_ABBREVIATION
# Note that if an abbreviation is not available, the full instrument name is used
# First letter is always capitalized
# Example:
# - Ob
# - Cor
# - Bn
# - Va
# - Eh
# - Tbn
# - TbI
# - Timp
# - Tr
# - TrI
# - BsI
# - BsII
# - VeI
# - VeII
# - CI
# - CiII
# - CiI
# Rows having more than this percentage of NaN will be deleted
# value null (or None) means "keep all"
max_nan_rows: null
# Columns having more than this percentage of NaN will be deleted (applied after
# `max_nan_rows`)
# value null (or None) means "keep all"
max_nan_columns: null
# Columns containing these substrings will have nan values replaced with 0
# Applied after `max_nan_rows` and `max_nan_columns`
# Matching is case-sensitive
replace_nans: []
# Example of values (but any substring can be used):
# - Interval
# - Degree
# - Harmony
# Columns ending with any of these strings will be deleted
# Matching is case-sensitive
columns_endswith: []
# example of values (but any other suffix can be used)
# - _HighestNote
# - _LowestNote
# - _Notes
# - _SoundingMeasures
# - _Syllables
# - _NumberOfFilteredParts
# - NumberOfParts
# - _NotesMean
# - Librettist
# - _LargestIntervalAsc
# - _LargestIntervalAll
# - _LargestIntervalDesc
# - _NotesMean
# - 'Semitones_Sum'
# - _MeanInterval'
# Columns starting with any of these strings will be deleted
# Matching is case-sensitive
columns_startswith: []
# example of values (but any other prefix can be used)
# - FamilyWw
# - FamilyBr
# - FamilyGen
# - FamilyGen
# - FamilyPerc
# - EndOfThemeA
# - NumberOfBeats
# - SoundVoice_Dyn
# Columns containing any of these strings will be deleted
# Matching is case-sensitive
columns_contain: []
# example of values (but any other substring can be used)
# - _Count
# - _SoundingMeasuresMean
# - _SmallestSemitones
# - _SmallestAbsolute
# - _SmallestInterval
# - Bn
# - VnII
# - VnIII
# - VnIV
# - Vc
# - Cl
# - Tpt
# - Hn
# - Fl
# Columns exactly matching any of these strings will be deleted
# Matching is case-sensitive
columns_match: []
# example of values (but any column can be used)
# - Presence_of_vn
# - Presence_of_bs
# - Presence_of_vc
# - Presence_of_va