Categories: Linux, Toolchain
Build kernel for Ubuntu 10.04
June 12th, 2010Link: https://help.ubuntu.com/community/Kernel/Compile
Install package and source
sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package
Get source
sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r) apt-get source linux-image-$(uname -r)
Fix chinese problem for Console2
June 5th, 2010Console2 is a great replacement for cmd. But it has problem to display chinese characters. The root case is that console assume that one character only occupy one column. Even it is true for english, but it is wrong for chinese. I patch a quick and dirty fix at least work for chinese character.
I attach win32 release version you can used to override original console. Please get from here http://blog.joyofthink.com/yangchen/media/blogs/a/console_chinese.zip
Install dev man page ( man page section 2 )
May 23rd, 2010sudo apt-get install "manpages-dev"
festivaltts4r分析
January 14th, 2010festivaltts4r是ruby的一个gem,用来实现tts.分析它的代码,发现这是一个非常低效的实现,就是直接执行festival --tts的命令来发声.
festival本身提供festival-client模式和api模式,采用这两种应该可以提供更高效的实现.
Using TTS in Ubuntu
January 14th, 2010Ubuntu uses festival as its TTS solution.
sudo aptitude install festival
But it has problem to work with PluseAudio and Bluetooth. For overcoming this problem, I found following wiki. Please notice following section "Configuration for ESD or PulseAudio"
- Open the configuration file by typing gksudo gedit /etc/festival.scm or gedit ~/.festivalrc in a terminal.
- Add the following lines at the end of the file:
(Parameter.set 'Audio_Method 'esdaudio) - Save the file.
Better voice
For using better voice, please following this HOWTO: Make festival TTS use better voices (MBROLA / CMU / HTS)