Timeliner
From SpeechWiki
(Difference between revisions)
(→Dependencies) |
(gem install options, to make ubuntu 9.1 work) |
||
Line 7: | Line 7: | ||
== Dependencies == | == Dependencies == | ||
- | Ubuntu. Verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's 9.04. | + | Ubuntu. Verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's 9.04. 9.1 in progress. |
Get security updates. Install packages with aptitude (or apt-get) and gem (some back and forth to discover dependencies): | Get security updates. Install packages with aptitude (or apt-get) and gem (some back and forth to discover dependencies): | ||
Line 13: | Line 13: | ||
* aptitude install ruby ruby1.8-dev rubygems1.8 gem mesa-common-dev libglu1-mesa-dev freeglut3-dev imagemagick libmagickcore-dev libmagickwand-dev ''(may need to change order)'' | * aptitude install ruby ruby1.8-dev rubygems1.8 gem mesa-common-dev libglu1-mesa-dev freeglut3-dev imagemagick libmagickcore-dev libmagickwand-dev ''(may need to change order)'' | ||
* gem update | * gem update | ||
- | * gem install rake mkrf | + | * gem install rake mkrf RubyInline ruby-opengl rspec ZenTest |
- | (consider sticking to ruby 1.8 | + | (consider sticking to ruby 1.8 for the sake of http://rmagick.rubyforge.org/install-faq.html) |
+ | * gem install rmagick --no-ri --no-rdoc | ||
+ | * gem install ruby-opengl (fails on ubuntu 1.9: http://rubyforge.org/tracker/index.php?func=detail&aid=27386&group_id=2103&atid=8185 ) | ||
* gem install jstrait-wavefile -s http://gems.github.com | * gem install jstrait-wavefile -s http://gems.github.com | ||
Revision as of 22:46, 18 December 2009
Contents |
Ruby codes
/workspace/ifp-32-2/hasegawa/data/multimodal/nonspeech/FODAVA/timeliner
Feature files and directory are hardcoded in the .rb file. Update those lines before running.
Dependencies
Ubuntu. Verified with Xiaodan's 9.04, Camille's 64bit 8.10, Mark's 9.04. 9.1 in progress.
Get security updates. Install packages with aptitude (or apt-get) and gem (some back and forth to discover dependencies):
- aptitude update
- aptitude install ruby ruby1.8-dev rubygems1.8 gem mesa-common-dev libglu1-mesa-dev freeglut3-dev imagemagick libmagickcore-dev libmagickwand-dev (may need to change order)
- gem update
- gem install rake mkrf RubyInline ruby-opengl rspec ZenTest
(consider sticking to ruby 1.8 for the sake of http://rmagick.rubyforge.org/install-faq.html)
- gem install rmagick --no-ri --no-rdoc
- gem install ruby-opengl (fails on ubuntu 1.9: http://rubyforge.org/tracker/index.php?func=detail&aid=27386&group_id=2103&atid=8185 )
- gem install jstrait-wavefile -s http://gems.github.com
Notes
- locate finds a file on local disk
- apt-file find ruby.h lists packages that generate ruby.h
- alsamixer adjusts volume
Feature files in HTK format
/workspace/ifp-32-2/hasegawa/xzhuang2/AED2009/tmp/forCamille
Making
HCopy -C $ConfigFile AIT_20061020_AmarkIII_1.ch4.wav $ResultFile
Viewing
HList -h $ResultFile
Examples
ConfigFile | ResultFile | Description | Dims | Window | Step |
---|---|---|---|---|---|
HCopy_MFCC.cfg | AIT_20061020_AmarkIII_1.ch4.feaMFCC | MFCC | 78 | 25ms | 10ms |
HCopy_FB.cfg | AIT_20061020_AmarkIII_1.ch4.feaFB | Narrow-band filterbank | 78 | 25ms | 10ms |
HCopy_FB_w6ms_o2ms.cfg | AIT_20061020_AmarkIII_1.ch4.feaFB_w6ms_o2ms | Wide-band filterbank | 78 | 6ms | 2ms |
Notes
- Audio:
AIT_20061020_AmarkIII_1.ch4.wav
- 92 dims (14 dim decorrelated event-classifier neural network output + 78 dim filter bank parameters):
AIT_20061020_AmarkIII_1.ch4.annhtk
- For each 78 dim filter bank parameters (or MFCCs), the first 26 dims are original, the second and third 26 dims are respectively first- and second-order regression coefficients derived from the first 26 dims.