文件名称:基于soundPool语音播报.zip
文件大小:22KB
文件格式:ZIP
更新时间:2023-06-27 07:41:26
语音播报 一次解码 无SDK 内含金钱转中文串算法
使用教程: 使用: VoiceSpeak.util.playVoicePool(MoneyUtil.readString("30.57"),this) VoiceSpeak.util.playVoicePool(MoneyUtil.readString("108"),this) VoiceSpeak.util.playVoicePool(MoneyUtil.readString("556.78"),this) VoiceSpeak.util.playVoicePool(MoneyUtil.readString("104850000.56"),this) VoiceSpeak.util.playVoicePool(MoneyUtil.readString("10090005000"),this) VoiceSpeak.util.playVoicePool(MoneyUtil.readString("111111111.11"),this)
【文件预览】:
assets
----sound()
--------tts_4.mp3(1008B)
--------tts_hundred.mp3(1KB)
--------tts_2.mp3(936B)
--------tts_success.mp3(1KB)
--------tts_ten_million.mp3(864B)
--------tts_5.mp3(1008B)
--------tts_thousand.mp3(1008B)
--------tts_1.mp3(936B)
--------tts_ten_thousand.mp3(792B)
--------tts_ten.mp3(1KB)
--------tts_yuan.mp3(936B)
--------tts_dot.mp3(1008B)
--------tts_8.mp3(936B)
--------tts_9.mp3(1KB)
--------tts_7.mp3(1KB)
--------tts_6.mp3(1008B)
--------tts_0.mp3(1KB)
--------tts_3.mp3(1KB)
main
----MoneyUtil.kt(5KB)
----VoiceSpeak.kt(9KB)