Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not receive all SAPI events #1

Open
payymann opened this issue May 25, 2015 · 1 comment
Open

Can not receive all SAPI events #1

payymann opened this issue May 25, 2015 · 1 comment

Comments

@payymann
Copy link

I have compiled the entire solution in VS 2013.
After registering SLT voice (using SALBROOT\sapi\bin\register-slt.bat), when i use SAPI5 TTSAPP to test this voice and select all events to be shown, it only receive StartStream, EndStream and VoiceChanged events.

Is it possible to receive all SAPI events?

@m-toman
Copy link
Owner

m-toman commented May 27, 2015

Currently not all events are implemented.
The last addition was the SAPI_PROPERTY_BOOKMARK event in https://github.com/m-toman/SALB/blob/master/sapi/htstts.cpp because the JAWS screenreader relied on that.

Unfortunately I don't have time to add the interesting events SPEI_WORD_BOUNDARY, SPEI_SENTENCE_BOUNDARY, SPEI_PHONEME.
For these we would have to get the durations (using HTS_Engine_get_state_duration, I suppose) for each label from hts_engine to calculate at which frame which phone starts. And also return that info in the TTSResult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants