# 語音辨識、文字轉語音 ###### tags: `Speaker` `System` {%hackmd @Z8g9G2D5SFWfj93fPVj-lw/black-theme %} ### 參考資料 * 文字轉語音 * http://yhhuang1966.blogspot.com/2017/08/google-gtts-api.html * 語音轉文字 * https://deepspeech.readthedocs.io/en/r0.9/USING.html * https://github.com/mozilla/DeepSpeech * https://github.com/mozilla/DeepSpeech/releases * https://github.com/mozilla/DeepSpeech-examples/tree/r0.9/mic_vad_streaming * https://www.youtube.com/watch?v=c_0Q3T0XYTA * 語料庫:https://www.kaggle.com/datasets * 語料庫:https://commonvoice.mozilla.org/zh-TW/datasets * http://yhhuang1966.blogspot.com/2017/08/google-api.html ### 使用工具 * DeepSpeech、SpeechRecognition * 語音轉文字 * gTTs * 文字轉語音 * 連接google翻譯 ### 輸入輸出 * 接收到文字轉成語音 * 使用者說完話後轉成文字 ### 額外實作需要的功能 * 講完「嘿小絨」後停30秒自動結束 * 需要停止音樂的播放 * 結束輸出後要恢復音樂的播放