吾劍未嘗不利,國內(nèi)Azure平替,科大訊飛人工智能免費(fèi)AI語音合成(TTS)服務(wù)Python3.10接入

微軟Azure平臺(tái)的語音合成(TTS)技術(shù)確實(shí)神乎其技钞诡,這一點(diǎn)在之前的一篇:含辭未吐,聲若幽蘭,史上最強(qiáng)免費(fèi)人工智能AI語音合成TTS服務(wù)微軟Azure(Python3.10接入)蹬音,已經(jīng)做過詳細(xì)介紹埋涧,然則Azure平臺(tái)需要信用卡驗(yàn)證撩满,有一定門檻,對(duì)國內(nèi)用戶不太友好纽什,放眼神州降盹,科大訊飛的訊飛開放平臺(tái)也有語音合成服務(wù)接口与柑,可以通過語音合成流式接口將文字信息轉(zhuǎn)化為聲音信息。

創(chuàng)建語音應(yīng)用

首先注冊(cè)訊飛開放平臺(tái)澎现,隨后創(chuàng)建語音合成應(yīng)用:https://console.xfyun.cn/app/myapp

創(chuàng)建成功后仅胞,可以獲取5個(gè)小時(shí)的免費(fèi)語音合成時(shí)間,同時(shí)獲取應(yīng)用的appid剑辫、秘鑰和APIKey:

image

該語音合成能力是通過基于Websocket協(xié)議的長連接接口API的方式給開發(fā)者提供一個(gè)通用的接口干旧。

Websocket協(xié)議接口具備流式傳輸能力,適用于需要流式數(shù)據(jù)傳輸?shù)腁I服務(wù)場(chǎng)景妹蔽,比起集成在客戶端的SDK椎眯,流接口具備輕量、跨語言的特點(diǎn)胳岂;相較于傳統(tǒng)的HTTP協(xié)議接口编整,Websocket協(xié)議接口有原生支持跨域的優(yōu)勢(shì),換句話說乳丰,從前端就可以直接進(jìn)行語音轉(zhuǎn)換掌测,而不需要后端參與。

接口鑒權(quán)

根據(jù)官網(wǎng)的接口文檔:https://www.xfyun.cn/doc/tts/online_tts/API.html 产园,我們先安裝對(duì)應(yīng)的三方庫:

pip3 install websocket==0.2.1  
pip3 install websocket-client==0.56.0

由于訊飛的服務(wù)端支持的websocket版本是13汞斧,所以需要確保請(qǐng)求端使用的庫支持該版本夜郁。

首先導(dǎo)入基礎(chǔ)庫,并且預(yù)設(shè)語音合成類的參數(shù):

import websocket  
import datetime  
import hashlib  
import base64  
import hmac  
import json  
from urllib.parse import urlencode  
import time  
import ssl  
from wsgiref.handlers import format_date_time  
from datetime import datetime  
from time import mktime  
import _thread as thread  
import os  
  
  
file_path = "/Users/liuyue/wodfan/work/xunfei-ttp"  
file_name = "demo.mp3"  
  
  
class Ifly:  
    # 初始化  
    def __init__(self, APPID, APIKey, APISecret, Text):  
        self.APPID = APPID  
        self.APIKey = APIKey  
        self.APISecret = APISecret  
        self.Text = Text  
  
        # 公共參數(shù)(common)  
        self.CommonArgs = {"app_id": self.APPID}  
        # 業(yè)務(wù)參數(shù)(business)粘勒,更多個(gè)性化參數(shù)可在官網(wǎng)查看  
        self.BusinessArgs = {"aue": "lame", "auf": "audio/L16;rate=16000", "vcn": "xiaoyan", "tte": "utf8","sfl":1,"speed":80}  
        self.Data = {"status": 2, "text": str(base64.b64encode(self.Text.encode('utf-8')), "UTF8")}

這里把應(yīng)用的APPID, APIKey, APISecret作為實(shí)例化參數(shù)進(jìn)行傳入竞端,Text為需要語音合成的文本。

