Menu

How to reset timing before ps_start_utt?

Help
2016-04-19
2016-04-19
  • Daniel Wolf

    Daniel Wolf - 2016-04-19

    I'm doing word recognition on a large number of WAVE files. These files are the output of a voice activation tool, so each file contains only a single utterance with very little silence.

    At the start of the application, I create the decoder. Then I re-use the same decoder for reach file like this:

    • I call ps_start_utt
    • I process the samples of one file using ps_process_raw
    • I call ps_end_utt
    • I use ps_seg_iter to iterate over the words, using ps_seg_frames to get their timing.

    What I want is that for each file, ps_seg_frames starts at timecode 0 again. But actually, the timecodes for the next file start where the previous file ended.

    Is there any way to reset the timing before each call to ps_start_utt?

     
    • Nickolay V. Shmyrev

      ps_start_stream

       
      • Daniel Wolf

        Daniel Wolf - 2016-04-19

        Thank you so much -- it's working perfectly now!

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.