HTK | Hidden Markov Model Toolkit from University | Development Tools library
kandi X-RAY | HTK Summary
kandi X-RAY | HTK Summary
If you don't know HTK, see this: What is HTK?.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of HTK
HTK Key Features
HTK Examples and Code Snippets
Community Discussions
Trending Discussions on HTK
QUESTION
I am trying to record sound using microphone and sox library in C/C++.
...ANSWER
Answered 2020-Sep-15 at 13:23As the last parameter to sox_open_read function for microphone input, one of the audio devices drivers should be passed. In my case, it is 'alsa'.
Example:
QUESTION
I want to use the OpenSMILE toolkit as a voice feature extractor. But I developed my project scripts in the Matlab environment. So, I am searching for a way to calling OpenSMILE from Matlab and handle the features obtained. I would be pleased if anybody guides me on this matter.
OpenSMILE script sample that can be executed in windows CMD environment:
...ANSWER
Answered 2020-Sep-10 at 07:42I found a very simple way to do this. After installing the OpenSMILE, this program can be accessed through the CMD environment. That's why I wrote the following function in MATLAB and ran OpenSMILE through it.
QUESTION
I am trying to install HTK Toolkit in my windows 10 machine.
It has a prerequisite of: Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin
I installed Microsoft Visual studios but I am not able to find the VC98 folder(file) in location where my visual studio is installed.
I tried to search it a lot of times, but still I was unsuccessful in finding it.
Can someone please solve this for me.
My final goal is to install HTK
Installing HTK on Microsoft Windows
Prerequisites
HTK has been verified to compile using Microsoft Visual Studio.
For testing, you will require a Perl interpreter such as ActivePerl.
You will need a tool such as 7-zip for unpacking the HTK source code archive.
Register on this site by accepting the HTK End User Licence Agreement, then download the latest HTK source code.
It is helpful if you have some familiarity with using the DOS command line interface, as you will need to interact with it in order to compile, install and run HTK.
Ensure that your PATH contains C:\Program Files\Microsoft Visual Studio\VC98\bin Compilation
Unpack the HTK sources using 7-zip.
Open a DOS command window: Click Start, select Run type cmd at the prompt and click OK.
cd into the directory in which you unpacked the sources.
cd into the htk directory. Type:
cd htk
Create a directory for the library and tools. Type:
mkdir bin.win32
Run VCVARS32 (it should be in your path, see prerequisites above)
Build the HTK Library, which provides the common functionality used by the HTK Tools. Enter the following commands:
cd HTKLib
nmake /f htk_htklib_nt.mkf all
cd ..
Build the HTK Tools
cd HTKTools
nmake /f htk_htktools_nt.mkf all
cd ..
cd HLMLib
nmake /f htk_hlmlib_nt.mkf all
cd ..
cd HLMTools
nmake /f htk_hlmtools_nt.mkf all
cd ..
Installation
The HTK tools have now been built and are in the bin.win32 directory. You should add this directory to your PATH, so that you can run them easily from the command line in future.
...ANSWER
Answered 2020-May-16 at 13:17Installing HTK:
I went through a very very tough time installing HTK on my computer.
This documentation will be helpful in installing it on any other computer.
Prequesities:
You should have a visual studio installed with c++ distribution. (Don’t just download MSVC). Download complete C++ distribution.
Download HTK Source code and HTK Samples.
Download and install Perl
Download any extracting software like( 7-zip)
Prior Steps:
Extract your HTK and HTK sample and keep it in two different directories. (Apart from each other)
Open VS and go on tool→ command line → any command prompt(I selected Developer command prompt)
Installing steps cd into the directory in which you unpacked the sources.(source code and not the sample) Execute the below commands one after the other.
cd htk
mkdir bin.win32
cd HTKLib
nmake /f htk_htklib_nt.mkf all
cd ..
Build the HTK Tools
cd HTKTools
nmake /f htk_htktools_nt.mkf all
cd ..
cd HLMLib
nmake /f htk_hlmlib_nt.mkf all
cd ..
cd HLMTools
nmake /f htk_hlmtools_nt.mkf all
cd ..
After this go to your bin.win32 folder and copy all the files to your
Sample directory inside HTKDemo.
cd into the directory HTKDemo and execute the command:
perl runDemo.pl configs/monPlainM1S1.dcf
Now you might find errors like hmm does not exist or such files does not exist when you execute this .
Just type mkdir (missing filename without parentheses)
And continue to do it until no errors are found
And soon you have reached the final stage : Success.
I know the documentation of current HTK is way too outdated and misleading but the stackoverflow community helped me to get through it. I am attaching some links that might be helpful:
http://htk.eng.cam.ac.uk/docs/inst-win.shtml
https://ubuntuforums.org/showthread.php?t=1092317&page=2
https://ubuntuforums.org/archive/index.php/t-1522471.html
QUESTION
I need to change the layer mask during runtime in order to select different objects depending on the context.
From my understanding this should be done in the InputSystemProfile
by editing the Pointers property:
CoreServices.InputSystem.InputSystemProfile.PointerProfile.PointingRaycastLayerMasks
But the field is read-only, and I can't find another way to edit it, other than manually in the editor. Btw I'm using an editable profile for the input system.
In HTK this was achieved by assigning a value to:
GazeManager.Instance.RaycastLayerMasks
Any suggestions?
...ANSWER
Answered 2020-Jan-16 at 10:00you could change the pointers layer mask by overriding it All the pointers can by found here: CoreServices.InputSystem.DetectedInputSources and in each one you can do: ptr.PrioritizedLayerMasksOverride
Hope this helps
QUESTION
I am trying to install HTK using Cygwin (32 bit) on a x86_64 computer build. This is part of the error I get when running
./configure
make all
gcc = 5.4.0, g++ = 5.4.0, perl = 5; I have X11 folder in C:/cygwin/usr/share
Let me know if I should post the entire error of the make file.
HSLab.c: In function ‘FileExists’:
HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable]
Boolean isEXF; /* File name is extended */
^
/tmp/ccZO1TK3.o: In function InitBar':
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:344: undefined reference to
HTextWidth'
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:348: undefined reference to HSetColour'
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:349: undefined reference to
HTextHeight'
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:349: undefined reference to HPrintf'
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:350: undefined reference to
HSetGrey'
/cygdrive/c/users/stevenha29/My Documents/htk/HTKTools/HSLab.c:351: undefined reference to `HFillRectangle'
ANSWER
Answered 2017-Jun-24 at 07:45Run
QUESTION
I seem to have to problems determining which tool I can trust...
The tools i've been testing is Librosa and Kaldi in creating dataset for plots visualizations of 40 filterbank energies of an audio file.
The filterbank energies are extracted using these configuration in kaldi.
fbank.conf
...ANSWER
Answered 2019-Sep-26 at 09:40I seem to have found the answer in this post. The problem was my normalization. So instead of doing:
QUESTION
I have installed julius according to the Quick Run instructions on their git repo, but am getting mixed results that never run. However, when running the Quickstart suggested in this thread I have been able to get the program running.
Using the command meant to recognize an audio file included with the "official" julius demo, ../julius/julius/julius -C mic.jconf -dnnconf dnn.jconf -input mic
, I get the following errors:
ANSWER
Answered 2019-Aug-20 at 20:04The problem was my lack of understanding in how to modify the dnn.jconf
file. As of 4.5 the dnn.jconf
should read:
QUESTION
I'm getting the following issue when trying to run make
on the HTK library:
ANSWER
Answered 2019-Jan-07 at 22:30The -m32
is telling gcc to compile for a 32-bit platform. On a 64-bit machine, gcc normally only comes with 64-bit libraries. You have two options:
- Install 32-bit headers and libraries. Here's how you'd do this on Ubuntu: https://askubuntu.com/questions/91909/trouble-compiling-a-32-bit-binary-on-a-64-bit-machine
Compile for 64-bit instead. Modify this line in the file named
configure
:
QUESTION
HTS-2.3 and HTK-3.4.1 in my 64bit Ubuntu with gcc 3.4 compiler.
When I run the demo, HTK caused a problem:
error in hybrid_segmentation
Your help is highly appreciated. ^
...
ANSWER
Answered 2018-Sep-29 at 20:59This looks like a case of missing files. Are you sure you've set the PWD (present working directory) to what the build guide says it should be, and are you sure you have all the files?
QUESTION
While creating MFCCs following Voxforge's tutorial for a Speech to Text System using HTK (Hidden Markov Model Tool Kit), we are required to define a prototype model for our phones. I am trying to wrap my head around this this file.
...ANSWER
Answered 2017-May-24 at 07:45Furthermore, why Do we have 3 states when is 5? Are 1 and 5 simply entry and exit points so they do not require a Mean and Variance?
Yes, boundary states are dummy.
For every "window", why do we have 26 coeffieincts instead of 25? What do they all represent? I believe:
MFCC type is MFCC_0_D
as in Tutorial step 5, so those are 13 ceps and 13 deltas. You can also use HList -o -h
to print the exact layout:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HTK
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page