和Http協(xié)議一樣庙睡,Websocekt協(xié)議接口也需要鑒權(quán)操作事富,這里需要通過接口密鑰基于hmac-sha256計(jì)算簽名,向訊飛的服務(wù)器端發(fā)送Websocket協(xié)議握手請(qǐng)求:

 # 生成url  
    def create_url(self):  
        url = 'wss://tts-api.xfyun.cn/v2/tts'  
        # 生成RFC1123格式的時(shí)間戳  
        now = datetime.now()  
        date = format_date_time(mktime(now.timetuple()))  
  
        # 拼接字符串  
        signature_origin = "host: " + "ws-api.xfyun.cn" + "\n"  
        signature_origin += "date: " + date + "\n"  
        signature_origin += "GET " + "/v2/tts " + "HTTP/1.1"  
        # 進(jìn)行hmac-sha256進(jìn)行加密  
        signature_sha = hmac.new(self.APISecret.encode('utf-8'), signature_origin.encode('utf-8'),  
                                 digestmod=hashlib.sha256).digest()  
        signature_sha = base64.b64encode(signature_sha).decode(encoding='utf-8')  
  
        authorization_origin = "api_key=\"%s\", algorithm=\"%s\", headers=\"%s\", signature=\"%s\"" % (  
            self.APIKey, "hmac-sha256", "host date request-line", signature_sha)  
        authorization = base64.b64encode(authorization_origin.encode('utf-8')).decode(encoding='utf-8')  
        # 將請(qǐng)求的鑒權(quán)參數(shù)組合為字典  
        v = {  
            "authorization": authorization,  
            "date": date,  
            "host": "ws-api.xfyun.cn"  
        }  
        # 拼接鑒權(quán)參數(shù)乘陪,生成url  
        url = url + '?' + urlencode(v)  
        return url

隨后實(shí)例化轉(zhuǎn)換類统台,并且生成Websocket協(xié)議地址:

if __name__ == "__main__":  
    # 測(cè)試時(shí)候在此處正確填寫相關(guān)信息即可運(yùn)行  
    ifly = Ifly(APPID='', APISecret='',  
                       APIKey='',  
                       Text="你好這是一個(gè)語音合成示例")  
    websocket.enableTrace(False)  
    wsUrl = ifly.create_url()  
    print(wsUrl)

程序返回:

?  xunfei-ttp /opt/homebrew/bin/python3.10 "/Users/liuyue/wodfan/work/xunfei-ttp/iflytek-tts.py"  
wss://tts-api.xfyun.cn/v2/tts?authorization=YXBpX2tleT0iZWNkOTY1MWU1NjA1NjMxNDAyYzAzOGYwY2RkY2JkNDIiLCBhbGdvcml0aG09ImhtYWMtc2hhMjU2IiwgaGVhZGVycz0iaG9zdCBkYXRlIHJlcXVlc3QtbGluZSIsIHNpZ25hdHVyZT0icDN1SU9Xc2RLUG1aM0pJanpNK3RYcXRZOTcxcVA3cW5UclRubmZRQ0dCMD0i&date=Tue%2C+07+Feb+2023+09%3A10%3A49+GMT&host=ws-api.xfyun.cn

至此Websocekt鑒權(quán)環(huán)節(jié)就完成了,訊飛的服務(wù)端將發(fā)起握手時(shí)會(huì)對(duì)接口地址中的authorization參數(shù)進(jìn)行驗(yàn)簽操作暂刘。

語音流式轉(zhuǎn)換

隨后饺谬,我們可以發(fā)起Websocket鏈接了:

# 收到websocket錯(cuò)誤的處理  
def on_error(ws, error):  
    print("### error:", error)  
  
  
# 收到websocket關(guān)閉的處理  
def on_close(ws):  
    print("### 鏈接關(guān)閉 ###")  
  
  
# 收到websocket連接建立的處理  
def on_open(ws):  
    def run(*args):  
        d = {"common": ifly.CommonArgs,  
             "business": ifly.BusinessArgs,  
             "data": ifly.Data,  
             }  
        d = json.dumps(d)  
        print("------>開始發(fā)送文本數(shù)據(jù)")  
        ws.send(d)  
        if os.path.exists(f'{file_path}/{file_name}'):  
            os.remove(f'{file_path}/{file_name}')  
  
    thread.start_new_thread(run, ())  
  
  
