2009年3月30日 星期一

我的HP rw6828升級記錄 (II)

最近灌了一個中文的軟體,但是使用前一篇安裝的WM6在開啟該軟體後,卻顯示許多的亂碼;
根本沒有辦法使用!!
還好在xda-developer上看到一個專門給HP rw6828使用的WM6.1繁中韌體。
以下就是安裝記錄:
1. 下載 wm6.1 繁中ROM
http://forum.xda-developers.com/showthread.php?t=360664
我是選擇 Chinese Traditional WM6.1 Clean ROM R2: http://www.mediafire.com/?mtnjs0t0gzn
2. 利用擴充記憶卡來安裝
a. 解壓縮ROM到記憶卡,並存成diskimg.nb0
b. 手機進入PBL模式。 (同時按電源+兩個功電鍵,然後搓Reset鍵)
c. 之後就會自動進行ROM更新作業。約需要15~20分鐘。
3. 之後再把要裝的軟體裝一裝即可!!

2009年3月25日 星期三

將wav/mp3轉檔成8 bit PCM a/u law 格式

因為工作需要,所以還是作個記錄以免明天就忘了。
下面的例子是轉成Sample rate 8Khz, 8 bit => 64Khz data rate PCM a/u law 格式
ffmpeg -i file_in.wav -ar 8000 -ac 1 -ab 64k -f alaw file_out_alaw.pcm
ffmpeg -i file_in.wav -ar 8000 -ac 1 -ab 64k -f mulaw file_out_ulaw.pcm

若是要驗証,可以用Audacity來import RAW data.
記得要選對正確的格來唷!!

2009年3月24日 星期二

How to play the rm files under ubuntu?

There is an online english learning web site.
http://www.learn-english-online.org/Lesson1/Course/Lesson1.htm

Unfortunately, all the recordings are in realplayer format.
In order to play it under Ubuntu, you will need to install the corrrect codecs for mplayer.
Here is the command:
sudo apt-get install ubuntu-restricted-extras