Add files using upload-large-folder tool
Browse files- UrbanSound/street_music/109263_009.wav +3 -0
- UrbanSound/street_music/113601_005.wav +3 -0
- UrbanSound/street_music/115240_004.wav +3 -0
- UrbanSound/street_music/115415_002.wav +3 -0
- UrbanSound/street_music/124489_005.wav +3 -0
- UrbanSound/street_music/124489_008.wav +3 -0
- UrbanSound/street_music/132162_014.wav +3 -0
- UrbanSound/street_music/149254_002.wav +3 -0
- UrbanSound/street_music/149255_000.wav +3 -0
- UrbanSound/street_music/149370_000.wav +3 -0
- UrbanSound/street_music/155127_000.wav +3 -0
- UrbanSound/street_music/155212_014.wav +3 -0
- UrbanSound/street_music/155217_000.wav +3 -0
- UrbanSound/street_music/155242_001.wav +3 -0
- UrbanSound/street_music/164344_002.wav +3 -0
- UrbanSound/street_music/165192_020.wav +3 -0
- UrbanSound/street_music/165192_021.wav +3 -0
- UrbanSound/street_music/171165_009.wav +3 -0
- UrbanSound/street_music/171243_005.wav +3 -0
- UrbanSound/street_music/171388_009.wav +3 -0
- UrbanSound/street_music/171388_014.wav +3 -0
- UrbanSound/street_music/171406_006.wav +3 -0
- UrbanSound/street_music/172314_001.wav +3 -0
- UrbanSound/street_music/172314_013.wav +3 -0
- UrbanSound/street_music/172315_027.wav +3 -0
- UrbanSound/street_music/185374_000.wav +3 -0
- UrbanSound/street_music/191431_000.wav +3 -0
- UrbanSound/street_music/194732_018.wav +3 -0
- UrbanSound/street_music/194841_003.wav +3 -0
- UrbanSound/street_music/194841_020.wav +3 -0
- UrbanSound/street_music/21683_005.wav +3 -0
- UrbanSound/street_music/39968_004.wav +3 -0
- UrbanSound/street_music/39970_000.wav +3 -0
- UrbanSound/street_music/42955_007.wav +3 -0
- UrbanSound/street_music/49485_001.wav +3 -0
- UrbanSound/street_music/49485_007.wav +3 -0
- UrbanSound/street_music/66324_002.wav +3 -0
- UrbanSound/street_music/74810_001.wav +3 -0
- UrbanSound/street_music/74810_011.wav +3 -0
- UrbanSound/street_music/74810_019.wav +3 -0
- UrbanSound/street_music/76568_005.wav +3 -0
- UrbanSound/street_music/76568_011.wav +3 -0
- UrbanSound/street_music/83191_005.wav +3 -0
- UrbanSound/street_music/89443_005.wav +3 -0
- UrbanSound/street_music/93065_000.wav +3 -0
- UrbanSound/street_music/96169_009.wav +3 -0
- UrbanSound/street_music/98263_005.wav +3 -0
- UrbanSound/street_music/99157_004.wav +3 -0
- UrbanSound/street_music/99179_005.wav +3 -0
- statistic.py +89 -0
UrbanSound/street_music/109263_009.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86809a79e5afcf247200f52a4f50fb75534a75ee17524283dff4469e8b992c06
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/113601_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0b10a36e2e00e2247127e547956ba03ccebe2d3089271e671063b99343832e0
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/115240_004.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30e8362b96a067b06a02fcf123f9a17f18a34c9d135f1a222cd38abf20eef838
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/115415_002.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58c7c7a57510d7c71ba62da2fd4db829be45589502b2c675a222c1c00a9f996e
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/124489_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60a541a4aa56b4a79bd1bd5f3b0c6fd91660e851d53fb847b9d134991fe60012
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/124489_008.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aaf1a2e4b7e789ce269b1e8309c68a12593b2a924df9fe4c5ce4794dfa8e296
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/132162_014.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67a7c13090c9b77f33d2281e0afdce01178f07e9d7084e8867560910528dbb9f
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/149254_002.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3b3be0594917b6d312272ab61e07067fcd70c6b7b868cbbb167ebe8ce27be72
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/149255_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a056d86e823c0f22348bdd673e01ef2e1aeba71b0e9c3d65f401148d1ef00ecb
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/149370_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc634713df3b2675849588c4981b32e19477638927364d85419a3c8dfcb49af9
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/155127_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa3c92957cf1649bde418794f0d5efa35c8efa6d84b3edc9bdecd65f2667bd1e
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/155212_014.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b354a702fa4bb17b188a98d35e18bfc0a6ff8695eb73d438c89b7e7451d423ea
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/155217_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1eac5c6ee4b54599d0a99f201acdd841b14f08c7de17a0419f9656da8e4b2fbb
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/155242_001.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33f79ad26fcf50e129dea43dbf0d0499c13cb43b31d62f2a75d5539e437959e3
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/164344_002.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb9694be76d9a3e384ac9e1d92abb077c6514a8b2b0a1a0f8d0bb17878d41c8b
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/165192_020.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46199f2b353edc0bd17228d3366ec3c96ecc0326a624035bfbdb9602a0e21514
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/165192_021.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:081cc8a50271fc91f9487547b6958334200dd777c45dbf2f43a533788389a636
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/171165_009.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddae5aff51159241483e557e157d42962d1898e55fd543b2801763aa39fbbef8
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/171243_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00a082e78194c24d0e7e732aad88454489baead1f3935a4b6be91657a4005005
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/171388_009.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33e93852cd8ddc50dc6aca751f4dd6a30cad53f18f3a95ca1daff02fe4588df2
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/171388_014.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b02440eabda3a04c3693221d64b7db3f74aae0cb2844ca4f63ef625efdd13e8
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/171406_006.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13eb9e7974c04bddf14a06f8236bdaef100912e80b8ad664e96add9b1a083524
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/172314_001.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08b62b81b5bc20413c2ac43ef0863f4ac7908c5698bb451aa784c38b0816e756
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/172314_013.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e13e727537f35397758e7fafc3566d68233756e0c0e67238f948c4dd20681399
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/172315_027.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06d68c5ed9bdca627e1f2587d85b31eba335068e57a8b8a65aa538d0fdf9bc2e
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/185374_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce016ca59f85e9868f6660950c6ed7795b060793f158d87b19b956caa4625916
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/191431_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e652a202cb5d9345ffc9ca56a019d215d802997575326d2a09e5d024a6ca76dd
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/194732_018.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2cc3bcf0f43fc1d9ad89177c26dd3f3891fb72f3e4884ce25df2263d3f083872
|
| 3 |
+
size 2880044
|
UrbanSound/street_music/194841_003.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff1ee904ce43734ebe7aed341b567a64b2ef96a39c3845e6f46ef0bc7317312c
|
| 3 |
+
size 2880044
|
UrbanSound/street_music/194841_020.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:684ca096660b8b0eccd2c3d73a7dbc6d4e331b5fdf63de02b4f59ce2bebfcfba
|
| 3 |
+
size 2880044
|
UrbanSound/street_music/21683_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ffcb692e1795e5715c66517cb408d2a82725a90cc588e6800597d1962a263df
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/39968_004.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7c65eb0f93f964e4af50ed043ebf9dd329de4611658de36fa9a0ba30cf16870
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/39970_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec3a41a6cfc6868c8e06559d1244597c4c0474856816025c5f20e58ffb735c24
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/42955_007.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa12c5724eb86bd426ee8813c48a212b2ef400212dd160d32e7b032be0017275
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/49485_001.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d65b91ddb6c38c1012c9a694a86291adeb67c815e41499ef7ce2f10eb48a5eed
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/49485_007.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faa829478e47ab87dd55d8b93bec2bf633d9b7b9655fb700258fb6a5c4ea6398
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/66324_002.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76e2a23d1aab62a890b446d9a7440120b42462a4d1f9b8372b2374692c726ac5
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/74810_001.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7f61b0f62874c3724077d5b68a08d8a21a26b3ba62066309a0eebbf39948212
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/74810_011.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ad251d1a673b3de0c693c743e39fe39ed922295c0d6e8d96a25612ff0cfdbe9
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/74810_019.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d92bd8dcaae48bb3df53001daf3aad7d60f7ce2c7e7cbdfd45fd5d7799516736
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/76568_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba82516cf51e94beb6223613d116226d9c833dd34154095200febcfe3a072ec8
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/76568_011.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f61dc31a2a3a73b1672f29b9a9a9e6e2084ad5abb397106bebcb4c5d12f37a5
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/83191_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acec56d261725674e89bbb8e1bd7ee39a6e05174e53bd4afc6699e213d3800a7
|
| 3 |
+
size 720044
|
UrbanSound/street_music/89443_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62744da7ffd36c4804731a218550c04ecebd0215338e11c8db866981e0ea4816
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/93065_000.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8544d35bb6f2975cd14cc903cbca5cd282a09b9bb4d354c7a2e862ad0f6147c8
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/96169_009.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77a1a9904d93963a3ac6187db916e383ba5d43f004fde7ad5c838a439d82606e
|
| 3 |
+
size 1440044
|
UrbanSound/street_music/98263_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a91f58dd5f0a4fd16a56e5c10faee6d1ff767675959b60d1c8c9c0433c34f791
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/99157_004.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11795c8377503039176077c8955a756c79f29ea4a68ffe489cb278d12b6116cb
|
| 3 |
+
size 1323044
|
UrbanSound/street_music/99179_005.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6c568bce2a4ecd144488a9f7ba175ef28e57fd069de120e02c0a5c533737dcb
|
| 3 |
+
size 240044
|
statistic.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
|
| 4 |
+
import os
|
| 5 |
+
import librosa
|
| 6 |
+
from collections import Counter
|
| 7 |
+
from tqdm import tqdm
|
| 8 |
+
import sys
|
| 9 |
+
|
| 10 |
+
def is_leaf_dir(path):
|
| 11 |
+
"""判断是否为最原子的子文件夹(无子文件夹)"""
|
| 12 |
+
for item in os.listdir(path):
|
| 13 |
+
if os.path.isdir(os.path.join(path, item)):
|
| 14 |
+
return False
|
| 15 |
+
return True
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def get_wav_length(path):
|
| 19 |
+
try:
|
| 20 |
+
y, sr = librosa.load(path, sr=None, mono=True)
|
| 21 |
+
return round(len(y) / sr)
|
| 22 |
+
except Exception as e:
|
| 23 |
+
print(f"读取失败: {path} 错误: {e}")
|
| 24 |
+
return None
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def main(noise_root):
|
| 28 |
+
noise_root = os.path.abspath(noise_root)
|
| 29 |
+
|
| 30 |
+
print("扫描所有 leaf(最原子)子文件夹...\n")
|
| 31 |
+
leaf_dirs = []
|
| 32 |
+
|
| 33 |
+
# 遍历 noise 根目录下所有文件夹
|
| 34 |
+
for dataset in os.listdir(noise_root): # MUSAN、DEMAND、ESC50 …
|
| 35 |
+
dataset_path = os.path.join(noise_root, dataset)
|
| 36 |
+
if not os.path.isdir(dataset_path):
|
| 37 |
+
continue
|
| 38 |
+
|
| 39 |
+
# 深度遍历,找所有最原子的子文件夹
|
| 40 |
+
for root, dirs, files in os.walk(dataset_path):
|
| 41 |
+
if is_leaf_dir(root):
|
| 42 |
+
leaf_dirs.append(root)
|
| 43 |
+
|
| 44 |
+
print("发现的 leaf 文件夹:")
|
| 45 |
+
for d in leaf_dirs:
|
| 46 |
+
print(" -", d)
|
| 47 |
+
|
| 48 |
+
print("\n开始统计...\n")
|
| 49 |
+
|
| 50 |
+
all_results = {}
|
| 51 |
+
|
| 52 |
+
for leaf in leaf_dirs:
|
| 53 |
+
counter = Counter()
|
| 54 |
+
wav_count = 0
|
| 55 |
+
|
| 56 |
+
# 遍历该 leaf 下的所有 wav
|
| 57 |
+
for f in tqdm(os.listdir(leaf), desc=f"[{leaf}]"):
|
| 58 |
+
if not f.lower().endswith(".wav"):
|
| 59 |
+
continue
|
| 60 |
+
|
| 61 |
+
wav_count += 1
|
| 62 |
+
path = os.path.join(leaf, f)
|
| 63 |
+
L = get_wav_length(path)
|
| 64 |
+
if L is not None:
|
| 65 |
+
counter[L] += 1
|
| 66 |
+
|
| 67 |
+
all_results[leaf] = (wav_count, counter)
|
| 68 |
+
|
| 69 |
+
# 打印结果
|
| 70 |
+
print("\n============== 统计结果 ==============\n")
|
| 71 |
+
|
| 72 |
+
for leaf, (cnt, dist) in all_results.items():
|
| 73 |
+
print(f"📁 {leaf}")
|
| 74 |
+
print(f" WAV 数量:{cnt}")
|
| 75 |
+
print(" 时长分布(秒):")
|
| 76 |
+
for L in sorted(dist):
|
| 77 |
+
print(f" {L:2d}s : {dist[L]}")
|
| 78 |
+
print()
|
| 79 |
+
|
| 80 |
+
print("统计完成!")
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
if __name__ == "__main__":
|
| 84 |
+
if len(sys.argv) < 2:
|
| 85 |
+
print("用法: python stats_leaf_folders.py <noise根目录>")
|
| 86 |
+
print("示例: python stats_leaf_folders.py noise")
|
| 87 |
+
sys.exit(1)
|
| 88 |
+
|
| 89 |
+
main(sys.argv[1])
|