if __name__ == "__main__":  
    # 測(cè)試時(shí)候在此處正確填寫相關(guān)信息即可運(yùn)行  
    ifly = Ifly(APPID='', APISecret='',  
                       APIKey='',  
                       Text="你好這是一個(gè)語音合成示例")  
    websocket.enableTrace(False)  
    wsUrl = ifly.create_url()  
    print(wsUrl)  
    ws = websocket.WebSocketApp(wsUrl, on_message=on_message,on_close=on_close)  
    print(ws)  
    ws.on_open = on_open  
    ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})

這里通過on_open方法將參數(shù)數(shù)據(jù)傳入到服務(wù)端,基本參數(shù)默認(rèn)值設(shè)置了語音輸出格式為mp3谣拣,朗讀者是xiaoyan,也就是訊飛小燕族展,語速為80森缠,默認(rèn)為50,語速快一點(diǎn)顯得沒有那么呆板仪缸。

隨后訊飛服務(wù)端會(huì)通過onmessage方法將轉(zhuǎn)換好的音頻流傳回客戶端:

def on_message(ws, message):  
    try:  
        message =json.loads(message)  
        code = message["code"]  
        sid = message["sid"]  
        audio = message["data"]["audio"]  
        audio = base64.b64decode(audio)  
        status = message["data"]["status"]  
        print(code)  
        if status == 2:  
            print("ws is closed")  
            ws.close()  
        if code != 0:  
            errMsg = message["message"]  
            print("sid:%s call error:%s code is:%s" % (sid, errMsg, code))  
        else:  
            with open(f'{file_path}/{file_name}', 'ab') as f:  
                f.write(audio)  
  
    except Exception as e:  
        print("receive msg,but parse exception:", e)

注意返回值為Json格式的字符串贵涵,語音流放在data的audio字段中,隨后寫入到指定目錄的mp3文件即可恰画,程序返回樣例:

xunfei-ttp /opt/homebrew/bin/python3.10 "/Users/liuyue/wodfan/work/xunfei-ttp/iflytek-tts.py"  
wss://tts-api.xfyun.cn/v2/tts?authorization=YXBpX2tleT0iZWNkOTY1MWU1NjA1NjMxNDAyYzAzOGYwY2RkY2JkNDIiLCBhbGdvcml0aG09ImhtYWMtc2hhMjU2IiwgaGVhZGVycz0iaG9zdCBkYXRlIHJlcXVlc3QtbGluZSIsIHNpZ25hdHVyZT0ibXJwZmVrTE9nMFcrbjd4Q2hjYWJCMG14ZmxRRTBnbXJSNzdhUS9HWGp3OD0i&date=Tue%2C+07+Feb+2023+09%3A19%3A26+GMT&host=ws-api.xfyun.cn  
<websocket._app.WebSocketApp object at 0x104d47af0>  
------>開始發(fā)送文本數(shù)據(jù)  
{'code': 0, 'message': 'success', 'sid': 'tts000e2154@hu1862b2c44cb05e0902', 'data': {'audio': '//NoxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//NoxAAd8KZ4N1owAAwU5JM85W4amaEtOtDwyyA4cU48M3K0z5MFD3uawziKd3T09PbzzpwAQcmTJ60EyZNNMH5cP8oCDoIHC58uD76wQBDxOD6gfeIAQMxBhh2XB8H3w//E4IAgc5QEAxiAMKdE58uH/BAEHAg7xA4QA+D/+JwfgmD+UVKACQW245bM04TEIhGpTQRNrL5pAiIAYSQlHAKiaYdAYM47AJ0oUmWH38R7AkuogKArFqiq08pdHRi5Qe++NuMtCpGT3PubZFS1XbycmA1EYaaX//NoxFNBxBa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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqsGlmu2rlt0IVWU1RSSqhUUhkUoUOSCpLlPN+hgIxkMZW/Qz/MZ8xn/LlL6tR1/7yl1+gEKKWGFPleBOFEt///9kebmNRwowGhLOrcVIhsRRKqSEQd8SlTpH+WflnzvLVRKMqTEFNRTMuMTAwqqqqqqqqqqqqqqqqqqqqqiRZBILnfAwIqBJcCCCDoWMee2T2t1KeTRaGYv/zaMSXGJKGnb4KRBZR2AYKg2AJXSU9i2dn//LFgMEDBgqlllsqf///2SzIyl862zjMKFBhQYTCukikjeME+EmkjtJkMkToLUJyNAmZdDPHsNkU4MYQUoC/oYo1Yxrhea4EOmZJZG5rkh0vTOMZxvX/////9a4zTeo0GFClgXiT1tnP1asKDJLLJLQMqrhiQYlTDVBq6ZXbKyoiX///3/+FVVVVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/zaMTmLHsFXZzA3vVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVQ==', 'status': 2, 'ced': '36'}}  
ws is closed  
### 鏈接關(guān)閉 ###

