参考:
https://blog.csdn.net/weixin_42357472/article/details/132256328
安装
pip install edge-tts
import asyncio
import edge_tts
import pygame
import io
from edge_tts import VoicesManager
from collections import deque
from concurrent.futures import ThreadPoolExecutor
class EdgeTTSStreaming:
def __init__(self):
self.voice =