jordan@1
|
1 This README explains all the steps required to replicate the work done for the article, "A meta-analysis of the MIREX Structural Segmentation task."
|
jordan@1
|
2
|
jordan@1
|
3 All of the contents of this repository are released under the MIT license (shown below).
|
jordan@1
|
4
|
jordan@1
|
5
|
jordan@1
|
6
|
jordan@1
|
7 ===== HOW TO REPRODUCE THE PAPER =====
|
jordan@1
|
8
|
jordan@1
|
9 1: You will need Ruby and Matlab and a connection to the Internet.
|
jordan@1
|
10
|
jordan@6
|
11 2: Download a version of the Structural Analysis Evaluation project, also hosted on SoundSoftware. You can do so here:
|
jordan@1
|
12 <https://code.soundsoftware.ac.uk/projects/structural_analysis_evaluation/repository>
|
jordan@1
|
13
|
jordan@6
|
14 3: Edit the directory locations of the Ruby and Matlab files you have downloaded, in order to point the program to the desired folders:
|
jordan@6
|
15 >> In "1_get_mirex_estimates.rb", set the path to download all the data
|
jordan@2
|
16 NOTE: We recommend making this the "./mirex_data" path, since some of the data is already there!
|
jordan@6
|
17 >> In "2_generate_smith2013_ismir", set the exact same path
|
jordan@6
|
18 >> In "2_generate_smith2013_ismir", set the path for the "structural analysis evaluation" repository
|
jordan@1
|
19
|
jordan@6
|
20 4. Run the Ruby script "1_get_mirex_estimates.rb" and wait a while for all the data to download. [Alternatively, because this takes a long time, just unzip the contents of the included MIREX_DATA.zip file. It's all there. Running the Ruby script just allows you to literally reproduce my work.]
|
jordan@1
|
21
|
jordan@2
|
22 5. Unzip all the folders that you obtained.
|
jordan@4
|
23 Note: in this version, one of the repositories, the Ewald Peiszer repository, is included already as a zip file ("ep_groundtruth_txt.zip"). If you set "./mirex_data" as the download path in Step 3, then just unzip it here. Otherwise, move it to wherever the rest of the zips are.
|
jordan@6
|
24 Note: the SALAMI data contains a zipfile, so after unzipping it, you will need to unzip one of its contents again.
|
jordan@4
|
25 Note: due to inconsistencies in how different zipping programs handle things, the folder structure upon unzipping may be inconsistent. Please look at the Ground Truth Directory map below and make sure your files unzip in the same way. If they don't, you'll have to move things around until the structure matches.
|
jordan@1
|
26
|
jordan@6
|
27 6. Run the Matlab script "2_generate_smith2013_ismir" and wait for all the data to be assembled, and for the figures to be generated. They will appear in "./plots". This repository includes what those pictures *should* look like. Hopefully you overwrite them with exact replicas.
|
jordan@1
|
28
|
jordan@2
|
29 7. You're done! Hey, that wasn't so bad.
|
jordan@1
|
30
|
jordan@1
|
31
|
jordan@4
|
32 ===== Known issues =====
|
jordan@4
|
33
|
jordan@4
|
34 1. Bug in how CSV files are parsed in Ruby v.1.9.3. Seems to work fine using an older version: try 1.8.7.
|
jordan@4
|
35
|
jordan@5
|
36 1.1. In January 2014, the code was updated to work with Ruby v.2.1.
|
jordan@5
|
37
|
jordan@4
|
38
|
jordan@4
|
39 ===== Ground Truth Directory map =====
|
jordan@4
|
40
|
jordan@6
|
41 When your ground truth is all downloaded and unzipped, it should look like this (relevant for Step 5 above):
|
jordan@4
|
42
|
jordan@4
|
43 *
|
jordan@4
|
44 |-- AIST.RWC-MDB-C-2001.CHORUS
|
jordan@4
|
45 |-- AIST.RWC-MDB-G-2001.CHORUS
|
jordan@4
|
46 |-- AIST.RWC-MDB-J-2001.CHORUS
|
jordan@4
|
47 |-- AIST.RWC-MDB-P-2001.CHORUS
|
jordan@4
|
48 |-- Carole%20King%20Annotations
|
jordan@4
|
49 | |-- all
|
jordan@4
|
50 | | |-- Carole King
|
jordan@4
|
51 | | | |-- Tapestry
|
jordan@4
|
52 | |-- chordlab
|
jordan@4
|
53 | | |-- Carole King
|
jordan@4
|
54 | | | |-- Tapestry
|
jordan@4
|
55 | |-- keylab
|
jordan@4
|
56 | | |-- Carole King
|
jordan@4
|
57 | | | |-- Tapestry
|
jordan@4
|
58 | |-- seglab
|
jordan@4
|
59 | | |-- Carole King
|
jordan@4
|
60 | | | |-- Tapestry
|
jordan@4
|
61 |-- ep_groundtruth
|
jordan@4
|
62 | |-- groundtruth
|
jordan@4
|
63 |-- ep_groundtruth_txt
|
jordan@4
|
64 | |-- groundtruth
|
jordan@4
|
65 |-- IRISA.RWC-MDB-P-2001.BLOCKS
|
jordan@4
|
66 |-- IRISA.RWC-MDB-P-2012.SEMLAB_v003_full
|
jordan@4
|
67 |-- IRISA.RWC-MDB-P-2012.SEMLAB_v003_reduced
|
jordan@4
|
68 |-- Michael%20Jackson%20Annotations
|
jordan@4
|
69 | |-- all
|
jordan@4
|
70 | | |-- Michael Jackson
|
jordan@4
|
71 | | | |-- Essential Michael Jackson [Disc 1]
|
jordan@4
|
72 | | | |-- Essential Michael Jackson [Disc 2]
|
jordan@4
|
73 | |-- seglab
|
jordan@4
|
74 | | |-- Michael Jackson
|
jordan@4
|
75 | | | |-- Essential Michael Jackson [Disc 1]
|
jordan@4
|
76 | | | |-- Essential Michael Jackson [Disc 2]
|
jordan@4
|
77 |-- Queen%20Annotations
|
jordan@4
|
78 | |-- all
|
jordan@4
|
79 | | |-- Queen
|
jordan@4
|
80 | | | |-- Greatest Hits I
|
jordan@4
|
81 | | | |-- Greatest Hits II
|
jordan@4
|
82 | | | |-- Greatest Hits III
|
jordan@4
|
83 | |-- chordlab
|
jordan@4
|
84 | | |-- Queen
|
jordan@4
|
85 | | | |-- Greatest Hits I
|
jordan@4
|
86 | | | |-- Greatest Hits II
|
jordan@4
|
87 | |-- keylab
|
jordan@4
|
88 | | |-- Queen
|
jordan@4
|
89 | | | |-- Greatest Hits I
|
jordan@4
|
90 | | | |-- Greatest Hits II
|
jordan@4
|
91 | |-- seglab
|
jordan@4
|
92 | | |-- Queen
|
jordan@4
|
93 | | | |-- Greatest Hits I
|
jordan@4
|
94 | | | |-- Greatest Hits II
|
jordan@4
|
95 | | | |-- Greatest Hits III
|
jordan@4
|
96 |-- SALAMI_data_v1.2
|
jordan@4
|
97 | |-- data
|
jordan@4
|
98 | | |-- 2
|
jordan@4
|
99 | | | |-- parsed
|
jordan@4
|
100 | | |-- 4
|
jordan@4
|
101 | | | |-- parsed
|
jordan@4
|
102 | | |-- 6
|
jordan@4
|
103 | | | |-- parsed
|
jordan@4
|
104 | | |-- 8
|
jordan@4
|
105 | | | |-- parsed
|
jordan@4
|
106 | | .
|
jordan@4
|
107 | | .
|
jordan@4
|
108 | | .
|
jordan@4
|
109 | | |-- 1648
|
jordan@4
|
110 | | | |-- parsed
|
jordan@4
|
111 | | |-- 1650
|
jordan@4
|
112 | | | |-- parsed
|
jordan@4
|
113 | | |-- 1652
|
jordan@4
|
114 | | | |-- parsed
|
jordan@4
|
115 | | |-- 1654
|
jordan@4
|
116 | | | |-- parsed
|
jordan@4
|
117 |-- The%20Beatles%20Annotations
|
jordan@4
|
118 | |-- all
|
jordan@4
|
119 | | |-- The Beatles
|
jordan@4
|
120 | | | |-- 01_-_Please_Please_Me
|
jordan@4
|
121 | | | |-- 02_-_With_the_Beatles
|
jordan@4
|
122 | | | |-- 03_-_A_Hard_Day's_Night
|
jordan@4
|
123 | | | |-- 04_-_Beatles_for_Sale
|
jordan@4
|
124 | | | |-- 05_-_Help!
|
jordan@4
|
125 | | | |-- 06_-_Rubber_Soul
|
jordan@4
|
126 | | | |-- 07_-_Revolver
|
jordan@4
|
127 | | | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
128 | | | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
129 | | | |-- 10CD1_-_The_Beatles
|
jordan@4
|
130 | | | |-- 10CD2_-_The_Beatles
|
jordan@4
|
131 | | | |-- 11_-_Abbey_Road
|
jordan@4
|
132 | | | |-- 12_-_Let_It_Be
|
jordan@4
|
133 | |-- beat
|
jordan@4
|
134 | | |-- The Beatles
|
jordan@4
|
135 | | | |-- 01_-_Please_Please_Me
|
jordan@4
|
136 | | | |-- 02_-_With_the_Beatles
|
jordan@4
|
137 | | | |-- 03_-_A_Hard_Day's_Night
|
jordan@4
|
138 | | | |-- 04_-_Beatles_for_Sale
|
jordan@4
|
139 | | | |-- 05_-_Help!
|
jordan@4
|
140 | | | |-- 06_-_Rubber_Soul
|
jordan@4
|
141 | | | |-- 07_-_Revolver
|
jordan@4
|
142 | | | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
143 | | | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
144 | | | |-- 10CD1_-_The_Beatles
|
jordan@4
|
145 | | | |-- 10CD2_-_The_Beatles
|
jordan@4
|
146 | | | |-- 11_-_Abbey_Road
|
jordan@4
|
147 | | | |-- 12_-_Let_It_Be
|
jordan@4
|
148 | |-- chordlab
|
jordan@4
|
149 | | |-- The Beatles
|
jordan@4
|
150 | | | |-- 01_-_Please_Please_Me
|
jordan@4
|
151 | | | |-- 02_-_With_the_Beatles
|
jordan@4
|
152 | | | |-- 03_-_A_Hard_Day's_Night
|
jordan@4
|
153 | | | |-- 04_-_Beatles_for_Sale
|
jordan@4
|
154 | | | |-- 05_-_Help!
|
jordan@4
|
155 | | | |-- 06_-_Rubber_Soul
|
jordan@4
|
156 | | | |-- 07_-_Revolver
|
jordan@4
|
157 | | | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
158 | | | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
159 | | | |-- 10CD1_-_The_Beatles
|
jordan@4
|
160 | | | |-- 10CD2_-_The_Beatles
|
jordan@4
|
161 | | | |-- 11_-_Abbey_Road
|
jordan@4
|
162 | | | |-- 12_-_Let_It_Be
|
jordan@4
|
163 | |-- keylab
|
jordan@4
|
164 | | |-- The Beatles
|
jordan@4
|
165 | | | |-- 01_-_Please_Please_Me
|
jordan@4
|
166 | | | |-- 02_-_With_the_Beatles
|
jordan@4
|
167 | | | |-- 03_-_A_Hard_Day's_Night
|
jordan@4
|
168 | | | |-- 04_-_Beatles_for_Sale
|
jordan@4
|
169 | | | |-- 05_-_Help!
|
jordan@4
|
170 | | | |-- 06_-_Rubber_Soul
|
jordan@4
|
171 | | | |-- 07_-_Revolver
|
jordan@4
|
172 | | | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
173 | | | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
174 | | | |-- 10CD1_-_The_Beatles
|
jordan@4
|
175 | | | |-- 10CD2_-_The_Beatles
|
jordan@4
|
176 | | | |-- 11_-_Abbey_Road
|
jordan@4
|
177 | | | |-- 12_-_Let_It_Be
|
jordan@4
|
178 | |-- seglab
|
jordan@4
|
179 | | |-- The Beatles
|
jordan@4
|
180 | | | |-- 01_-_Please_Please_Me
|
jordan@4
|
181 | | | |-- 02_-_With_the_Beatles
|
jordan@4
|
182 | | | |-- 03_-_A_Hard_Day's_Night
|
jordan@4
|
183 | | | |-- 04_-_Beatles_for_Sale
|
jordan@4
|
184 | | | |-- 05_-_Help!
|
jordan@4
|
185 | | | |-- 06_-_Rubber_Soul
|
jordan@4
|
186 | | | |-- 07_-_Revolver
|
jordan@4
|
187 | | | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
188 | | | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
189 | | | |-- 10CD1_-_The_Beatles
|
jordan@4
|
190 | | | |-- 10CD2_-_The_Beatles
|
jordan@4
|
191 | | | |-- 11_-_Abbey_Road
|
jordan@4
|
192 | | | |-- 12_-_Let_It_Be
|
jordan@4
|
193 |-- TUT
|
jordan@4
|
194 | |-- 01_-_Please_please_me_1963
|
jordan@4
|
195 | |-- 02_-_With_The_Beatles_1963
|
jordan@4
|
196 | |-- 03_-_A_hard_days_night_1964
|
jordan@4
|
197 | |-- 04_-_Beatles_for_sale_1964
|
jordan@4
|
198 | |-- 05_-_Help_1965
|
jordan@4
|
199 | |-- 06_-_Rubber_Soul.bak.bak
|
jordan@4
|
200 | |-- 07_-_Revolver
|
jordan@4
|
201 | |-- 08_-_Sgt._Pepper's_Lonely_Hearts_Club_Band
|
jordan@4
|
202 | |-- 09_-_Magical_Mystery_Tour
|
jordan@4
|
203 | |-- 10_-_The_Beatles_(White_Album)_CD1
|
jordan@4
|
204 | |-- 10_-_The_Beatles_(White_Album)_CD2
|
jordan@4
|
205 | |-- 11_-_Abbey_Road
|
jordan@4
|
206 | |-- 12_-_Let_it_Be
|
jordan@4
|
207 | |-- LICENSE
|
jordan@4
|
208 | |-- README
|
jordan@4
|
209 |-- Zweieck%20Annotations
|
jordan@4
|
210 |-- all
|
jordan@4
|
211 | |-- Zweieck
|
jordan@4
|
212 | | |-- Zwielicht
|
jordan@4
|
213 |-- beat
|
jordan@4
|
214 | |-- Zweieck
|
jordan@4
|
215 | | |-- Zwielicht
|
jordan@4
|
216 |-- chordlab
|
jordan@4
|
217 | |-- Zweieck
|
jordan@4
|
218 | | |-- Zwielicht
|
jordan@4
|
219 |-- keylab
|
jordan@4
|
220 | |-- Zweieck
|
jordan@4
|
221 | | |-- Zwielicht
|
jordan@4
|
222 |-- seglab
|
jordan@4
|
223 |-- Zweieck
|
jordan@4
|
224 |-- Zwielicht
|
jordan@4
|
225
|
jordan@1
|
226
|
jordan@2
|
227 ===== The MIT License (MIT) =====
|
jordan@1
|
228
|
jordan@2
|
229 Copyright (c) 2013 Jordan B. L. Smith
|
jordan@1
|
230
|
jordan@1
|
231 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
jordan@1
|
232
|
jordan@1
|
233 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
jordan@1
|
234
|
jordan@2
|
235 The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software. |