added condensation for frequencies + adjustments top frequencies and amp collection

This commit is contained in:
Alexandre 2024-11-04 17:49:32 +01:00
parent cba14e4782
commit c969501c52
6 changed files with 140 additions and 516 deletions

View File

@ -1,503 +0,0 @@
osu file format v14
[General]
AudioFilename: audio.wav
AudioLeadIn: 0
PreviewTime: 63278
Countdown: 0
SampleSet: Normal
StackLeniency: 0.5
Mode: 0
LetterboxInBreaks: 0
WidescreenStoryboard: 1
[Editor]
DistanceSpacing: 1.2
BeatDivisor: 4
GridSize: 32
TimelineZoom: 1.8
[Metadata]
Title:Shinzou o Sasageyo! [TV Size]
TitleUnicode:心臓を捧げよ! [TV Size]
Artist:Linked Horizon
ArtistUnicode:Linked Horizon
Creator:Monstrata
Version:Insane
Source:進撃の巨人
Tags:revo Attack on Titan shingeki no kyojin season 2 two dedicate all your hearts heart snk aot Haruto haruto_aizawa armin arlert levi erin jaeger mikasa ackerman survey corps opening one theme song sound
BeatmapID:1256136
BeatmapSetID:593620
[Difficulty]
HPDrainRate:5.5
CircleSize:4
OverallDifficulty:7.5
ApproachRate:9
SliderMultiplier:2.2
SliderTickRate:1
[Events]
//Background and Video events
0,0,"sasageyo.jpg",0,0
Video,-150,"sasageyo.flv"
//Break Periods
//Storyboard Layer 0 (Background)
//Storyboard Layer 1 (Fail)
//Storyboard Layer 2 (Pass)
//Storyboard Layer 3 (Foreground)
//Storyboard Sound Samples
[TimingPoints]
560,375,4,2,2,50,1,0
560,-200,4,2,2,50,0,0
3560,-133.333333333333,4,3,2,65,0,0
6560,-166.666666666667,4,3,3,55,0,0
17341,-166.666666666667,4,3,3,5,0,0
17435,-166.666666666667,4,3,2,55,0,0
17716,-166.666666666667,4,3,2,5,0,0
17810,-166.666666666667,4,3,2,50,0,0
18091,-166.666666666667,4,3,2,5,0,0
18185,-166.666666666667,4,3,2,60,0,0
18560,-153.846153846154,4,3,2,50,0,0
18747,-153.846153846154,4,3,3,60,0,0
29060,-133.333333333333,4,3,2,70,0,0
29341,-133.333333333333,4,3,2,5,0,0
29435,-133.333333333333,4,3,2,70,0,0
29716,-133.333333333333,4,3,2,5,0,0
29810,-133.333333333333,4,3,2,70,0,0
30560,-166.666666666667,4,3,2,55,0,0
32810,-166.666666666667,4,3,2,60,0,0
33185,-166.666666666667,4,3,2,60,0,0
33560,-166.666666666667,4,3,2,55,0,0
35810,-153.846153846154,4,3,2,60,0,0
36560,-133.333333333333,4,3,2,60,0,0
39091,-133.333333333333,4,3,2,5,0,0
39185,-133.333333333333,4,3,2,60,0,0
39466,-133.333333333333,4,3,2,5,0,0
39560,-133.333333333333,4,3,2,60,0,0
41060,-100,4,3,2,60,0,0
41435,-100,4,3,2,65,0,0
41810,-100,4,3,2,70,0,0
42185,-97.0873786407767,4,3,2,75,0,0
42560,-100,4,3,2,70,0,0
45466,-100,4,3,2,5,0,0
45560,-166.666666666667,4,3,2,50,0,0
48091,-166.666666666667,4,3,2,5,0,0
48185,-125,4,3,2,60,0,0
48560,-100,4,3,2,70,0,0
50060,-125,4,3,2,75,0,0
51560,-200,4,3,2,55,0,0
54372,-200,4,3,3,55,0,0
54560,-200,4,3,2,55,0,0
57560,-300,4,3,2,45,0,0
60185,-200,4,3,2,55,0,0
60560,-133.333333333333,4,3,2,65,0,0
62060,-117.647058823529,4,3,2,70,0,0
62435,-111.111111111111,4,3,2,70,0,0
62810,-105.263157894737,4,3,2,75,0,0
63560,-94.1176470588235,4,1,2,70,0,1
72560,-100,4,3,2,65,0,0
73778,-100,4,3,3,65,0,0
73966,-100,4,3,2,65,0,0
74060,-133.333333333333,4,3,2,70,0,1
74247,-133.333333333333,4,3,3,70,0,1
78372,-100,4,3,2,75,0,1
78653,-100,4,3,3,75,0,1
78747,-100,4,3,2,70,0,1
79028,-100,4,3,3,70,0,1
79122,-100,4,3,2,70,0,1
79403,-100,4,3,3,70,0,1
79497,-100,4,3,2,70,0,1
80060,-94.1176470588235,4,1,2,75,0,1
83528,-94.1176470588235,4,3,3,80,0,1
83622,-94.1176470588235,4,1,2,70,0,1
86060,-100,4,3,2,80,0,0
[Colours]
Combo1 : 222,184,135
Combo2 : 255,128,0
Combo3 : 0,128,192
Combo4 : 255,255,128
[HitObjects]
35,98,560,5,2,0:2:0:0:
105,141,747,2,0,L|162:133,1,55,0|0,0:0|0:0,0:0:0:0:
124,221,1122,2,0,L|178:213,1,55,2|0,0:0|0:0,0:0:0:0:
143,301,1497,2,0,L|197:293,1,55,2|0,0:0|0:0,0:0:0:0:
258,237,1872,1,2,0:0:0:0:
254,354,2060,5,2,0:1:0:0:
314,297,2247,2,0,L|368:304,1,55,2|0,0:0|0:0,0:0:0:0:
339,217,2622,2,0,L|393:224,1,55,2|0,0:0|0:0,0:0:0:0:
364,137,2997,2,0,L|418:144,1,55,2|0,0:1|0:0,0:0:0:0:
389,57,3372,1,2,0:0:0:0:
283,156,3560,5,4,0:2:0:0:
471,202,3747,2,0,L|478:93,1,82.5000031471253,8|0,0:0|1:0,0:0:0:0:
278,73,4122,2,0,L|283:155,1,82.5000031471253,4|0,0:2|0:0,0:0:0:0:
212,213,4403,1,8,0:0:0:0:
212,213,4497,2,0,L|206:295,1,82.5000031471253,4|4,1:2|2:3,0:0:0:0:
277,353,4778,1,8,3:3:0:0:
277,353,4872,6,0,L|359:347,1,82.5000031471253,4|0,0:2|2:3,0:0:0:0:
410,272,5153,1,8,0:0:0:0:
410,272,5247,2,0,P|415:232|404:193,1,82.5000031471254,4|4,0:2|2:3,0:0:0:0:
295,242,5528,1,0,2:3:0:0:
295,242,5622,2,0,L|359:237,1,41.2500015735627,4|0,0:2|0:0,0:0:0:0:
304,163,5810,5,0,1:0:0:0:
288,162,5903,1,8,0:0:0:0:
273,165,5997,1,4,0:2:0:0:
258,171,6091,1,8,0:0:0:0:
245,179,6185,1,0,0:0:0:0:
234,189,6278,1,0,1:0:0:0:
225,202,6372,1,4,0:3:0:0:
218,216,6466,1,8,0:0:0:0:
215,231,6560,5,4,0:1:0:0:
297,307,6747,2,0,L|295:242,1,65.9999979858399,2|2,0:1|0:0,0:0:0:0:
218,314,7122,2,0,L|220:379,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
377,301,7497,2,0,L|374:235,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
292,176,7872,1,2,0:0:0:0:
292,176,7966,1,2,0:0:0:0:
292,176,8060,6,0,L|294:241,2,65.9999979858399,10|0|2,0:0|0:0|0:0,0:0:0:0:
354,66,8622,2,0,L|356:131,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
227,131,8997,1,6,0:0:0:0:
199,56,9185,1,10,0:0:0:0:
199,56,9278,1,10,0:0:0:0:
199,56,9372,1,2,0:0:0:0:
149,117,9560,5,6,0:0:0:0:
175,192,9747,2,0,P|203:208|235:211,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
359,182,10122,2,0,P|331:165|299:163,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
309,241,10497,2,0,P|337:257|369:260,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
493,231,10872,1,2,0:0:0:0:
493,231,10966,1,2,0:0:0:0:
493,231,11060,6,0,P|464:214|432:211,2,65.9999979858399,6|0|2,0:0|0:0|0:0,0:0:0:0:
421,351,11622,2,0,P|438:323|441:291,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
352,219,11997,1,10,0:0:0:0:
287,265,12185,1,4,0:2:0:0:
364,302,12372,1,2,0:0:0:0:
364,302,12466,1,2,0:0:0:0:
364,302,12560,5,4,0:2:0:0:
344,140,12747,2,0,L|350:59,1,65.9999979858399,0|2,0:0|0:0,0:0:0:0:
266,156,13122,2,0,L|271:91,1,65.9999979858399,2|10,0:2|0:0,0:0:0:0:
188,172,13497,2,0,L|192:106,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
109,187,13872,1,2,0:0:0:0:
109,187,13966,1,2,0:0:0:0:
109,187,14060,6,0,L|113:121,2,65.9999979858399,6|2|2,0:0|0:0|0:0,0:0:0:0:
101,265,14622,2,0,P|69:255|46:233,1,65.9999979858399,2|2,0:2|0:1,0:0:0:0:
31,154,14997,1,10,0:0:0:0:
112,121,15185,2,0,L|108:187,1,65.9999979858399,2|2,0:2|0:1,0:0:0:0:
109,187,15466,1,2,0:0:0:0:
109,187,15560,5,10,0:0:0:0:
191,93,15747,2,0,L|187:159,1,65.9999979858399,2|2,0:2|0:0,0:0:0:0:
253,41,16122,1,10,0:0:0:0:
253,41,16216,1,10,0:0:0:0:
252,40,16310,2,0,P|267:70|268:103,1,65.9999979858399,2|0,0:1|0:0,0:0:0:0:
342,130,16685,2,0,P|327:159|326:192,1,65.9999979858399,2|2,3:0|0:0,0:0:0:0:
376,254,16966,1,2,0:0:0:0:
376,254,17060,6,0,P|430:269|490:240,1,98.9999969787599,4|0,0:2|0:0,0:0:0:0:
472,163,17435,2,0,P|457:217|486:277,1,98.9999969787599,8|0,0:2|0:0,0:0:0:0:
504,360,17810,2,0,P|450:345|390:374,1,98.9999969787599,10|0,1:2|0:2,0:0:0:0:
311,384,18185,2,0,P|326:330|297:270,1,98.9999969787599,12|8,0:2|0:0,0:0:0:0:
256,192,18560,5,4,0:1:0:0:
175,164,18747,2,0,P|172:196|203:261,1,71.4999967269899,2|2,0:1|0:0,0:0:0:0:
337,220,19122,2,0,P|340:188|309:123,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
256,19,19497,1,2,0:2:0:0:
255,106,19685,1,2,0:0:0:0:
331,63,19872,1,2,0:2:0:0:
180,62,20060,5,2,0:2:0:0:
256,192,20247,2,0,L|350:201,1,71.4999967269899,0|2,0:0|0:0,0:0:0:0:
402,69,20622,2,0,L|330:62,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
255,106,20997,1,0,0:0:0:0:
405,218,21185,2,0,L|411:146,1,71.4999967269899,12|2,0:2|0:0,0:0:0:0:
256,192,21560,5,12,0:2:0:0:
228,273,21747,2,0,P|260:276|325:245,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
284,111,22122,2,0,P|252:108|187:139,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
83,192,22497,1,0,0:0:0:0:
170,193,22685,1,2,0:2:0:0:
127,117,22872,1,0,0:0:0:0:
126,268,23060,5,2,0:0:0:0:
256,192,23247,2,0,P|294:186|349:216,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
308,355,23622,2,0,P|272:358|239:346,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
284,273,23997,1,2,0:0:0:0:
392,373,24185,1,4,0:2:0:0:
409,375,24278,1,0,1:0:0:0:
427,375,24372,1,0,1:0:0:0:
444,372,24466,1,0,1:0:0:0:
461,365,24560,5,12,0:2:0:0:
425,219,24747,2,0,L|418:291,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
284,273,25122,2,0,L|350:245,1,71.4999967269899,2|2,0:1|0:0,0:0:0:0:
401,368,25497,2,0,L|343:325,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
229,335,25872,1,0,1:0:0:0:
229,335,25966,1,0,1:0:0:0:
229,335,26060,6,0,L|286:377,1,71.4999967269899,12|8,0:2|0:0,0:0:0:0:
284,273,26435,1,2,0:0:0:0:
151,303,26622,2,0,P|145:339|154:373,1,71.4999967269899,2|2,0:1|0:0,0:0:0:0:
208,239,26997,2,0,P|212:199|197:156,1,71.4999967269899,2|2,0:2|0:0,0:0:0:0:
57,217,27372,1,2,0:0:0:0:
57,217,27466,1,2,0:0:0:0:
57,217,27560,6,0,L|128:209,1,71.4999967269899,4|8,0:2|0:0,0:0:0:0:
209,82,27935,1,2,0:0:0:0:
132,122,28122,1,2,0:1:0:0:
281,127,28310,2,0,P|319:120|345:100,1,71.4999967269899,10|0,0:2|0:0,0:0:0:0:
284,42,28685,1,2,0:0:0:0:
132,122,28872,1,8,0:0:0:0:
270,247,29060,6,0,P|288:187|281:126,1,123.750004720688,4|0,0:2|0:0,0:0:0:0:
183,57,29435,2,0,P|224:102|280:126,1,123.750004720688,4|0,1:3|0:0,0:0:0:0:
342,7,29810,6,0,P|336:47|347:86,1,82.5000031471254,10|2,0:2|0:1,0:0:0:0:
441,118,30091,1,8,0:2:0:0:
441,118,30185,2,0,P|447:77|436:38,1,82.5000031471254,4|0,0:2|2:0,0:0:0:0:
366,182,30560,5,4,0:1:0:0:
444,207,30747,1,0,0:0:0:0:
408,340,30935,1,8,0:0:0:0:
383,262,31122,1,0,0:0:0:0:
250,299,31310,1,0,0:0:0:0:
328,324,31497,1,2,0:0:0:0:
289,180,31685,2,0,L|310:243,1,65.9999979858399,8|0,0:0|0:0,0:0:0:0:
388,120,32060,6,0,L|367:183,1,65.9999979858399,2|0,0:2|0:0,0:0:0:0:
278,103,32435,1,8,0:0:0:0:
225,227,32622,1,2,0:0:0:0:
149,142,32810,2,0,L|215:148,1,65.9999979858399,4|0,0:2|0:0,0:0:0:0:
142,221,33185,2,0,L|76:215,1,65.9999979858399,12|0,0:2|0:0,0:0:0:0:
132,65,33560,5,4,0:2:0:0:
149,142,33747,1,0,0:0:0:0:
209,48,33935,1,8,0:0:0:0:
226,125,34123,1,2,0:0:0:0:
125,24,34310,5,2,0:2:0:0:
108,148,34497,1,2,0:0:0:0:
249,41,34684,1,8,0:0:0:0:
232,165,34872,1,2,0:0:0:0:
173,55,35060,5,4,0:3:0:0:
286,110,35247,1,2,0:0:0:0:
163,132,35435,1,8,0:0:0:0:
249,41,35622,1,2,0:0:0:0:
232,165,35810,2,0,P|211:193|176:209,1,71.4999967269899,4|0,0:2|0:0,0:0:0:0:
151,336,36185,1,12,0:0:0:0:
159,320,36278,1,2,0:1:0:0:
172,307,36372,1,2,0:2:0:0:
187,298,36466,1,2,0:2:0:0:
204,293,36560,5,4,0:2:0:0:
230,379,36747,1,2,0:0:0:0:
267,229,36935,1,8,0:0:0:0:
292,314,37122,1,2,0:0:0:0:
179,208,37310,1,2,0:2:0:0:
117,273,37497,1,2,0:0:0:0:
154,123,37685,1,8,0:0:0:0:
92,187,37872,1,2,0:0:0:0:
242,144,38060,5,4,0:3:0:0:
67,102,38247,1,2,0:0:0:0:
267,229,38435,1,8,0:0:0:0:
217,58,38622,1,2,0:0:0:0:
217,58,38716,1,2,0:0:0:0:
216,58,38810,6,0,P|273:36|333:50,1,123.750004720688,4|0,0:2|0:0,0:0:0:0:
341,167,39185,2,0,P|354:107|333:50,1,123.750004720688,12|0,0:2|0:0,0:0:0:0:
242,144,39560,5,4,0:2:0:0:
267,229,39747,1,2,0:0:0:0:
118,272,39935,1,8,0:0:0:0:
180,208,40122,1,2,0:0:0:0:
292,314,40310,1,2,0:2:0:0:
267,229,40497,1,2,0:0:0:0:
179,378,40685,1,8,0:0:0:0:
204,293,40872,1,2,0:1:0:0:
380,335,41060,6,0,P|426:298|396:263,1,110,12|0,1:2|0:0,0:0:0:0:
393,233,41341,1,4,0:0:0:0:
393,233,41435,2,0,P|439:196|409:161,1,110,8|0,1:2|0:0,0:0:0:0:
406,131,41716,1,0,0:0:0:0:
406,131,41810,2,0,P|426:97|414:17,1,110,12|2,1:2|0:1,0:0:0:0:
347,70,42091,1,2,0:1:0:0:
347,70,42185,2,0,L|399:251,1,169.949998573723,12|0,0:0|0:0,0:0:0:0:
335,298,42560,5,12,0:2:0:0:
184,118,42747,1,2,0:1:0:0:
193,353,42935,1,10,0:2:0:0:
271,131,43122,1,2,0:1:0:0:
39,174,43310,1,8,0:0:0:0:
248,284,43497,1,0,0:0:0:0:
248,284,43591,1,0,0:0:0:0:
248,284,43685,1,12,0:2:0:0:
238,49,43872,1,0,0:0:0:0:
238,49,43965,1,4,0:3:0:0:
238,49,44059,1,4,0:2:0:0:
161,270,44247,5,2,0:1:0:0:
325,62,44434,1,10,0:0:0:0:
126,187,44622,1,4,0:0:0:0:
335,298,44810,1,8,0:0:0:0:
335,298,44903,2,0,P|387:290|426:237,1,110,8|2,0:0|0:0,0:0:0:0:
346,189,45185,2,0,L|335:299,1,110,12|0,0:2|0:0,0:0:0:0:
263,226,45560,6,0,P|232:216|200:216,1,65.9999979858399,4|0,0:1|0:0,0:0:0:0:
117,299,45935,2,0,P|127:267|127:235,1,65.9999979858399,2|0,0:0|0:0,0:0:0:0:
44,152,46310,2,0,P|75:162|107:162,1,65.9999979858399,8|0,0:0|0:0,0:0:0:0:
190,79,46685,2,0,P|179:110|179:142,1,65.9999979858399,2|0,0:1|0:0,0:0:0:0:
297,145,47060,6,0,P|239:119|179:142,1,131.99999597168,4|0,0:0|0:0,0:0:0:0:
237,206,47622,1,2,0:0:0:0:
357,206,47810,2,0,L|387:136,1,65.9999979858399,12|0,0:2|0:0,0:0:0:0:
289,58,48185,6,0,L|298:150,1,88,2|0,0:1|0:0,0:0:0:0:
435,71,48560,6,0,P|365:32|289:57,1,165,12|0,0:2|0:0,0:0:0:0:
151,161,48935,2,0,P|227:185|297:147,1,165,4|0,0:0|1:0,0:0:0:0:
165,75,49310,1,10,0:0:0:0:
120,327,49497,1,0,0:0:0:0:
360,239,49685,1,8,0:0:0:0:
99,214,49872,1,0,0:0:0:0:
251,0,50060,6,0,L|246:103,1,88,12|0,1:2|0:0,0:0:0:0:
329,196,50341,1,0,0:0:0:0:
329,196,50435,2,0,L|333:108,1,88,8|0,1:3|0:0,0:0:0:0:
417,161,50716,1,0,0:0:0:0:
417,161,50810,6,0,L|488:150,1,44,4|0,1:2|1:0,0:0:0:0:
451,47,50997,2,0,L|407:53,1,44,8|0,1:3|1:0,0:0:0:0:
412,171,51185,2,0,L|483:160,1,44,2|0,1:0|1:0,0:0:0:0:
446,57,51372,2,0,L|402:63,1,44,8|0,1:3|1:3,0:0:0:0:
343,220,51560,6,0,P|395:255|452:246,1,110,4|0,0:1|0:0,0:0:0:0:
412,171,52122,1,2,0:0:0:0:
267,185,52310,2,0,P|262:247|298:292,1,110,8|2,0:0|0:1,0:0:0:0:
343,220,52872,1,2,0:0:0:0:
488,136,53060,6,0,P|492:198|456:243,1,110,2|0,0:2|0:0,0:0:0:0:
412,171,53622,1,2,0:0:0:0:
259,79,53810,2,0,P|254:141|290:186,1,110,12|2,0:0|0:1,0:0:0:0:
343,122,54372,1,2,0:0:0:0:
343,122,54466,1,8,0:0:0:0:
343,122,54560,6,0,P|390:109|458:144,1,110,4|0,0:2|0:0,0:0:0:0:
389,194,55122,1,2,0:0:0:0:
169,122,55310,2,0,P|122:109|54:144,1,110,8|2,0:0|0:1,0:0:0:0:
123,194,55872,1,2,0:0:0:0:
256,152,56060,6,0,L|256:32,1,110,0|2,0:0|0:1,0:0:0:0:
180,76,56622,1,2,0:0:0:0:
332,76,56810,2,0,L|332:146,1,55,12|0,0:0|0:0,0:0:0:0:
256,207,57185,2,0,L|256:152,1,55,12|2,0:2|0:2,0:0:0:0:
309,271,57560,6,0,L|399:271,1,73.3333333333333,4|0,0:1|0:0,0:0:0:0:
423,206,58122,1,2,0:2:0:0:
423,206,58310,2,0,P|447:207|474:201,1,36.6666666666667,0|0,0:0|0:0,0:0:0:0:
440,130,58685,2,0,P|441:105|435:79,1,36.6666666666667,0|2,0:0|0:2,0:0:0:0:
364,113,59060,6,0,P|337:111|283:136,1,73.3333333333333,2|0,0:0|0:0,0:0:0:0:
238,179,59622,1,0,0:0:0:0:
238,179,59810,2,0,P|251:204|252:224,1,36.6666666666667,2|0,0:2|0:0,0:0:0:0:
123,229,60185,6,0,L|178:224,1,55,8|2,0:0|2:0,0:0:0:0:
227,286,60466,1,2,0:1:0:0:
227,286,60560,6,0,L|313:294,1,82.5000031471254,12|0,0:2|0:0,0:0:0:0:
384,260,60841,1,0,0:0:0:0:
384,260,60935,2,0,L|376:342,1,82.5000031471254,2|0,0:1|1:0,0:0:0:0:
454,365,61216,1,2,0:1:0:0:
454,365,61310,2,0,L|460:292,1,41.2500015735627,12|0,0:2|0:0,0:0:0:0:
505,237,61497,2,0,L|464:241,1,41.2500015735627,0|0,1:0|0:0,0:0:0:0:
366,175,61685,2,0,L|408:179,1,41.2500015735627,8|0,1:3|0:0,0:0:0:0:
438,61,61872,2,0,L|442:103,1,41.2500015735627,2|0,0:1|0:0,0:0:0:0:
357,268,62060,6,0,L|366:175,1,93.500001783371,12|0,0:2|0:0,0:0:0:0:
220,120,62341,1,0,0:0:0:0:
220,120,62435,6,0,L|206:258,1,98.9999969787599,12|0,0:2|0:0,0:0:0:0:
284,241,62716,1,0,0:0:0:0:
284,241,62810,6,0,L|296:116,1,104.499997209549,12|0,0:2|0:0,0:0:0:0:
147,93,63091,1,0,0:0:0:0:
147,93,63185,6,0,L|134:224,1,104.499997209549,12|2,0:2|0:1,0:0:0:0:
210,219,63466,1,8,0:0:0:0:
210,219,63560,6,0,L|225:67,1,116.875002229214,4|2,0:1|0:1,0:0:0:0:
294,137,63841,1,0,0:0:0:0:
294,137,63935,2,0,L|371:137,1,58.4375011146069,2|0,0:2|0:0,0:0:0:0:
328,209,64122,2,0,L|378:238,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
325,294,64310,6,0,P|303:363|259:384,1,116.875002229214,2|10,0:0|0:3,0:0:0:0:
191,305,64591,1,0,0:0:0:0:
191,305,64685,2,0,L|250:308,1,58.4375011146069,0|0,0:0|3:0,0:0:0:0:
258,232,64872,2,0,L|261:173,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
185,200,65060,6,0,P|169:270|197:310,1,116.875002229214,12|8,0:2|0:3,0:0:0:0:
141,362,65341,1,0,0:0:0:0:
141,362,65435,2,0,L|82:364,1,58.4375011146069,0|0,0:0|3:0,0:0:0:0:
41,292,65622,2,0,L|100:290,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
141,143,65810,2,0,L|82:140,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
42,213,65997,2,0,L|100:215,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
265,93,66185,5,4,0:2:0:0:
227,70,66278,1,0,3:0:0:0:
184,74,66372,1,8,0:3:0:0:
151,102,66466,1,0,0:0:0:0:
141,143,66560,6,0,L|290:169,1,116.875002229214,4|2,0:2|0:0,0:0:0:0:
294,228,66841,1,0,0:0:0:0:
294,228,66935,2,0,L|400:209,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
386,134,67122,2,0,L|329:145,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
369,290,67310,6,0,P|416:258|424:202,1,116.875002229214,12|2,0:2|0:0,0:0:0:0:
464,137,67591,1,0,0:0:0:0:
464,137,67685,2,0,L|521:147,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
486,57,67872,2,0,L|429:68,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
271,114,68060,6,0,L|423:140,1,116.875002229214,12|8,0:2|0:3,0:0:0:0:
387,5,68341,1,0,0:0:0:0:
387,5,68435,2,0,P|366:26|356:53,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
427,196,68622,2,0,P|447:175|458:148,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
271,114,68810,6,0,L|297:266,1,116.875002229214,12|0,0:2|0:0,0:0:0:0:
354,303,69091,1,0,0:0:0:0:
354,303,69185,2,0,L|365:246,1,58.4375011146069,12|0,0:2|0:0,0:0:0:0:
427,196,69372,2,0,L|456:246,1,58.4375011146069,8|8,0:3|0:3,0:0:0:0:
405,369,69560,6,0,P|350:387|296:363,1,116.875002229214,12|2,0:2|0:0,0:0:0:0:
202,297,69841,1,0,0:0:0:0:
202,297,69935,2,0,P|228:285|257:285,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
214,374,70122,2,0,P|184:374|158:362,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
142,210,70310,6,0,P|189:242|202:298,1,116.875002229214,12|10,0:2|0:3,0:0:0:0:
84,331,70591,1,0,0:0:0:0:
84,331,70685,2,0,P|100:306|124:289,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
14,219,70872,2,0,P|43:220|70:233,1,58.4375011146069,8|2,0:3|0:3,0:0:0:0:
154,94,71060,6,0,L|137:255,1,116.875002229214,12|10,0:2|0:3,0:0:0:0:
289,216,71341,1,0,0:0:0:0:
289,216,71435,2,0,L|295:157,1,58.4375011146069,0|0,3:0|3:0,0:0:0:0:
222,138,71622,2,0,L|216:197,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
340,277,71810,6,0,L|392:251,1,58.4375011146069,12|0,0:2|0:0,0:0:0:0:
347,132,71997,2,0,L|278:166,1,58.4375011146069,2|0,0:0|3:0,0:0:0:0:
211,323,72185,1,8,0:3:0:0:
247,345,72278,1,10,0:3:0:0:
291,343,72372,1,12,0:3:0:0:
325,318,72466,1,8,0:2:0:0:
340,277,72560,5,14,0:2:0:0:
340,277,73310,5,2,0:2:0:0:
283,212,73497,1,2,3:0:0:0:
294,187,73590,1,2,3:1:0:0:
290,161,73684,1,6,0:0:0:0:
270,142,73778,1,8,1:3:0:0:
243,138,73872,1,8,1:3:0:0:
220,151,73965,1,2,1:0:0:0:
208,175,74059,5,4,0:1:0:0:
340,277,74247,2,0,L|440:261,1,82.5000031471254,2|2,0:2|0:0,0:0:0:0:
424,98,74622,2,0,L|342:111,1,82.5000031471254,2|2,0:2|0:0,0:0:0:0:
341,194,74997,2,0,L|423:181,1,82.5000031471254,2|2,0:2|0:0,0:0:0:0:
425,15,75372,1,8,0:0:0:0:
273,149,75560,5,4,0:2:0:0:
495,225,75747,2,0,P|505:180|491:131,1,82.5000031471254,2|2,0:2|0:0,0:0:0:0:
276,69,76122,2,0,P|266:114|280:163,1,82.5000031471254,10|2,0:2|0:0,0:0:0:0:
349,111,76497,2,0,P|359:66|345:17,1,82.5000031471254,8|2,0:2|0:0,0:0:0:0:
201,25,76872,1,10,0:2:0:0:
248,264,77060,5,2,0:0:0:0:
430,101,77247,2,0,L|338:112,1,82.5000031471254,10|2,0:2|0:0,0:0:0:0:
166,274,77622,2,0,L|247:264,1,82.5000031471254,10|2,0:2|0:0,0:0:0:0:
212,55,77997,2,0,L|223:147,1,82.5000031471254,10|0,0:2|1:0,0:0:0:0:
387,345,78372,6,0,L|374:237,1,110,14|0,0:2|0:0,0:0:0:0:
469,285,78653,1,2,0:0:0:0:
469,285,78747,2,0,L|481:176,1,110,12|0,0:2|0:0,0:0:0:0:
397,130,79028,1,2,0:0:0:0:
397,130,79122,2,0,L|497:87,1,110,12|0,0:2|0:0,0:0:0:0:
311,83,79403,1,2,0:0:0:0:
311,83,79497,2,0,P|299:136|318:187,1,110,12|0,0:2|1:0,0:0:0:0:
378,280,79778,1,8,0:3:0:0:
378,280,79872,2,0,L|283:272,1,55,12|8,0:2|1:2,0:0:0:0:
287,346,80060,6,0,L|192:354,1,58.4375011146069,6|0,0:1|0:0,0:0:0:0:
152,347,80247,2,0,P|206:318|225:257,1,116.875002229214,10|0,0:2|0:0,0:0:0:0:
219,188,80528,1,0,0:0:0:0:
219,188,80622,6,0,P|165:217|146:278,1,116.875002229214,12|0,0:2|0:0,0:0:0:0:
79,303,80903,1,0,3:0:0:0:
79,303,80997,2,0,L|20:296,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
78,226,81185,2,0,L|22:184,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
115,158,81372,2,0,L|87:94,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
187,59,81560,6,0,L|181:118,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
219,188,81747,2,0,B|274:216|274:170|336:200,1,116.875002229214,10|2,0:2|0:3,0:0:0:0:
336,305,82028,1,0,0:0:0:0:
336,305,82122,2,0,P|314:252|332:197,1,116.875002229214,12|0,1:2|0:0,0:0:0:0:
389,249,82403,1,0,3:0:0:0:
389,249,82497,2,0,L|470:253,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
399,174,82685,2,0,L|471:137,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
371,105,82872,2,0,L|415:37,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
315,0,83060,6,0,L|313:59,1,58.4375011146069,2|0,0:0|0:0,0:0:0:0:
208,55,83247,2,0,P|262:34|313:58,1,116.875002229214,10|2,0:2|0:3,0:0:0:0:
309,167,83528,1,8,1:3:0:0:
309,167,83622,2,0,P|255:187|204:164,1,116.875002229214,12|0,0:2|0:0,0:0:0:0:
132,135,83903,1,0,3:0:0:0:
132,135,83997,2,0,L|110:194,1,58.4375011146069,10|0,0:2|0:0,0:0:0:0:
35,197,84185,2,0,L|56:256,1,58.4375011146069,8|0,0:3|0:0,0:0:0:0:
16,318,84372,6,0,P|72:326|119:294,1,116.875002229214,14|0,0:2|0:0,0:0:0:0:
309,133,84747,2,0,P|255:112|202:134,1,116.875002229214,10|0,0:2|0:0,0:0:0:0:
392,294,85122,2,0,P|439:326|495:318,1,116.875002229214,14|0,0:2|0:0,0:0:0:0:
257,187,85497,1,10,0:3:0:0:
249,205,85590,1,0,0:0:0:0:
249,224,85684,1,0,0:0:0:0:
255,242,85778,1,0,0:0:0:0:
262,260,85872,1,8,0:3:0:0:
263,280,85965,1,0,0:0:0:0:
256,298,86059,5,12,1:2:0:0:

