ClaudeChen commited on
Commit
0b46afe
·
1 Parent(s): 707fcca

first commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. audio/.gitattributes +1 -0
  2. audio/doubao/7349.mp3 +3 -0
  3. audio/doubao/7481602.mp3 +3 -0
  4. audio/doubao/7487399.mp3 +3 -0
  5. audio/doubao/7788379.mp3 +3 -0
  6. audio/doubao/79577853.mp3 +3 -0
  7. audio/doubao/8096990.mp3 +3 -0
  8. audio/doubao/8188433.mp3 +3 -0
  9. audio/doubao/90183256.mp3 +3 -0
  10. audio/doubao/927587.mp3 +3 -0
  11. audio/doubao/9458053.mp3 +3 -0
  12. audio/generate_data_viewer.py +49 -0
  13. audio/human/7349.wav +3 -0
  14. audio/human/7481602.wav +3 -0
  15. audio/human/7487399.wav +3 -0
  16. audio/human/7788379.wav +3 -0
  17. audio/human/79577853.wav +3 -0
  18. audio/human/8096990.wav +3 -0
  19. audio/human/8188433.wav +3 -0
  20. audio/human/90183256.wav +3 -0
  21. audio/human/927587.wav +3 -0
  22. audio/human/9458053.wav +3 -0
  23. audio/p-preview/7349.wav +3 -0
  24. audio/p-preview/7481602.wav +3 -0
  25. audio/p-preview/7487399.wav +3 -0
  26. audio/p-preview/7788379.wav +3 -0
  27. audio/p-preview/79577853.wav +3 -0
  28. audio/p-preview/8096990.wav +3 -0
  29. audio/p-preview/8188433.wav +3 -0
  30. audio/p-preview/90183256.wav +3 -0
  31. audio/p-preview/927587.wav +3 -0
  32. audio/p-preview/9458053.wav +3 -0
  33. audio/t-large/7349.wav +3 -0
  34. audio/t-large/7481602.wav +3 -0
  35. audio/t-large/7487399.wav +3 -0
  36. audio/t-large/7788379.wav +3 -0
  37. audio/t-large/79577853.wav +3 -0
  38. audio/t-large/8096990.wav +3 -0
  39. audio/t-large/8188433.wav +3 -0
  40. audio/t-large/90183256.wav +3 -0
  41. audio/t-large/927587.wav +3 -0
  42. audio/t-large/9458053.wav +3 -0
  43. audio/t-large/codec.list +0 -0
  44. audio/xunfei/7349.mp3 +3 -0
  45. audio/xunfei/7481602.mp3 +3 -0
  46. audio/xunfei/7487399.mp3 +3 -0
  47. audio/xunfei/7788379.mp3 +3 -0
  48. audio/xunfei/79577853.mp3 +3 -0
  49. audio/xunfei/8096990.mp3 +3 -0
  50. audio/xunfei/8188433.mp3 +3 -0
