My Dinky Note

Aditya Arie Nugraha's weblog

Couldn’t Install Elastix (CentOS) on VirtualBox

with 14 comments

In order to install Elastix (CentOS) on your VirtualBox, select your virtual machine and go to Settings > System. Then, in the Motherboard tab, check the Enable IO APIC option.

Note: I tested on Debian 5.0.3 with VirtualBox 3.1.2.

Written by arie

February 4, 2010 at 12:22 pm

md5 Module Problem on mod_python

with 3 comments

I got this error message in my /var/log/apache2/error.log:

[Fri Aug 14 10:16:51 2009] [error] /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
[Fri Aug 14 10:16:51 2009] [error]   import md5

I had tried upgrade the libapache2-mod-python package from 3.3.1-6build2 (jaunty package) to 3.3.1-7 (karmic package), but it wasn’t solve the problem.

So, the solution is edit /usr/lib/python2.6/dist-packages/mod_python/importer.py. Change import md5 to from hashlib import md5 and also md5.new(file).hexdigest() to md5(file).hexdigest().

Written by arie

August 14, 2009 at 10:44 am

Posted in Hobbies & Interests

Tagged with , ,

Festival Can’t Open /dev/dsp

with 38 comments

I installed Festival in my Ubuntu 8.10 and when I was trying to use it to synthesize text, I got this error:

Linux: can't open /dev/dsp

Fortunately, I found the answer here. To solve this problem just write this .festivalrc in your home directory.

(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)

Written by arie

December 20, 2008 at 12:57 am

Posted in Hobbies & Interests

Tagged with ,

Skype’s Sound Devices Configuration

with 2 comments

Some people can’t configure the Sound Devices in Ubuntu-based (maybe Unix-based) Skype so that its Sound In works. Fortunately, I relatively didn’t get problem with my Skype 2.0 and Ubuntu 8.10 which is installed in Dell Inspiron 6400. I just need to change the setting from Default device (default) to HDA Intel (hw:Intel,0).

screenshot

However, I wonder why the Volume Control on keyboard (Fn + Page Up/Down) controls the Capture Volume, not the Master Volume. So, I can control the microphone volume with that Function Key. For now it’s ok, but if someday I want to “correct” the function, I wonder how to do it.

Written by arie

December 19, 2008 at 11:32 pm

Install Skype 2.0 in Ubuntu 8.10

with 4 comments

Add Medibuntu repository to your sources.list:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list

Then, add the GPG Key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

And finally, install Skype 2.0:

sudo apt-get install skype

For your information:

Medibuntu (Multimedia, Entertainment & Distractions In Ubuntu) is a repository of packages that cannot be included into the Ubuntu distribution for legal reasons (copyright, license, patent, etc).

Medibuntu has two components for its repository. They are labelled free and non-free. The free component has the packages for software whose sources are made freely and/or are distributed with an open source license such as the GNU General Public License. The non-free component contains software whose sources are not made freely available and/or are distributed with a license that restricts certain ways the software can be distributed.

Software in the free component are not distributed in the Ubuntu repositories because of legal issues with that software in certain countries. Some software such as Amarok and Kaffeine are distributed through the main Ubuntu repositories but with certain functionalities taken away, again because of legal issues. Medibuntu distributes these kind of packages with those functionalities in place.

Software in the non-free component are not distributed in the main Ubuntu repositories because of the licenses that these software are distributed with restricts how they can be distributed. The software in the non-free component are usually not needed for general use as there are alternatives or implementations in other open source licensed software. Some software, such as Google Earth and Adobe Acrobat Reader, are available directly from the company’s website that owns the rights to them.

Since the packages in the non-free component are usually not needed, the instructions in the next section will include a step to exclude acquiring package information from the non-free component of the Medibuntu repository.

taken from: https://help.ubuntu.com/community/Medibuntu

Written by arie

December 19, 2008 at 3:13 am

Ubuntu 8.10 + Huawei E220 + Telkomsel Flash Unlimited

with one comment

Whew.. I’m pretty excited right now. I just installed Ubuntu 8.10 Intrepid Ibex on my laptop, substituting Slackware 12 which I rarely used.

The interesting part here is Ubuntu 8.10 automatically detects the HSDPA USB modem I use (Huawei E220). And fortunately, there is pre-configured mobile broadband connection setting for Telkomsel (Flash). I only need to input PIN of the SIM card. Wonderful..

flash

Maybe, it’s the momentum I need to use Unix again and “get away” from Windows. ^_^

Written by arie

December 18, 2008 at 12:05 am

Mermelstein – Articulatory Model for the Study of Speech Production

with 2 comments

When doing my final-year project, I used Mermelstein’s paper (“Articulatory Model for the Study of Speech Production”) as my most important resource because it defined Mermelstein’s articulatory model which I used in final-year project. Thanks to Jose Brito who gave me the scanned version. Here, I will share the PDF version for you.

Download the paper, here.

Written by arie

October 10, 2008 at 4:37 pm

Posted in Academic

Tagged with , ,