add parliament tts
Browse files- README.md +59 -0
- tts-malay-yasmin-parliament.tar.gz +3 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Malay-TTS-Yasmin
|
2 |
+
|
3 |
+
All notebooks and code related at https://github.com/huseinzol05/malaya-speech/tree/master/data/azure-tts
|
4 |
+
|
5 |
+
## Attributes
|
6 |
+
|
7 |
+
### Wiki and News
|
8 |
+
|
9 |
+
- 24000 sample rate, super clean.
|
10 |
+
- narrator `ms-MY-YasminNeural`.
|
11 |
+
- approximate 99.4 hours.
|
12 |
+
- Texts from Malay Wikipedia and News.
|
13 |
+
- Sentences between 2 words and 20 words.
|
14 |
+
|
15 |
+
### Parliament
|
16 |
+
|
17 |
+
- 24000 sample rate, super clean.
|
18 |
+
- narrator `ms-MY-YasminNeural`.
|
19 |
+
- approximate 142 hours.
|
20 |
+
- Texts from Malaysia Malay Parliament.
|
21 |
+
- Sentences between 2 words and 25 words.
|
22 |
+
|
23 |
+
## how-to
|
24 |
+
|
25 |
+
### Wiki and News
|
26 |
+
|
27 |
+
1. Download [populated-text.json](populated-text.json) and [tts-malay-yasmin.tar.gz](tts-malay-yasmin.tar.gz).
|
28 |
+
|
29 |
+
2. To get wav and transcript,
|
30 |
+
|
31 |
+
```python
|
32 |
+
import json
|
33 |
+
import soundfile as sf
|
34 |
+
|
35 |
+
with open('populated-text.json') as fopen:
|
36 |
+
texts = json.load(fopen)
|
37 |
+
|
38 |
+
index = 0
|
39 |
+
text = texts[index]
|
40 |
+
y, sr = sf.read('female/{index}.wav')
|
41 |
+
```
|
42 |
+
|
43 |
+
### Parliament
|
44 |
+
|
45 |
+
1. Download [populated-parliament.json](populated-parliament.json) and [tts-malay-yasmin-parliament.tar.gz](tts-malay-yasmin-parliament.tar.gz).
|
46 |
+
|
47 |
+
2. To get wav and transcript,
|
48 |
+
|
49 |
+
```python
|
50 |
+
import json
|
51 |
+
import soundfile as sf
|
52 |
+
|
53 |
+
with open('populated-parliament.json') as fopen:
|
54 |
+
texts = json.load(fopen)
|
55 |
+
|
56 |
+
index = 0
|
57 |
+
text = texts[index]
|
58 |
+
y, sr = sf.read('female-parliament/{index}.wav')
|
59 |
+
```
|
tts-malay-yasmin-parliament.tar.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad5afa675dd8cdc06fa460da3af553c31d0ad2b88d97782150c82d6c039fd7bb
|
3 |
+
size 24586137600
|