Timeliner
From SpeechWiki
(Created page with ' == ruby codes /workspace/ifp-32-2/hasegawa/data/multimodal/nonspeech/FODAVA/timeliner (the feature file opened is currently hardcoded , update that line before using) == set u...') |
|||
Line 1: | Line 1: | ||
- | == ruby codes | + | |
+ | == ruby codes == | ||
+ | |||
+ | |||
/workspace/ifp-32-2/hasegawa/data/multimodal/nonspeech/FODAVA/timeliner | /workspace/ifp-32-2/hasegawa/data/multimodal/nonspeech/FODAVA/timeliner | ||
(the feature file opened is currently hardcoded , update that line before using) | (the feature file opened is currently hardcoded , update that line before using) | ||
- | == set up the environment | + | == set up the environment == |
a) Ubuntu (verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's ?8.04.) | a) Ubuntu (verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's ?8.04.) | ||
b) update all security updates, aptitude update | b) update all security updates, aptitude update | ||
Line 17: | Line 20: | ||
apt-file find ruby.h: find packages that generate ruby.h | apt-file find ruby.h: find packages that generate ruby.h | ||
- | == feature generating (to be detailed) | + | == feature generating (to be detailed) == |
3a. filter bank | 3a. filter bank | ||
3b. posterior output (ANN, HMM(DBN) ) | 3b. posterior output (ANN, HMM(DBN) ) | ||
3x. general feature writer function | 3x. general feature writer function | ||
todo: feature writer function; doc; verify htk feature read in ruby | todo: feature writer function; doc; verify htk feature read in ruby |
Revision as of 05:53, 20 August 2009
ruby codes
/workspace/ifp-32-2/hasegawa/data/multimodal/nonspeech/FODAVA/timeliner (the feature file opened is currently hardcoded , update that line before using)
set up the environment
a) Ubuntu (verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's ?8.04.) b) update all security updates, aptitude update c) install packages with aptitude(or apt-get) and gem (some back and forth to discover dependencies) aptitude install ruby ruby1.8-dev rubygems1.8 aptitude install gem; gem update aptitude install mesa-common-dev libglu1-mesa-dev freeglut3-dev imagemagick libmagickcore-dev libmagickwand-dev (may need change order) gem install rake mkrf rmagick RubyInline ruby-opengl rspec ZenTest
Memos: locate: find a file on local disk apt-file find ruby.h: find packages that generate ruby.h
feature generating (to be detailed)
3a. filter bank 3b. posterior output (ANN, HMM(DBN) ) 3x. general feature writer function todo: feature writer function; doc; verify htk feature read in ruby