Other tts solutions
This commit is contained in:
10
edge-tts/edge-tts_first.py
Normal file
10
edge-tts/edge-tts_first.py
Normal file
@ -0,0 +1,10 @@
|
||||
#pip install edge-tts
|
||||
|
||||
import asyncio
|
||||
import edge_tts
|
||||
|
||||
async def speak():
|
||||
tts = edge_tts.Communicate("Hello World", voice="en-US-JennyNeural")
|
||||
await tts.save("output.mp3")
|
||||
|
||||
asyncio.run(speak())
|
||||
BIN
edge-tts/output.mp3
Normal file
BIN
edge-tts/output.mp3
Normal file
Binary file not shown.
Reference in New Issue
Block a user