You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-13
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,10 @@
14
14
15
15
A simple text-to-speech client for Azure TTS API. :laughing:
16
16
17
-
You can try the Azure TTS API online: https://azure.microsoft.com/en-us/services/cognitive-services/text-to-speech
18
-
19
17
## Note
20
18
21
19
Starting from version 4.0.0, `aspeak` is rewritten in rust. The old python version is available at the `python` branch.
22
20
23
-
By default, we try to use a trial endpoint that doesn't require authentication.
24
-
But its availability is not guaranteed and its capability is restricted by Microsoft.
25
-
26
21
You can sign up for an Azure account and then
27
22
[choose a payment plan as needed (or stick to free tier)](https://azure.microsoft.com/en-us/pricing/details/cognitive-services/speech-services/).
28
23
The free tier includes a quota of 0.5 million characters per month, free of charge.
@@ -48,7 +43,7 @@ From v4.1.0, You can install `aspeak-bin` from AUR.
48
43
Installing from PyPI will also install the python binding of `aspeak` for you. Check [Library Usage#Python](#Python) for more information on using the python binding.
49
44
50
45
```bash
51
-
pip install -U aspeak==4.3.1
46
+
pip install -U aspeak==5.0.0
52
47
```
53
48
54
49
Now the prebuilt wheels are only available for x86_64 architecture.
@@ -108,6 +103,10 @@ $ aspeak --region <YOUR_REGION> --key <YOUR_SUBSCRIPTION_KEY> text "Hello World
108
103
109
104
If you are using a custom endpoint, you can use the `--endpoint` option instead of `--region`.
110
105
106
+
To avoid repetition, you can store your authentication details
107
+
in your aspeak profile.
108
+
Read the following section for more details.
109
+
111
110
From v4.3.0, you can let aspeak use a proxy server to connect to the endpoint.
112
111
For now, only http and socks5 proxies are supported (no https support yet). For example:
0 commit comments