Difference between revisions of "JaNET"

From ArchWiki
Jump to: navigation, search
(first commit)
(No difference)

Revision as of 05:18, 4 January 2011

Project jaNET provides a framework that allows various components to communicate, controlled interactively by the user. This procedure aim to act like a digital life assistant (DLA) and it's inspired by Iron Man's JARVIS.

The virtual she-butler comes to life through project jaNET, a platform ready to host multiple creative and innovative pieces of code concerning domestic everyday tasks.

jaNET provides a built in framework to fulfil most of our daily information manners (like e-mail notification, weather conditions etc) but it can also be extend by wrapping 3rd party applications, processes or scripts in order to become a more flexible and smart system!


jaNET requires festival, simon and mono to run:

yaourt -Sy monodevelop festival simon
Note: x86_64 users need to edit the PKGBUILD and add x86_64 to the arch line - IT DOES COMPILE PROPERLY

Installing jaNET

You can grab the source here if you wish to develop; however, we are going to use the latest binary.

wget http://sourceforge.net/projects/project-janet/files/Binaries/Bin.tar.gz
as root:
mkdir -p /usr/share/janet/scripts
tar -xvf Bin.tar.gz -C /usr/share/janet

We will make a launcher for jaNET now:

as root:
cat <<EOF >>/usr/bin/janet
/usr/bin/mono /usr/share/janet/jaNET.exe "$@"
chmod a+x /usr/bin/janet


jaNET is now installed however it and it's dependencies needs to be configured!

Festival Configuration

In order to get the female voice of "janet":

cd ~/Desktop
wget -c "http://www.speech.cs.cmu.edu/cmu_arctic/packed/cmu_us_slt_arctic-0.95-release.tar.bz2"
tar -xvjf cmu_us_slt_arctic-0.95-release.tar.bz2
as root:
mkdir /usr/share/festival/voices/us
mv ~/Desktop/cmu_us_slt_arctic /usr/share/festival/voices/us/cmu_us_slt_arctic_clunits

You need to edit /usr/share/festival/voices.scm and add cmu_us_slt_arctic_clunits to the default list on the top.

Test this by: (You should hear a female voice)

echo "Hello world." | festival --tts

Simon Configuration

Open Simon program and go to Settings > Configure Simon > Model Settings and choose Static Model and load the HMM definition, Tiedlist, Macros and Stats. Those models can be found here.

Then go to Vocabulary and import a Shadow Vocabulary using dictionary type HTK Lexicon and import the VoxForgeDict from the HTK Accoustic Model we previously downloaded.

We also need jaNET scenarios, so in Simon go to Manage Scenarios > Import/Download search for jaNET and Install. Then click Commands tab and select Program-Janet-Edit and change jaNET's path with /usr/bin/janet

Those scencarios did not work for me however, so I have uploaded a working copy of the scenarios for jaNET with this configuration used here.

jaNET Configuration


External Links