Speech Recognition Engines

Flat
Problem providing mic input device
User: rogerp
Date: 5/18/2017 5:51 am
Views: 5361
Rating: 0

Hi, 

 

I have compiled Julius on Yocta linux. However, I am unable to provide the right mic device to it as input. 

I am able to record audio into a file ( arecord -V mono -c 1 -f S16_LE -r 16000 -t wav mic.wav) and provide it as input and it works great ! 

On my system there is no /dev/dsp instead I think my mic is /dev/snd/pcbC2D0c . But entering 

$ julius -input /dev/snd/pcbC2D0c -C Sample.jconf 

 

errors out as 

---

ERROR: m_options: unknown speech input source "/dev/snd/pcmC2D0c"

Try `-help' for more information.

---- 
Is there anything obvious that I am doing wrong here ? 
Cheers

 

 

--- (Edited on 5/18/2017 5:51 am [GMT-0500] by ) ---

Re: Problem providing mic input device
User: rogerp
Date: 5/18/2017 6:44 am
Views: 2242
Rating: 1

Update: Everything is working fine now. 

 

Things I had to do 

 

1. Compile libasound-dev to get alsa drivers


2. Compile julius with (./configure --with-mictype=alsa) 

 

3. export ALSADEV="plughw:2,0" 

 

run julius and everything works fine now ! 

--- (Edited on 5/18/2017 6:44 am [GMT-0500] by ) ---

PreviousNext