Wednesday, July 30, 2008

Compiling wxWidgets Application Code

If you are writing a code that links to wxWidgets library, you can use these command to compile the code


g++ `wx-config --cxxflags` `wx-config --libs` myapp.cpp

Saturday, July 26, 2008

Sphinx II - Speech Recognition on Ubuntu Linux

I just set up CMU Sphinx II on Ubuntu. I just want to test how this Linux Speech Recognition work. I installed the following packages: libsphinx2g0, libsphinx2-dev, sphinx2-bin and sphinx2-hmm-6k. The resource file will be in /usr/share/sphinx2/model/ which contains hmm (Hidden Markov model based-file) and model (Language Model related files). I just type sphinx2-demo to test it. It works but not perfectly accuracy output. I think it is needed to be trained. However, I a nice Speech Recognition system for Linux.

Wednesday, July 23, 2008

Festival: Text to Speech on Linux

If you are MS$ fan, you are lucky obtained the MS native Speech to Text and Speech Recognition system. Fortunately, for a Unix-like user, Festival provides such a system. I am using the Ubuntu Linux. To enable Speech to Text, I install these packages: festival and festivox-kallpc16k. Then, I tested by putting these command:

echo "It's such a beautiful day! Why are you in front of the computer?" \\
| festival --tts

Wow! It is such a cool noise. For more tutorial on Festival, please refer to this page:

http://www.xenocafe.com/tutorials/php/festival_text_to_speech/index.php

Saturday, July 12, 2008

Avimator fixed for Ubuntu

Avimator is open-source animation avatar editor for Second Life. This is very interesting because it may can be integrated with AI tool. However, it fails compiling in Ubuntu due to the name file case sensitive (.h or .H) of FLTK. After I fixed this problem, it work fine. You can download my fixed version for Ubuntu here.

Tuesday, June 10, 2008

X3D with H3D API

Starting learning X3D with H3D API is a nice stage in my opinion.

H3D API is an open-source, cross-platform, scene-graph API . H3D is written entirely in C++ and uses OpenGL for graphics rendering and HAPI for haptics rendering. HAPI is an open-source haptic API developed by the team behind H3D API. For more information about HAPI see the HAPI manual. H3D API is available under the terms and conditions of the GNU General Public License (GPL).

To install HAPI on Windows follow these steps:
  1. Download Windows installation file from www.h3d.org.
  2. Install HAPI using this file.
  3. Run examples through start menu.

For information on how to build HAPI on Windows see the pdf-manual.

Sunday, June 8, 2008

tricks: Compiling wxWidgets with nmake (vc++ 2008)

I've succeeded compiling wxWidgets (2.8.7) for Windows (Vista) with the simple things below.

Download:
wxMSW - installer for Windows
then extract it to anywhere i.e., C:\wxWidgets

Run:
C:\Program files\Microsoft Visual Studio 9\Common7\Tools\vsvars32.bat
to get the environment variables set

Change directory to build\msw. Type:
nmake -f makefile.vc

If it succeeds, you will get lib\vc_lib

Thursday, June 5, 2008

Windows Vista Speech Recognition (Again)



I like this video clips. It reflects my feeling from the previous post. By the way, I will wait for it until it's perfect.