General Discussion

Flat
playing a segment of a speech file
User: cvani
Date: 7/10/2011 4:05 pm
Views: 5505
Rating: 2

Hello everyone,

                     I would like to know if there is any tool or command line that can play a segment of an audio file. I need to verify the phonemes after the trascriptions produce with the recorded speech. I tried adintool from Julius but it did not exactly do what I wanted. It would be easy if I can play the segment specifying the start time and end time. I also tried SFS but found it a bit difficult to understand and work the tool. Thank you. 

--- (Edited on 7/10/2011 4:05 pm [GMT-0500] by cvani) ---

Re: playing a segment of a speech file
User: kmaclean
Date: 7/10/2011 4:13 pm
Views: 87
Rating: 2

> tool or command line that can play a segment of an audio file

Audacity

--- (Edited on 7/10/2011 5:13 pm [GMT-0400] by kmaclean) ---

Re: playing a segment of a speech file
User: cvani
Date: 7/11/2011 8:25 am
Views: 135
Rating: 4

Hi ken,

         Thank you very much. I have been using audacity for the past couple of months but never noticed that. I feel so stupid. I would also like to know if there is a tool which can load and play annotations. I would like to test a segment of annotation as well.

--- (Edited on 7/11/2011 8:25 am [GMT-0500] by cvani) ---

Re: playing a segment of a speech file
User: kmaclean
Date: 7/11/2011 9:23 am
Views: 57
Rating: 2

>load and play annotations.

Audacity can import 'label' file

--- (Edited on 7/11/2011 10:23 am [GMT-0400] by kmaclean) ---

Re: playing a segment of a speech file
User: cvani
Date: 7/11/2011 11:12 am
Views: 93
Rating: 2

Thank you.

--- (Edited on 7/11/2011 11:12 am [GMT-0500] by cvani) ---

Re: playing a segment of a speech file
User: cvani
Date: 7/12/2011 12:19 pm
Views: 271
Rating: 5

Hi Ken,

        I tried audacity to load the label file but it just loaded the first line. I have my phonetic transcriptions of an audio file like the following:

000000 1000000 pau -10.743142

1000000 2000000 hh -10.982402

2000000 2600000 ih -8.687681

2600000 4100000 k -18.661600

4100000 4700000 aa -9.374283

4700000 5500000 l -7.819271

I tried to load this kind of file in audacity. I actually want to verify the phonemes from its audio file. So if I specify say I want to play the phoneme from 2600000 to 4100000 then it should play k. I would prefer a command line rather than a tool. Can Sox play segments like I want? Thank you 

 

--- (Edited on 7/12/2011 12:19 pm [GMT-0500] by cvani) ---

Re: playing a segment of a speech file
User: kmaclean
Date: 7/18/2011 8:24 pm
Views: 2103
Rating: 3

>Can Sox play segments like I want?

don't know, did you try?

You could create a script using HCopy to copy the audio segment you want and play it using aplay or some other command line audio player. 

See chapter 17.4 of the HTK manual.

--- (Edited on 7/18/2011 9:24 pm [GMT-0400] by kmaclean) ---

PreviousNext