在做蓝牙音箱的时候会需要用到一些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
复制到输入网址框
商业用途注意版权!!