cloudy cloudy

Author Topic: Text to Speech Version of WXSIM Forecast  (Read 2736 times)

0 Members and 1 Guest are viewing this topic.

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 52.0.2743.41
    • Huon River Vista Weather - South Franklin - Tasmania
Text to Speech Version of WXSIM Forecast
« on: June 23, 2016, 10:30:59 AM »
Hi,

Added plaintext.txt to Speech to my WXSIM Forecast's.

Not sure how it functions for other's, nor what the general feeling is by my doing so.

More about it : http://hrvistaweather.com/weather/wxhrvchat.php#comment-2746026066

Note: Not been tested by anyone other than myself, so may possible be fraught wish issues as I do not have the programming prowess that key players on these forums possess.

Feedback appreciated.

Forgot to mention, there is a nice little scripted prelude leading into the forecast and same post forecast (so worth listening till the end).

regards,
« Last Edit: June 23, 2016, 12:01:42 PM by hrvistaweather »
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline mikeym

  • Posts: 1,210
  • Thornhurst, Pa USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 47.0
    • MikeyMs Thornhurst,PA Weather
Re: Text to Speech Version of WXSIM Forecast
« Reply #1 on: June 23, 2016, 12:53:15 PM »
Tony

Worked very well here. Interesting.

Cheers

 :D

MikeyM
http://mikeymsweather.com/

Another VERY Happy WD user
Shuttle XS36v4 8 GB RAM
Davis Vantage Pro 2 wireless w/ Davis solar sensor
Laser Snow Depth Sensor LR4/Fluke 414D working in WD thanks to Brian

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 52.0.2743.41
    • Huon River Vista Weather - South Franklin - Tasmania
Re: Text to Speech Version of WXSIM Forecast
« Reply #2 on: June 23, 2016, 01:15:56 PM »
Hi MikeyM,

Thanks for taking a look, hope you understood the Aussie Female Accent.

I suppose my idea behind it all was, to click it walk away and make your cup of coffee and Vegemite on toast while listening to it, rather than looking at the detail on the screen wishing you had the later.

I am still sure it's not foul proof and no where near polished, but just wanted to put the concept up for discussion / input / enhancement / etc.

regards,
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline broadstairs

  • Stuart
  • Posts: 6,946
  • Broadstairs, Kent, UK
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
    • Broadstairs
Re: Text to Speech Version of WXSIM Forecast
« Reply #3 on: June 23, 2016, 06:59:24 PM »
Tony I did take a listen and yes it worked fine. My issue with all this stuff is that the intonation usually goes awry at some point and distracts me from listening to the information and yes that happened a couple of times. I have not played with this stuff and have no practical experience or advice to help, but it is an interesting concept. I must say the accent was not an issue it was the intonation and pauses in what felt like the wrong place. Maybe trying to break up the text file differently might help but I' just guessing here.

Stuart

Offline M.P.C.

  • Posts: 260
  • Toronto, Ontario,Canada
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 51.0.2704.103
    • High Park Village Toronto,ON,Canada
Re: Text to Speech Version of WXSIM Forecast
« Reply #4 on: June 23, 2016, 08:37:34 PM »
A male voice version.

http://www.celin-web.com/wdisplay/wxsim.php

Marian
 :)

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 52.0.2743.49
    • Huon River Vista Weather - South Franklin - Tasmania
Re: Text to Speech Version of WXSIM Forecast
« Reply #5 on: June 27, 2016, 07:45:23 AM »
Hi Stuart and Marian,

Appreciate response: Yes Stuart agree with all you comments, I did try to eliminate all white space (period/full stop/commas etc) though found it so quick, that it lost where it was at without the punctuation.

I did however find and remove a few missed white spaces (where there were two rather than one) though it still does at times pause too long for no real reason. (maybe network)

It was always just a play with thing to see what could be achieved, Marian - did not realise it had been done already, though you are using what looks like a conversion to mp3, this uses whatever text is thrown at it basically.

