這篇寫的不錯
http://pycoders-weekly-chinese.readthedocs.io/en/latest/issue5/unipain.html
轉換,最後還是看這篇 QQ
https://www.zhihu.com/question/53470998
這幾篇也不錯
https://dannypheobe.blogspot.com/2017/02/python2-python3.html
http://blog.chunnorris.cc/2015/04/python-2x-unicode.html
http://ez2learn.com/basic/unicode.html
2018年6月21日 星期四
2018年6月20日 星期三
[Linux] 輸入法
用了很多年的Linux,可是中文輸入法一直沒有太改善,常會莫名出現問題
今天的 libreoffice 中文輸入突然啟動不了,我是使用 fcitx,最後是又裝了 IBus 的新酷音才在 libreoffice 啟動
幫 QQ
今天的 libreoffice 中文輸入突然啟動不了,我是使用 fcitx,最後是又裝了 IBus 的新酷音才在 libreoffice 啟動
幫 QQ
[RPi] espeak TTS ALSA Unknown PCM cards
使用 espaek 發聲會出現一堆看起來是錯誤的訊息,主要原因是 espeak 透過 ALSA 發聲,但預設的設定檔有些裝置找不到造成的。
如果看了很煩可以參考這幾篇註解掉。
* Jack server is not running and cannot be started
* espeak TTS ALSA Unknown PCM cards
至於 JACK server error 就是沒有安裝 JACK
如果看了很煩可以參考這幾篇註解掉。
* Jack server is not running and cannot be started
* espeak TTS ALSA Unknown PCM cards
Full dictionary is not installed for 'zh' ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device' ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa ALSA lib pcm_dmix.c:990:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dsnoop.c:556:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
至於 JACK server error 就是沒有安裝 JACK
2018年6月18日 星期一
[RPi] Hack Voice Kit
https://dronebotworkshop.com/hacking-google-aiy-voice-kit-part-1/
https://dronebotworkshop.com/hacking-google-aiy-voice-kit-2/
https://dronebotworkshop.com/hacking-google-aiy-voice-kit-2/
[Audio] Linux Audio 介紹與整理
Linux Audio 介紹與整理
https://github.com/robbie-cao/kb-audio/blob/master/README.md
訂閱:
文章 (Atom)