General Discussion

Flat
Prompts File Creation: Step 2.
User: Visitor
Date: 12/2/2014 11:22 pm
Views: 6271
Rating: 1

You said - "HTK requires Pronunciation Dictionnary with at least 30-40 'sentences' of 8-10 words each.  If your Grammar has fewer sentences/words than this (as we do in this tutorial), or if your grammar in not  phonetically balanced (if some phonemes only occur one or two times) then we need to add additional words to make sure we have 3-5 occurences of each phoneme in our Pronunciation Dictionnary."

I have 2 minutes AUDIO recording file (.wav) spoken in 10 - 15 sentences. I have few queries in writing the 'prompts' file -

1. Assuming 2 sentences being spoken than each sentence has to be written in separate NEW LINE as -

 

*/AUDIO1 I EAT FOOD
*/AUDIO2 I DO EXERCISE

 

OR

 

2. It has to be written as -

 

*/AUDIO1 I EAT FOOD I DO EXERCISE

 

OR

3. */AUDIO1 I EAT FOOD. I DO EXERCISE.

 

4. This sentences has to be written in BLOCK letters always.

 

Please respond.

Re: Prompts File Creation: Step 2.
User: nsh
Date: 12/3/2014 5:02 am
Views: 156
Rating: 1

> I have 2 minutes AUDIO recording file (.wav) spoken in 10 - 15 sentences. 

You need to split audio on smaller parts containing individual sentences: audio1, audio2, audio3

> 1. Assuming 2 sentences being spoken than each sentence has to be written in separate NEW LINE as -

*/AUDIO1 I EAT FOOD
*/AUDIO2 I DO EXERCISE
*/AUDIO3 | KILL YOURSELF
This is correct each sentence in a separate file and in a new line.

 

Re: Prompts File Creation: Step 2.
User: srivmuk
Date: 12/18/2014 7:55 am
Views: 112
Rating: 1

So, what I understand is with multiple sentences, one has to simply BREAK into equal length of words and write in seperate NEW LINE.

BTW', how does one get these ideas of implementing?

 

Thanks a lot .. nsh!!

Re: Prompts File Creation: Step 2.
User: nsh
Date: 12/18/2014 8:16 pm
Views: 90
Rating: 1

> So, what I understand is with multiple sentences, one has to simply BREAK into equal length of words and write in seperate NEW LINE.

Not necessary the equal length of words. You simply put every new prompt on a new line.

> BTW', how does one get these ideas of implementing?

It comes from understandind of the subject. For that you can read the whole HTK book first, it contains loads of useful information.
Re: Prompts File Creation: Step 2.
User: srivmuk
Date: 12/19/2014 2:04 am
Views: 142
Rating: 1

Let's say that I had 5 sentences based audio recording file (X.wav) of 2 minute as - "I eat apple. I like apple very much. An apple a day keeps doctor away. Eating an apple maintains good amount of vitamin K. Thank you very much for such a valuable information." which I have represented in 'prompts' file as -

 

*/X1 I EAT APPLE

*/X2 I LIKE APPLE VERY MUCH

*/X3 AN APPLE A DAY KEEPS DOCTOR AWAY

*/X4 EATING AN APPLE MAINTAINS GOOD AMOUNT OF VITAMIN K

*/X5 THANK YOU FOR SUCH A VALUABLE INFORMATION

 

Now, I should have single audio file as 'X.wav' or multiple audio files as "X1.wav, X2.wav, X3.wav, X4.wav and X5.wav" in "../train/wav' folder with each multiple audio files "X1.wav - X5.wav" as a copy of X.wav file.

Really appreciate your help.

Re: Prompts File Creation: Step 2.
User: nsh
Date: 12/19/2014 9:06 am
Views: 97
Rating: 1

> Now, I should have single audio file as 'X.wav' or multiple audio files as "X1.wav, X2.wav, X3.wav, X4.wav and X5.wav" in "../train/wav' folder

You should have multiple files - X1, X2, X3 and so on

with each multiple audio files "X1.wav - X5.wav" as a copy of X.wav file.

Each file must be a part of big file X, not a copy of it. Each file must contain recording of the correponding sentence.

 

Re: Prompts File Creation: Step 2.
User: srivmuk
Date: 12/19/2014 9:37 pm
Views: 2762
Rating: 1

Please correct me, having a pre-recorded audio file X.wav of 5 ("I eat apple. I like apple very much. An apple a day keeps doctor away. Eating an apple maintains good amount of vitamin K. Thank you very much for such a valuable information.") sentences being spoken as main audio file for which I had created a 'prompts' file as -

 

*/X1 I EAT APPLE

*/X2 I LIKE APPLE VERY MUCH

*/X3 AN APPLE A DAY KEEPS DOCTOR AWAY

*/X4 EATING AN APPLE MAINTAINS GOOD AMOUNT OF VITAMIN K

*/X5 THANK YOU FOR SUCH A VALUABLE INFORMATION

Query#1: OK, as said by you I have multiples files now of X1.wav, X2.wav, X3.wav, X4.wav & X5.wav" and each file does contain recording of the correponding sentence as it's a copy but internally How can I break the main X.wav file into parts.

Query#2: Also, given a 10 minute audio pre-recorded session, how can I break each sentences spoken into seperate section of an audio file.

Query#3: Finally, can't I have or create non-dependency prompts file which can handle any voice.

Thanks for supporting me.

Out of way, can I have your E-mail as mine is [email protected] . I 'ope, am NOT breaching any policies of Voxforge under GPL and its forum guidelines. Thanks..!!

 

 

PreviousNext