audio/.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.wav filter=lfs diff=lfs merge=lfs -text
audio/doubao/7349.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b70882295530de01160b41a8e3c650fd90f1c5cd0586c4477b4a0f37260fce1
3
+ size 1800525
audio/doubao/7481602.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04e3d958f17ae0b5075ef75fcaec58af7cd0a844ac8381c460cb294d27c87833
3
+ size 1417485
audio/doubao/7487399.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40144edfbd61f8e8cf3383fc395580494d022cc1a5bcbb064f59671648725bb7
3
+ size 1817805
audio/doubao/7788379.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:320683bb1ca2409a5d96ed897a954d5df6f826c40cb38de1ca27065bc5126101
3
+ size 1616205
audio/doubao/79577853.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f14b46337fc285c1dc23ed720d59004cf7d4e7128decc3485db7e1225168fb0
3
+ size 2074125
audio/doubao/8096990.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:728c51e575bea9fb336fff7fb4a55077f76040c19d517599d73144ba524b6c92
3
+ size 1630125
audio/doubao/8188433.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a828eff956b91dc7ac9a5b1eddd71c844a34a7194aa91df525105b36a680d23a
3
+ size 1504365
audio/doubao/90183256.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e146bbf3caa1dfc5173c4c3174dbe1335a680e0c75dcc1e33d450a5fead7c69c
3
+ size 1601805
audio/doubao/927587.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06aacab7fa5d6a8d0f236e6e3c30bd1ba7c97b325460353fadf1c6157426b12f
3
+ size 1188480
audio/doubao/9458053.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3211b906d541b3c1194e8423999aee6a96e659c435beb79a764aaa19ba4a2f4f
3
+ size 1275840
audio/generate_data_viewer.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import csv
3
+ import json
4
+
5
+ ref_path = os.getenv("REF_PATH")
6
+ cer_path = os.getenv("CER_PATH")
7
+ sim_path = os.getenv("SIM_PATH")
8
+
9
+ assert ref_path is not None
10
+ with open(ref_path, 'r') as f:
11
+ data = json.load(f)
12
+ with open(cer_path, 'r') as f:
13
+ cer_data = json.load(f)
14
+ with open(sim_path, 'r') as f:
15
+ sim_data = json.load(f)
16
+ ref = {}
17
+ c = 1
18
+ for item in data:
19
+ k = item['ref_wav_path']
20
+ ref[k] = {
21
+ 'speaker_name': item['up_name'],
22
+ 'input_text': item['text'],
23
+ 'tag': item['category'],
24
+ 'id': f'{c:03d}'
25
+ }
26
+ c += 1
27
+
28
+ folders = ['human', 't-large', 'p-preview', 'xunfei', 'doubao']
29
+ csv_file = 'metadata.csv'
30
+
31
+ with open(csv_file, mode='w', newline='') as file:
32
+ writer = csv.writer(file)
33
+ writer.writerow(['file_name', 'id', 'speaker_name', 'TTS_method', 'input_text', 'cer', 'sim', 'tag'])
34
+
35
+ for item in os.listdir('human'):
36
+ v = ref[item]
37
+ for folder in folders:
38
+ file_id = item.split('.')[0]
39
+ if folder in ['xunfei', 'doubao']:
40
+ file_name = os.path.join(folder, file_id + '.mp3')
41
+ else:
42
+ file_name = os.path.join(folder, item)
43
+ if folder in ['human']:
44
+ writer.writerow([file_name, v['id'], v['speaker_name'], folder, v['input_text'], 0., 1., v['tag']])
45
+ else:
46
+ writer.writerow([file_name, v['id'], v['speaker_name'], folder, v['input_text'], cer_data[file_id][folder+'_cer'], sim_data[file_id][folder+'_sim'], v['tag']])
47
+ writer.writerow([])
48
+
49
+ print(f"CSV OK: {csv_file}")
audio/human/7349.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4ebc249b96c293c8f19d690e5242688b4637c241783255772ab070f208886f0
3
+ size 3972524
audio/human/7481602.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ca2933f8601a41fcf7b0bb86d4435eab3c1bc1daa9ce083901a39a6b65c7fd5
3
+ size 4342444
audio/human/7487399.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f08eb609619aae5221a9aab8b3a56a63b658c922788ccba98b8bd83be97e28ee
3
+ size 4080044
audio/human/7788379.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0cb4966aa09914867290065a37f2c41b25ef5f63250be0c7ec963a682350129
3
+ size 3911084
audio/human/79577853.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da068c14025a5caeab0113c7f66283c6d76d66480733647e9230457e48192553
3
+ size 4685484
audio/human/8096990.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dced450d0f8054f704b679333c7ee4f4044e77a883983b585adad6cfa5b7b06
3
+ size 3863724
audio/human/8188433.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b45048605484a23feb5b612109710f882ca246dc1715fce228e7a0df440459d
3
+ size 4988204
audio/human/90183256.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1a6c8b9d5dd14b03e8e9fb53367896c3e371a392d82cee6bdd5531dc350dbeb
3
+ size 3902124
audio/human/927587.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a99e931ba560e95fef8432a18d4ec38cc8ee5e336f1de814a88796aeaf3d04
3
+ size 3923308
audio/human/9458053.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea48a6352d17d5f0675b7f60841f56ebf5359c714983143395cec7f4a8f47300
3
+ size 3846444
audio/p-preview/7349.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43541c5e8ef0edae8d32dd44d4845f32a92ee551dae67dadd0ab8d94ab0bc952
3
+ size 5687376
audio/p-preview/7481602.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b5b978884097f12404e1e14b036a5ba74ea65cfa6a0c35456eba5a867d86d19
3
+ size 5401680
audio/p-preview/7487399.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a14914579c48d39485f302120773243d40c8e0ca1a937db807bfc72bc7aef9b
3
+ size 6147152
audio/p-preview/7788379.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d4b80fdc4a3c647e324d85eeec7ea7f7ca9ecdc2e994cefbfa51be1f2f828c
3
+ size 5406800
audio/p-preview/79577853.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c16727f4ec876d0cad950008142b51c3ab8058de5fb8c04c3b734759f11eb8
3
+ size 6617168
audio/p-preview/8096990.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03838d0839bb704c2df49524cd01ec21b696a6fc8d9e74056a9cc05f581808d6
3
+ size 5512272
audio/p-preview/8188433.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21935a9f98dd269585593ef9d62ea260cc23c2f22c6feb76593f307150643660
3
+ size 4102224
audio/p-preview/90183256.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:607e12ab574ff115480fb64c2ca07274b1454dbadd71616b6fba622b8f3bf20b
3
+ size 5266512
audio/p-preview/927587.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fb0f127cce884b9ae7d880c35b7746ab05cc6b6d1ec039774b25d121d51bac4
3
+ size 4545616
audio/p-preview/9458053.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62b3dfc72ad483ec36640d49ffcec60ffa633b0bce1452b7fae8684849151e58
3
+ size 4671568
audio/t-large/7349.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:154e07a15da3332ef86796ae2636bf062e79e55fe472c512384c58f8dd66ecd9
3
+ size 2131244
audio/t-large/7481602.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4ba87c69f1048bc85288028a8e4db6d1a4699f5d6336c90d7f45ee123cd2929
3
+ size 1984044
audio/t-large/7487399.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f694eb49d319d163794b907fbd125ad09b307a4acd1967aa65c70ed14424830
3
+ size 2258604
audio/t-large/7788379.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:427ed677930568cc5ae8200ab2e62325c70d9554029cbbdfacbdb6e0e7b1cc01
3
+ size 1930924
audio/t-large/79577853.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f643efd19b34a03f2d37da580d1d4d62e9691d5b592778ccc637724bfd3b7224
3
+ size 2576684
audio/t-large/8096990.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ac9dbe8db57ab6c9d001fc2c398b405c9410745a0a06be15b286e2603503b68
3
+ size 1977644
audio/t-large/8188433.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0ad92e854988c90656acddc21e575ffb9fdf4a753718b9e3e1255b1c7244777
3
+ size 1612204
audio/t-large/90183256.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abdaa16c849092c3ddbb65918b166d4e170887e2ec4836f6c3680f6dc5ce9330
3
+ size 1982124
audio/t-large/927587.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68f0550b3437a9713fbda4fee962f00a9b8af85b30eda5b903ebbc47117a427f
3
+ size 1449644
audio/t-large/9458053.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc0727251f7ea1977a0c933d7d1e307a2386f702607473a7d0f642b3b3d9184
3
+ size 1659564
audio/t-large/codec.list ADDED
The diff for this file is too large to render. See raw diff
 
audio/xunfei/7349.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9075700b097be416588a0cd62b2d28cf0850c9dd5eef6d40d0a4f47462fac7b8
3
+ size 438048
audio/xunfei/7481602.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32cee7cb874fbd44568d240db4a60cc74308a32733992f70ed0bcbfc241f1070
3
+ size 401328
audio/xunfei/7487399.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96943ab3a5935e390dee1db902097fb739c5ea2c777e42c4988d5fcda4b1029c
3
+ size 519696
audio/xunfei/7788379.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a6426848bf06688f2990b4e5e0c4d87e14f49d312ad9ff1242f7e4c163ae176
3
+ size 390528
audio/xunfei/79577853.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:606bad4a81215074310788e55a6d4b1487938d4f6edb4e6fafa6685eca176a28
3
+ size 526896
audio/xunfei/8096990.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c62202ee35694a21b99c614331c6e99f5ed71e8f7965b49d8b913da6a2c115c8
3
+ size 471744
audio/xunfei/8188433.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f04d55f6d4692bfa8508e512bf6a8805a10499c6e3fe389746f6dd3574fb76ef
3
+ size 423072