在做藍牙音箱的時候會需要用到一些mp3格式的提示音,找例如藍牙模式這樣的提示音是很艱難的事情。然而,一些翻譯網站往往會能找到這樣的提示音,但是呢,一般都是不能直接下載的,下面介紹記錄一個下載的方法。
1.打開搜狗翻譯
https://fanyi.sogou.com/?fr=websearch
2.輸入想要下載的語音文字
比如我要下載藍牙模式的英文發音:
3.打開網頁開發者模式:
我用的是谷歌瀏覽器
單擊鍵盤上的F12(筆記本一般是fn+F12)
依次操作:
右鍵複製需要注意:
複製出的元素如下:
<span class="btn-sound" id="textarea-sound" data-tooltip="朗讀"
data-sound-type="to" data-action="sound" data-sound-cl-type="other" data-src="/reventondc/synthesis?
text=Bluetooth%20mode&speed=1&lang=en&from=translateweb"></span>
去掉多餘的,只保留data-src=後雙引號括起來的部分:
reventondc/synthesis?text=Bluetooth%20mode&speed=1&lang=en&from=translateweb
直接訪問這個鏈接是會出錯的,瀏覽器會顯示找不到主機。需要在這個連接前加上https://fanyi.sogou.com//
完整:
https://fanyi.sogou.com//reventondc/synthesis?text=Bluetooth%20mode&speed=1&lang=en&from=translateweb
複製到輸入網址框
商業用途注意版權!!