Menu

Get audio time from a segment

Help
2016-10-13
2016-10-14
  • Fernando Jimenez Gordillo

    im a newbie at pocket sphinx and i want to get some data from the recognition. now i have segmentation data but i want to know how to get the real time of a segment(the time in the audio file), like if i get an audio that is "Hello World" but there are some silence, i want to get the time with the silence to.

     

    Last edit: Fernando Jimenez Gordillo 2016-10-13
    • Nickolay V. Shmyrev

      You can get words with times with segments iterator. Everything else is silence.

       
  • Fernando Jimenez Gordillo

    but in a 25 seconds audio, the ps_get_all_time mark 22.89 seconds and idont know why

     
    • Nickolay V. Shmyrev

      ps_get_all_time returns seconds of speech, not overall seconds. If you want overall seconds you need to count yourself.

       
  • ferhun taylan

    ferhun taylan - 2016-10-14

    can u share your project code with us?

     

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.