I'm trying to determine the time at which each word was spoken in the Confidence.jar demo. I aim to use the Timer class that's provided. But it doesn't have a constructor and I'm a bit confused as to how I implement the class within the demo. Any help would be great.
Cheers
Cillian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My memory of Sphinx-4 is rapidly fading as I have been moved onto another project for over a year now. :-( But, I think you might take a look at the start and end frame information in the WordResult - I think you might be able to convert this into timing information.
Will
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to determine the time at which each word was spoken in the Confidence.jar demo. I aim to use the Timer class that's provided. But it doesn't have a constructor and I'm a bit confused as to how I implement the class within the demo. Any help would be great.
Cheers
Cillian
Hi:
My memory of Sphinx-4 is rapidly fading as I have been moved onto another project for over a year now. :-( But, I think you might take a look at the start and end frame information in the WordResult - I think you might be able to convert this into timing information.
Will
Where do I get the factor from to convert a Frame number into time (e.g. milliseconds)?