I've been testing my published scripts under the Raspberry Pi version of HS3.
At this point, I'm not terribly optimistic about Daily Reminders.
The script contains support for HS Phone for retrieval of reminders over the phone line. HS3-Pi chokes on this during the compilation of the script. Unless I can devise a way to spoof hsp functions to allow the script to compile, the project probably cannot continue without developing a third function library, as I had done to support both HS2 and HS3. This would require considerable work as all three versions would have to be rebuilt. Unless there is sufficient interest in this, I'll probably not bother.
Announcement
Collapse
No announcement yet.
Daily Reminders
Collapse
X
-
Originally posted by Wadenut View Postversion 2.4.1 is posted.
This adds the facility to handle SAPI tags within reminder texts.
@rprade
I was able to deal with the tag characters < & > without having to resort to character substitution. Double quotes however, if used, will be converted to single quotes.
Excellent suggestion, Thank-you.
Leave a comment:
-
version 2.4.1 is posted.
This adds the facility to handle SAPI tags within reminder texts.
@rprade
I was able to deal with the tag characters < & > without having to resort to character substitution. Double quotes however, if used, will be converted to single quotes.
Excellent suggestion, Thank-you.
Leave a comment:
-
Originally posted by rprade View PostFor me, the global value is not necessary. It might be a nice feature for some users. I set a default voice in the windows TTS control for all announcements. I only override the voice for announcements that may have more importance.
I'll continue testing this for a day or so, then update the doc and post the update. I thought of modifying the ASP page as well to accept the <,> and " characters. It would replace them before saving or displaying the reminders. I think however this might only add confusion for some, so will be leaving things as is.
Leave a comment:
-
Originally posted by Wadenut View PostOK.
Looks, or rather Sounds good.
I used the example:
This is a sapi tag test. (voice required=%name = Microsoft Anna%) (silence msec='5000'/) There should have been a delay.
- HS speaks in the system default voice (VW Paul in my case) "This is a sapi tag test" then delays five seconds and continues in Anna's voice "There should have been a delay."
- The device strings, Next Reminder, Latest Reminder, and Today's Reminders display the text without the tags.
- There are announcements embedded in the script which will still use the default voice. These are used only when reminders are requested via VR, either thru the Speaker client or by phoning in the request. I could change this if necessary by adding a Config parameter to use a specific voice for those announcements, but that would be global. Individual reminders will use the embedded SAPI tags.
Is this something you'd want?
Leave a comment:
-
OK.
Looks, or rather Sounds good.
I used the example:
This is a sapi tag test. (voice required=%name = Microsoft Anna%) (silence msec='5000'/) There should have been a delay.
- HS speaks in the system default voice (VW Paul in my case) "This is a sapi tag test" then delays five seconds and continues in Anna's voice "There should have been a delay."
- The device strings, Next Reminder, Latest Reminder, and Today's Reminders display the text without the tags.
- There are announcements embedded in the script which will still use the default voice. These are used only when reminders are requested via VR, either thru the Speaker client or by phoning in the request. I could change this if necessary by adding a Config parameter to use a specific voice for those announcements, but that would be global. Individual reminders will use the embedded SAPI tags.
Is this something you'd want?
Leave a comment:
-
Originally posted by Wadenut View PostOK. It seems HS has a problem with displaying text containing the tags when viewing/editing reminders in the ASP page. When I edit the data file manually however, including the unmodified SAPI tags, the reminders are spoken as expected using the alternate voice.
The best/simplest method I can think of to overcome this is to use some character substitution in the reminder texts. What I'll likely end up doing is replacing < and > with ( and ), and quotes " with %. These will be handled internally and should produce the result you're looking for.
I'll need to deal with the Device texts as well (to suppress the tags in the device strings).
For instance:
(voice required=%name = Microsoft David%)
an<code>d
(silence msec='1000'/)
</code>
Will this be acceptable?
Probably sometime next week before I can commit a large enough block of time to complete the changes.
Leave a comment:
-
OK. It seems HS has a problem with displaying text containing the tags when viewing/editing reminders in the ASP page. When I edit the data file manually however, including the unmodified SAPI tags, the reminders are spoken as expected using the alternate voice.
The best/simplest method I can think of to overcome this is to use some character substitution in the reminder texts. What I'll likely end up doing is replacing < and > with ( and ), and quotes " with %. These will be handled internally and should produce the result you're looking for.
I'll need to deal with the Device texts as well (to suppress the tags in the device strings).
For instance:
(voice required=%name = Microsoft David%)
an<code>d
(silence msec='1000'/)
</code>
Will this be acceptable?
Probably sometime next week before I can commit a large enough block of time to complete the changes.
Leave a comment:
-
Originally posted by Wadenut View PostSeems not to be that simple. Tags do need to be removed for display in device texts, which is done before the text is actually spoken, so it looks like this may take me a bit of time to accomplish. I will give the project priority but it does mean re-coding for both HS2 and HS3.
Leave a comment:
-
Seems not to be that simple. Tags do need to be removed for display in device texts, which is done before the text is actually spoken, so it looks like this may take me a bit of time to accomplish. I will give the project priority but it does mean re-coding for both HS2 and HS3.
Leave a comment:
-
Originally posted by rprade View PostIs there a way of putting SAPI tags in the spoken text. I would like to put a small delay in and change the voice on some announcements such asPHP Code:and
Last edited by Wadenut; April 7, 2017, 04:04 AM.
Leave a comment:
-
Is there a way of putting SAPI tags in the spoken text. I would like to put a small delay in and change the voice on some announcements such asPHP Code:<voice required="name = Microsoft David Desktop"> and <silence msec='1000'/>
Leave a comment:
-
Version 2.38 (Both HS2 and HS3)
This should be the final version.
Previously created reminder data should be fully compatible. Additional fields are created where needed when the data is first re-saved using the ASP page.
Function redirection has been broken out into a separate field making it's use simpler. Previously, redirection was embedded in the text of reminders. This method has a much cleaner look and simplifies editing of reminders. The Redirection script has been re-written so that functions are called directly rather than being processed through a "Main" routine.
Text substitution is more in line with methods already utilized within Homeseer. Includes DeviceString, DeviceValue, Date, Time and DayOfWeek substitution.
Leave a comment:
-
Have Redirection broken out to a separate field. Much nicer.
Also added Device String, Device Value, Date, Time and Day of week string substitution to reminder text. Very nice.
Testing some of the predesigned Redirection functions now.
Leave a comment:
Leave a comment: