Author Topic: For those with poor eyesight!  (Read 3329 times)

0 Members and 1 Guest are viewing this topic.

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
For those with poor eyesight!
« on: September 19, 2016, 08:12:33 PM »
A little script  http://www.komokaweather.com/weather/meteo_audio.html (still a work in progress) borrowed from F1LXJ Serge at Météo d'Annoeullin dans les Hauts-de-France  http://f1lxj.free.fr/weather/index.htm and http://www.meteo-saint-brevin.fr/

Enjoying,
Paul

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1308
  • BismarckWeather.net
    • BismarckWeather.net
Re: For those with poor eyesight!
« Reply #1 on: September 20, 2016, 10:39:19 AM »
Can you let us know what you did to make that?  I've been wanting to stream the local WX radio, but I'd rather just post an audio file similar to yours.

Good work.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: For those with poor eyesight!
« Reply #2 on: September 20, 2016, 10:01:27 PM »
Still working on getting some basic issues resolved, and then the decimal/period pause in English language.  I will post result.

Paul

Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: For those with poor eyesight!
« Reply #3 on: September 21, 2016, 06:22:36 AM »
Hi Paul,

Thank you for your interrest for our weather audio pages.

After trying poor quality mp3 audio messages generators, I found responsivevoice and tried their API with Serge F1LXJ.

It is by far the best quality audio obtained right now, but our audio pages need the responsivevoice website to be up in order to work, since the script use to call routines on it. We allready got an issue for a few days when their website was down.

Your help will be appreciated to provide us well formated English sentences with the right words. And for the time and data formats as well.
I will follow your work with interrest.

Note the French Female voice is excellent on a Windows PC but a little agressive on Ipad or Iphone.

http://www.meteo-saint-brevin.fr/audio.htm
http://www.meteo-saint-brevin.fr/infos.htm

Best regards,
Marcel

Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Offline gginnj

  • Member
  • *
  • Posts: 33
Re: For those with poor eyesight!
« Reply #4 on: September 21, 2016, 02:08:41 PM »
Thanks for the link info....this is pretty interesting.

At least in the US Female voice, if you set the rate to 0 - sounds like they have had a little too much to drink!

GG

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: For those with poor eyesight!
« Reply #5 on: September 22, 2016, 12:24:38 AM »
Made some good progress http://www.komokaweather.com/weather/meteo_audio.html

Thanks Serge and Marcel for your idea, and Mark Crossley for your help in improving the English code and pronunciations.


Enjoy,
Paul

Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: For those with poor eyesight!
« Reply #6 on: September 22, 2016, 12:41:49 PM »
Hi Paul,

I made some progress too for the English message. It was a little bit tricky, since here, all Cumulus datas are formated with a comma in place of the dot for you. In order to use the script created by Mark (I'm always amazed by his ability to generate quickly code lines in any language  =D&gt;), I had to use alternative tags ie <#RCtemp> in place of <#temp> where the dot can be processed as a point. Sorry for my poor level in English.

Well, the most important part of the script is ready. Curiously, the <#RCapptemp> does not exist. I tried a Math.round on it, but it does not do the job.

Math.round worked for <#RCpress> and so, I have the pressure given by only a value without decimal, as does the guy in the control tower when you ask him for the latest met report.

Your comments are welcome and, if you wish, I will try to help you to adapt the message in French.

Marcel
Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Online mcrossley

  • Forecaster
  • *****
  • Posts: 1133
    • Wilmslow Astro
Re: For those with poor eyesight!
« Reply #7 on: September 22, 2016, 01:07:12 PM »
Hi Marcel, you can use your comma decimal variables, but you need to convert them to dot decimal for the code as JavaScript doesn't understand comma decimal numbers. If you need this just ping me on the Cumulus forum.
Mark

Offline meteo-saint-brevin

  • Senior Contributor
  • ****
  • Posts: 192
    • Météo Saint-Brevin
Re: For those with poor eyesight!
« Reply #8 on: September 22, 2016, 05:03:42 PM »
Hi Mark,
Thank you for your help. I cannot do this conversion in javascript and so I posted for you a request on Cumulus.
It does not hurry ! You have so much to do  :-)
Marcel Le Jeune F6DOW - Saint-Brevin-les-Pins - Pays de la Loire - France
www.meteo-saint-brevin.fr
Vantage Pro2 6163EU - VirtualVP, Cumulus, WeatherLink
Wifi cam Reolink RLC-410W - Blue Iris - Blue Iris tools

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather

Offline PaulMy

  • Forecaster
  • *****
  • Posts: 5509
    • KomokaWeather
Re: For those with poor eyesight!
« Reply #10 on: September 30, 2016, 10:05:47 PM »
Quote
Can you let us know what you did to make that?  I've been wanting to stream the local WX radio, but I'd rather just post an audio file similar to yours.
http://sandaysoft.com/forum/viewtopic.php?f=14&t=15654

Enjoy,
Paul

Offline ConligWX

  • Forecaster
  • *****
  • Posts: 836
  • #conligwx
    • conligwx.org
Re: For those with poor eyesight!
« Reply #11 on: June 18, 2020, 05:54:55 AM »
has anyone noticed this now does not work in Firefox or MSIE?

Script still seems ok with Chrome and Edge (Chrome Engine)
Regards Simon
Davis Vantage Pro2 Plus (6162UK) • Daytime FARS • WeatherLink Live • AirLink • PurpleAir PA-II-SD • CumulusMX •


Offline Otis

  • (aka Paul)
  • Forecaster
  • *****
  • Posts: 724
    • Lake Huron Weather
Re: For those with poor eyesight!
« Reply #12 on: June 18, 2020, 06:03:58 AM »
I'm using FF v60.0.0 (64bit) and it loads okay for me, have not tried other browsers.

CW3699

 

anything