comparison convert.pl @ 4:87e64f302234

added conversion script
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 06:54:14 -0700
parents
children b6e64e348e47
comparison
equal deleted inserted replaced
3:95cdedd01422 4:87e64f302234
1 #!/usr/bin/perl
2
3 @targets =qw(
4 AnnoyingKnock1.wav
5 AnnoyingKnock2.wav
6 AppleOfEnlightenment.wav
7 Arcade.wav
8 Battle01.wav
9 Battle02.wav
10 Battle03.wav
11 Battle04.wav
12 Battle05.wav
13 Battle06.wav
14 Battle07.wav
15 Battle08.wav
16 Battle09.wav
17 Battle10.wav
18 Bicycle.wav
19 BossIntro.wav
20 BrickRoad.wav
21 Bus.wav
22 Cave1.wav
23 Cave2.wav
24 Cave3.wav
25 CaveOfThePast.wav
26 ChaosTheater.wav
27 CoffeeBreak.wav
28 Dalaam.wav
29 DalaamIntro.wav
30 DeepDarkness.wav
31 Defeated.wav
32 Delivery.wav
33 DrAndonuts.wav
34 DrugStore.wav
35 DungeonMan.wav
36 DustyDunesDesert.wav
37 EightMelodies.wav
38 Ending1.wav
39 Ending2.wav
40 Ending3.wav
41 FileSelect.wav
42 FireSpring.wav
43 FlyingMan.wav
44 Fourside.wav
45 Giygas1.wav
46 Giygas2.wav
47 Giygas3.wav
48 Giygas4.wav
49 Giygas5.wav
50 GiygasDeath.wav
51 GiygasIntro.wav
52 GiygasPath.wav
53 GiygasStatic.wav
54 GrapefruitFalls.wav
55 HappyHappy.wav
56 HiddenTrack.wav
57 Home.wav
58 Hospital.wav
59 Hotel1.wav
60 Hotel2.wav
61 Hotel3.wav
62 Hotel4.wav
63 HotelScaraba.wav
64 House1.wav
65 House2.wav
66 House3.wav
67 Intro1.wav
68 Intro2.wav
69 IntroDemo.wav
70 IntroTitle.wav
71 JackiesCafe.wav
72 LevelUp.wav
73 LostUnderworld.wav
74 Magicant1.wav
75 Magicant2.wav
76 MagicantDepart.wav
77 MagicantEnter.wav
78 MagicCake.wav
79 MasterBelchBase.wav
80 MonkeyCave.wav
81 Moonside.wav
82 Mu.wav
83 NewGame.wav
84 Night.wav
85 Onett1.wav
86 Onett2.wav
87 OnettBuzz1.wav
88 OnettBuzz2.wav
89 OnettBuzz3.wav
90 OnettNight1.wav
91 OnettNight2.wav
92 OnettNight3.wav
93 Paula.wav
94 PeacefulRest.wav
95 Photographer.wav
96 PinkCloud.wav
97 Pokey.wav
98 PokeyIntro.wav
99 PokeysHouse.wav
100 PokeysHouseBuzz.wav
101 PowerUp.wav
102 Pray.wav
103 Pyramid.wav
104 Return1.wav
105 Return2.wav
106 RideSub.wav
107 RideUFO.wav
108 Robots.wav
109 Runaway5Bus1.wav
110 Runaway5Bus2.wav
111 Runaway5Bus3.wav
112 Runaway5Song1.wav
113 Runaway5Song2.wav
114 Sailing1.wav
115 Sailing2.wav
116 SaturnValley.wav
117 SaturnValley2.wav
118 Scaraba.wav
119 ScarabaDesert.wav
120 SeaOfEden.wav
121 SnowWood.wav
122 SnowWood2.wav
123 SoundStone.wav
124 SoundStone2.wav
125 Summers.wav
126 TendaVillage.wav
127 Tent.wav
128 Tessie1.wav
129 Tessie2.wav
130 Threed.wav
131 Topolla.wav
132 Twoson.wav
133 Venus.wav
134 Win1.wav
135 Win2.wav
136 Winters.wav
137 YourSanctuary1.wav
138 YourSanctuary2.wav
139 Zombies.wavAA.spc);
140
141 @sources = qw(
142 AB.spc
143 AC.spc
144 AD.spc
145 AE.spc
146 AF.spc
147 AG.spc
148 AH.spc
149 AI.spc
150 AJ.spc
151 AK.spc
152 AL.spc
153 AM.spc
154 AN.spc
155 AO.spc
156 AP.spc
157 AQ.spc
158 AR.spc
159 AS.spc
160 AT.spc
161 AU.spc
162 AV.spc
163 AW.spc
164 AX.spc
165 AY.spc
166 AZ.spc
167 BA.spc
168 BB.spc
169 BC.spc
170 BD.spc
171 BE.spc
172 BF.spc
173 BG.spc
174 BH.spc
175 BI.spc
176 BJ.spc
177 BK.spc
178 BL.spc
179 BM.spc
180 BN.spc
181 BO.spc
182 BP.spc
183 BQ.spc
184 BR.spc
185 BS.spc
186 BT.spc
187 BU.spc
188 BV.spc
189 BW.spc
190 BX.spc
191 BY.spc
192 BZ.spc
193 CA.spc
194 CB.spc
195 CC.spc
196 CD.spc
197 CE.spc
198 CF.spc
199 CG.spc
200 CH.spc
201 CI.spc
202 CJ.spc
203 CK.spc
204 CL.spc
205 CM.spc
206 CN.spc
207 CO.spc
208 CP.spc
209 CQ.spc
210 CR.spc
211 CS.spc
212 CT.spc
213 CU.spc
214 CV.spc
215 CW.spc
216 CX.spc
217 CY.spc
218 CZ.spc
219 DA.spc
220 DB.spc
221 DC.spc
222 DD.spc
223 DE.spc
224 DF.spc
225 DG.spc
226 DH.spc
227 DI.spc
228 DJ.spc
229 DK.spc
230 DL.spc
231 DM.spc
232 DN.spc
233 DO.spc
234 DP.spc
235 DQ.spc
236 DR.spc
237 DS.spc
238 DT.spc
239 DU.spc
240 DV.spc
241 DW.spc
242 DX.spc
243 DY.spc
244 DZ.spc
245 EA.spc
246 EB.spc
247 EC.spc
248 ED.spc
249 EE.spc
250 EF.spc
251 EG.spc
252 EH.spc
253 EI.spc
254 EJ.spc
255 EK.spc
256 EL.spc
257 EM.spc
258 EN.spc
259 EO.spc
260 EP.spc
261 EQ.spc
262 ER.spc
263 ES.spc
264 ET.spc
265 EU.spc
266 EV.spc
267 EW.spc
268 EX.spc
269 EY.spc
270 EZ.spc
271 FA.spc
272 FB.spc
273 FC.spc
274 FD.spc
275 FE.spc
276 FF.spc);
277
278
279 for (0..$#targets){
280
281 $command = "./build/spc_convert -s 1" . " -i ./test-files/" . $source[$_] .
282 " -o ./output/" . $target[$_];
283 print "$command\n";
284
285 }
286