I have modified the way it (functions/is displayed) etc, though still really a test in progress which I may just delete in time.

New access to it is via links to popup page from main page : Header on all pages (AUDIO FORECAST) and in Dashboard (Audio) as depicted below.
You can now also change the Voice/Language Type, but default I have set to Australian Female.

Links are also on the WSXIM 3in1 and Text Forecast pages.

On the Text Forecast page http://hrvistaweather.com/weather/wxsimforecast.php I added (just to play with) the ability for user to click drag mouse over desired part or full portion of the forecast and it will automatically be read out (another feature of responsiveVoice.js
The interesting part with this is that Ken's Plain-Text-Parser has already removed all white space issues and as it is (page displayed) in a table it flows more fluently.
I may when not extremely snowed under with work - look at a stripped down version of Plain-Text-Parser to use by default, as the additional bonus is that the parser has some fluffy bits the original plaintext.txt does not, like High 10 (degree symbol) C which is read by the .js as High 10 Degrees Celsius, rather than just  (High 10). This I thought was good as when listening to the plaintext.txt version it contains no C or F.

So for now I'll leave it as is and decide whether play with it more or when time may permit, ditch it.

Thanks again,
« Last Edit: June 27, 2016, 08:24:16 AM by hrvistaweather »
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline broadstairs

  • Stuart
  • Posts: 6,946
  • Broadstairs, Kent, UK
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
    • Broadstairs
Re: Text to Speech Version of WXSIM Forecast
« Reply #6 on: June 27, 2016, 08:35:47 AM »
Tony I just listened to both versions and the one I get with the mouse over the forecast text is in my opinion a huge improvement over the other one, it flows much better and just sounds right.

I do think this is a worthwhile experiment and hope you find time to continue and eventually post some information of how to do it.

Stuart

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 52.0.2743.82
    • Huon River Vista Weather - South Franklin - Tasmania
Re: Text to Speech Version of WXSIM Forecast
« Reply #7 on: July 27, 2016, 12:49:10 AM »
Hi Stuart,

Sorry late response, I don't envisage getting around to enhancing it in the short term (too busy), however when I get a chance next weekend I'll email you what I have now.

regards,
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline hrvistaweather

  • Posts: 223
  • Franklin, Huon Valley Southern Tasmania
  • OS/Browser:
  • Win NT 6.3
  • Chrome 54.0.2840.27
    • Huon River Vista Weather - South Franklin - Tasmania
Re: Text to Speech Version of WXSIM Forecast
« Reply #8 on: September 21, 2016, 07:43:32 AM »
Hi Stuart, sorry time limited, trying again to attach zip file for voice script, re the email I sent earlier your provider rejected it.
So hopefully this works. Context in the email.
regards,
« Last Edit: September 21, 2016, 07:51:05 AM by hrvistaweather »
Tony

Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

Offline broadstairs

  • Stuart
  • Posts: 6,946
  • Broadstairs, Kent, UK
  • OS/Browser:
  • (Linux Mint)
  • Firefox 48.0
    • Broadstairs
Re: Text to Speech Version of WXSIM Forecast
« Reply #9 on: September 21, 2016, 08:18:16 AM »
Tony yes they are particularly careful, however I am able to ask for the attachment to be sent to me by them as they keep stuff like this for a while just in case it's a false positive which is what I did.

Stuart

Offline kocher

  • Posts: 82
  • San Sebastian (Spain)
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 55.0.2883.87
    • San Sebastian - Arriola
Re: Text to Speech Version of WXSIM Forecast
« Reply #10 on: December 21, 2016, 07:20:08 PM »
Greetings Tony

Following your example, I installed the forecast spoken on my page:

                      http://kocher.es/previsiones_nuevo.php

The only language that does not work, is the French

Thank you very much for your work    :D

Greetings from San Sebastian (Spain)

« Last Edit: December 21, 2016, 07:22:27 PM by kocher »