Comments

Flat
problems with wav format
User: j17
Date: 9/27/2010 6:48 am
Views: 4283
Rating: 14

 

Hello everybody,

It is the first time I use HTK for speech recognition, and I'm trying to learn how to build an HMM model. But, I have one problem and I do not how to solve it. It is related to my speech files. I have converted my source files from RAW format to WAV in order to use them with HTK (using sox under UNIX), and before typing HCopy to create the mfc files, I would like to listen my wav files, using play, but an error occurs. Could anybody help me? Thank you.

play prueba.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default
sox: Failed writing default: cannot open audio device

 

Re: problems with wav format
User: kmaclean
Date: 9/28/2010 7:07 pm
Views: 135
Rating: 14

>have converted my source files from RAW format to WAV in order to use

>them with HTK (using sox under UNIX)

HCopy can read raw audio directly - you need to change your sourceformat to equal raw.

>play prueba.wav

Can you play any audio on your PC?  have you tried with 'aplay' or  Audacity?

Re: problems with wav format
User: Visitor
Date: 9/30/2010 4:10 am
Views: 136
Rating: 16

 

Hi,

Yes, you are right. HCopy reads RAW format. I have changed the config script and now everything is ok.


Thanks for your reply.

PreviousNext