轉(zhuǎn)換后文件:

?  xunfei-ttp ls  
demo.mp3         iflytek-tts.py   requirements.txt

除了訊飛小燕宾茂,免費(fèi)版也可以選擇其他朗讀者:

訊飛小燕  
普通話  
xiaoyan  
已開通  
-  
-  
訊飛許久  
普通話  
aisjiuxu  
已開通  
-  
-  
訊飛小萍  
普通話  
aisxping  
已開通  
-  
-  
訊飛小婧  
普通話  
aisjinger  
已開通  
-  
-  
訊飛許小寶  
普通話  
aisbabyxu

個(gè)性化定制上,免費(fèi)版有一定的限制拴还,這一點(diǎn)不如微軟Azure跨晴。

結(jié)語

僅就免費(fèi)版本體現(xiàn)出的產(chǎn)品力來看,訊飛平臺(tái)較微軟Azure還是略遜一籌片林,但其基于Websocket的流式接口架構(gòu)端盆,確是頗有足以借鏡之處,隨著國內(nèi)AI 技術(shù)的不斷發(fā)展费封,差距在逐漸縮小焕妙。最后,奉上完整項(xiàng)目地址弓摘,與眾親同饗:https://github.com/zcxey2911/xunfei-tts

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末焚鹊,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子韧献,更是在濱河造成了極大的恐慌末患,老刑警劉巖研叫,帶你破解...
    沈念sama閱讀 206,126評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異阻塑,居然都是意外死亡蓝撇,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,254評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門陈莽,熙熙樓的掌柜王于貴愁眉苦臉地迎上來渤昌,“玉大人,你說我怎么就攤上這事走搁《栏蹋” “怎么了?”我有些...
    開封第一講書人閱讀 152,445評(píng)論 0 341
  • 文/不壞的土叔 我叫張陵私植,是天一觀的道長忌栅。 經(jīng)常有香客問我,道長曲稼,這世上最難降的妖魔是什么索绪? 我笑而不...
    開封第一講書人閱讀 55,185評(píng)論 1 278
  • 正文 為了忘掉前任,我火速辦了婚禮贫悄,結(jié)果婚禮上瑞驱,老公的妹妹穿的比我還像新娘。我一直安慰自己窄坦,他們只是感情好唤反,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,178評(píng)論 5 371
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著鸭津,像睡著了一般彤侍。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上逆趋,一...
    開封第一講書人閱讀 48,970評(píng)論 1 284
  • 那天盏阶,我揣著相機(jī)與錄音,去河邊找鬼父泳。 笑死般哼,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的惠窄。 我是一名探鬼主播蒸眠,決...
    沈念sama閱讀 38,276評(píng)論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼杆融!你這毒婦竟也來了楞卡?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,927評(píng)論 0 259
  • 序言:老撾萬榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎蒋腮,沒想到半個(gè)月后淘捡,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,400評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡池摧,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,883評(píng)論 2 323
  • 正文 我和宋清朗相戀三年焦除,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片作彤。...
    茶點(diǎn)故事閱讀 37,997評(píng)論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡膘魄,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出竭讳,到底是詐尸還是另有隱情创葡,我是刑警寧澤,帶...
    沈念sama閱讀 33,646評(píng)論 4 322
  • 正文 年R本政府宣布绢慢,位于F島的核電站灿渴,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏胰舆。R本人自食惡果不足惜骚露,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,213評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望缚窿。 院中可真熱鬧荸百,春花似錦、人聲如沸滨攻。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,204評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽光绕。三九已至,卻和暖如春畜份,著一層夾襖步出監(jiān)牢的瞬間诞帐,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 31,423評(píng)論 1 260
  • 我被黑心中介騙來泰國打工爆雹, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留停蕉,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 45,423評(píng)論 2 352
  • 正文 我出身青樓钙态,卻偏偏與公主長得像慧起,于是被迫代替她去往敵國和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子册倒,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,722評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容