Menu

ps_seg_frames base

Help
kriomant
2016-03-24
2016-03-27
  • kriomant

    kriomant - 2016-03-24

    ps_seg_frames returns offsets of word start and end frames. But what is the base of these offsets? It seems it is not utterance start.

     
    • Nickolay V. Shmyrev

      It is a start of the continuous stream. You can restart the stream with ps_start_stream call.

       
  • kriomant

    kriomant - 2016-03-25

    I have initialized decoder with keyword search, fed 48128 samples to it until hypotesis appeared.
    Information returned by ps_seg_iter shows that recognized word is at frames 887-940.
    Frame rate is 100, sample rate is 8000. I want to get last sample of hypotesis.

    940 / 100 * 8000 = 75200, which is more that number of samples fed. What do I do wrong?

     
    • Nickolay V. Shmyrev

      Maybe you didn't set samprate properly, you need to provide more information on what your situation is.

       

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.