BIN
audio.mp3

Binary file not shown.

BIN
audio.wav

Binary file not shown.

View File

@ -71,7 +71,7 @@ def retrieve_dominant_freqs(song_name, offset, songlen, segsize):
print("Retrieving freqs from", offset, "to", songlen+offset, "...") print("Retrieving freqs from", offset, "to", songlen+offset, "...")
print("amplitudes are from", minfreq, "to", maxfreq) print("amplitudes are from", minfreq, "to", maxfreq)
while(current_time < songlen-segsize): while(current_time < songlen+offset-segsize):
# index corresponding to left boundary # index corresponding to left boundary
left_id = int(current_time*sample_rate) left_id = int(current_time*sample_rate)
@ -136,8 +136,8 @@ def void_freq_clean(song_name, offset, songlen, segsize, minfreq, maxfreq, ampth
else: else:
song_data = raw_song_data song_data = raw_song_data
# remove the copy of the song print("\nSampleRate : ", sample_rate)
subprocess.run(["rm", "crop.wav"], shell=False) print("SegSize : ", blit)
# calculate the frequencies associated to the FFTs # calculate the frequencies associated to the FFTs
pfreq = scp.fft.rfftfreq(blit, 1/sample_rate) pfreq = scp.fft.rfftfreq(blit, 1/sample_rate)
@ -152,8 +152,8 @@ def void_freq_clean(song_name, offset, songlen, segsize, minfreq, maxfreq, ampth
k = 0 k = 0
print("Retrieving freqs from", offset, "to", songlen+offset, "...") print("Retrieving freqs from", offset, "to", songlen+offset, "...")
print("amplitudes are from", minfreq, "to", maxfreq) print("Freqs are from", minfreq, "to", maxfreq)
while(current_time < songlen-segsize): while(current_time < songlen+offset-segsize):
# index corresponding to left boundary # index corresponding to left boundary
left_id = int(current_time*sample_rate) left_id = int(current_time*sample_rate)
@ -172,15 +172,18 @@ def void_freq_clean(song_name, offset, songlen, segsize, minfreq, maxfreq, ampth
print("\n\nSegSize :", segsize, "\nFFT :", len(fft_list), "\nFFT[0] :", len(fft_list[0]), "\npfreq :", len(pfreq), "\n\n") print("\n\nSegSize :", segsize, "\nFFT :", len(fft_list), "\nFFT[0] :", len(fft_list[0]), "\npfreq :", len(pfreq), "\n\n")
# remove # remove
# i = time, j = freq
for i in range(len(fft_list)): for i in range(len(fft_list)):
# get the local max freq # get the local max freq
lmax = 0 lmax = 0
for j in range(len(fft_list[i])): for j in range(len(fft_list[i])):
if(np.abs(fft_list[i][j]) > lmax): if(np.abs(fft_list[i][j]) > lmax):
lmax = np.abs(fft_list[i][j]) lmax = np.abs(fft_list[i][j])
# remove freqs + amps # remove freqs + amps
for j in range(len(fft_list[i])): for j in range(len(fft_list[i])):
if(j < len(pfreq)):
if(pfreq[j] <= minfreq or pfreq[j] >= maxfreq): if(pfreq[j] <= minfreq or pfreq[j] >= maxfreq):
fft_list[i][j] = 0+0j fft_list[i][j] = 0+0j
@ -206,6 +209,121 @@ def void_freq_clean(song_name, offset, songlen, segsize, minfreq, maxfreq, ampth
res = np.array(res) res = np.array(res)
wavfile.write(output_name, sample_rate, res) wavfile.write(output_name, sample_rate, res)
def is_within_reach(xref, x, error):
return(np.abs(xref - x) <= error)
def localize_frequencies(song_name, offset, songlen, segsize, output_name):
# removes unnecessary frequencies/amps from a song
# ampthr is in [0, 1]
# extracting data from cropped song
sample_rate, raw_song_data = wavfile.read(song_name)
blit = int(sample_rate*segsize) # Te
song_data = [0 for i in range(len(raw_song_data))]
a = 0
if(is_data_stereo(raw_song_data)):
print("Converting to mono...")
for x in range(len(raw_song_data)):
song_data[x] = raw_song_data[x][0]/2 + raw_song_data[x][1]/2
if(x % (int(len(raw_song_data)/100)) == 0):
print(a, "/ 100")
a += 1
else:
song_data = raw_song_data
print("\nSampleRate : ", sample_rate)
print("SegSize : ", blit)
# calculate the frequencies associated to the FFTs
pfreq = scp.fft.rfftfreq(blit, 1/sample_rate)
# left boundary of segment to crop
current_time = offset
# list of FFTs
fft_list = []
# number of samples
k = 0
print("Retrieving freqs from", offset, "to", songlen+offset, "...")
while(current_time < songlen+offset-segsize):
# index corresponding to left boundary
left_id = int(current_time*sample_rate)
# index corresponding to right boundary
right_id = int((current_time+segsize)*sample_rate)
# calculate the fft, append it to fft_list
pff = scp.fft.rfft(song_data[int(current_time*sample_rate):int(sample_rate*(current_time+segsize))])
fft_list.append(pff)
# just to avoid what causes 0.1 + 0.1 == 0.2 to be False
k += 1
current_time = offset + k*segsize
#print(current_time)
print("\n\nSegSize :", segsize, "\nFFT :", len(fft_list), "\nFFT[0] :", len(fft_list[0]), "\npfreq :", len(pfreq), "\n\n")
let_ring_currentLength = 0
let_ring_freq = -200
let_ring_freqLeniency = 37
let_ring_leniencySecond = 0.07
let_ring_lengthLeniency = 2
# remove
# i = time, j = freq
for i in range(len(fft_list)):
# retrieve dominant freq
maxfreq = 0
maxfreqid = 0
maxamp = 0
for j in range(len(fft_list[i])):
if(np.abs(fft_list[i][j]) > maxamp):
maxamp = np.abs(fft_list[i][j])
maxfreq = pfreq[j]
maxfreqid = j
if(is_within_reach(maxfreq, let_ring_freq, let_ring_freqLeniency)):
let_ring_freq = maxfreq
let_ring_currentLength += 1
if(let_ring_currentLength > let_ring_lengthLeniency):
for j in range(len(fft_list[i])):
#if(j < len(pfreq) and is_within_reach(pfreq[j], maxfreq, 75)):
fft_list[i][j] = 0+0j
print("here")
else:
let_ring_freq = maxfreq
let_ring_currentLength = 0
print("(at time", i, ") maxfreq and length are", let_ring_freq, let_ring_currentLength)
# writing new .wav
res = []
print("Converting...")
for i in range(len(fft_list)):
ift = scp.fft.irfft(fft_list[i], n=blit)
for k in ift:
res.append(k)
#print(type(res[0]))
mx = 0
for j in range(len(res)):
if(res[j] > mx):
mx = res[j]
for i in range(len(res)):
res[i] = np.int16(32767*res[i]/mx)
res = np.array(res)
wavfile.write(output_name, sample_rate, res)
def retrieve_dominant_amps(song_name, offset, songlen, segsize, percent, divlen): def retrieve_dominant_amps(song_name, offset, songlen, segsize, percent, divlen):
# returns a list with the percent% peak amplitudes alongside the sample rate # returns a list with the percent% peak amplitudes alongside the sample rate
# /!\ song_name is specified to be a list, NOT a list of couples (aka song is mono) # /!\ song_name is specified to be a list, NOT a list of couples (aka song is mono)
@ -267,7 +385,7 @@ def retrieve_dominant_amps(song_name, offset, songlen, segsize, percent, divlen)
k = 0 k = 0
current_time = offset current_time = offset
while(current_time < songlen-segsize): while(current_time < songlen+offset-segsize):
# index corresponding to left boundary # index corresponding to left boundary
left_id = int(current_time*sample_rate) left_id = int(current_time*sample_rate)
@ -315,13 +433,15 @@ def retrieve_all_from_song(filename, t0, t1, bpm, dta=0.001, dtf=0.01, threshold
new_fn = convert_to_wav(filename) new_fn = convert_to_wav(filename)
print("Filtering song...") print("Filtering song...")
#void_freq_clean(new_fn, t0, t1-t0, dt, 200, 2500, 0.05, "crop1.wav") #void_freq_clean(new_fn, t0, t1, dtf, 20, 20000, 0.05, "crop1.wav")
#def void_freq_clean(song_name, offset, songlen, segsize, minfreq, maxfreq, ampthr, output_name):
print("Now retrieving the frequencies") print("Now retrieving the frequencies")
(maxlist, maxamps) = retrieve_dominant_freqs(new_fn, t0, t1, dtf) (maxlist, maxamps) = retrieve_dominant_freqs(new_fn, t0, t1, dtf)
#def retrieve_dominant_freqs(song_name, offset, songlen, segsize):
print("Now retrieving the amplitudes") print("Now retrieving the amplitudes")
amps = retrieve_dominant_amps(new_fn, t0, t1, dta, threshold, 4/(bpm/60)) amps = retrieve_dominant_amps(new_fn, t0, t1, dta, threshold, (4/(bpm/60))/4)
print("Len of freqs : ", len(maxlist), "|", len(maxamps)) print("Len of freqs : ", len(maxlist), "|", len(maxamps))
print("Len of amps : ", len(maxlist), "|", len(amps)) print("Len of amps : ", len(maxlist), "|", len(amps))
@ -344,7 +464,14 @@ def retrieve_all_from_song(filename, t0, t1, bpm, dta=0.001, dtf=0.01, threshold
# free() # free()
retrieve_all_from_song("ctype.mp3", 0, 5, 149.3, dtf=1/(149.3/60)/8) '''
void_freq_clean(convert_to_wav("ctype.mp3"), 0.042, 5, 1/(149.3/60)/8, 100, 3000, 0.05, "ctype_void.mp3")
localize_frequencies(convert_to_wav("ctype_void.mp3"), 0, 5, 1/(149.3/60)/12, "ctype_filtered.mp3")
retrieve_all_from_song("ctype_filtered.mp3", 0, 5, 149.3, dta=1/(149.3/60)/128, dtf=1/(149.3/60)/8)
'''
void_freq_clean(convert_to_wav("tetris_2.wav"), 0.042, 5, 1/(149.3/60)/8, 100, 3000, 0.05, "tetris_2_void.wav")
localize_frequencies(convert_to_wav("tetris_2_void.wav"), 0, 5, 1/(149.3/60)/12, "tetris_2_f.wav")
retrieve_all_from_song("tetris_2_f.wav", 0, 5, 149.3, dtf=1/(149.3/60)/8)
print("yipee") print("yipee")

BIN
crop.wav

Binary file not shown.

BIN
crop1.wav

Binary file not shown.