Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Current Conditions Audio

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
Mapantz
Posts: 446
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: For those with poor eyesight

Postby Mapantz » Sat Sep 24, 2016 4:06 pm

HRVistaWeather wrote:Hi Mapantz,
Re my earlier post, the additional tags are required for my conditionsaudio.php
CMX and Cumulus1 time variables are different, so depending on which you use the following needs to be added. I don't have C1 anymore so not tested Cumulus1 (may need adjusting?).

Code: Select all

CMX
~<#presstrendenglish>~<#temptrendenglish>~<#wsforecast>~<#cloudbase>~<#sunset format="h' 'mm''tt">~<#sunrise format="h' 'mm''tt">~<#TwgustTM format="h' 'mm''tt">~<#time format="h' 'mm''tt">~<#moonrise format="h' 'mm''tt">~<#moonset format="h' 'mm''tt">
Cumulus1
~<#presstrendenglish>~<#temptrendenglish>~<#wsforecast>~<#cloudbase>~<#sunset format="h' 'nn''am/pm">~<#sunrise format="h' 'nn''am/pm">~<#TwgustTM format="h' 'nn''am/pm">~<#time format="h' 'nn''am/pm">~<#moonrise format="h' 'nn''am/pm">~<#moonset format="h' 'nn''am/pm">

regards,


Thanks ever so much Tony!

One thing that has just cropped up, is the Davis forecast..

Mostly cloudy and cooler. Precipitation likely. Windy with possible wind shift to the W, NW, or N.


Not sure how that can be solved, a replace function perhaps?
Image
Image

User avatar
HRVistaWeather
Posts: 164
Joined: Mon Apr 09, 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 7 Ultimate (64bit)
Location: Franklin, Huon Valley, Tasmania
Contact:

Re: For those with poor eyesight

Postby HRVistaWeather » Sat Sep 24, 2016 10:03 pm

Hi Mapantz,
I suppose someone may be able to, though personally I will be omitting the forecast section altogether from mine as I already have a forecastaudio.php running my wxsim 9 day forecast and this one really is conditionsaudio.php (I just added the davis fcast as per the original html example).
You could always add the Sager 12/24hr fcast I have done so in current example http://hrvistaweather.com/rvc/conditionsaudio.php though I will remove that in a couple of days, once you've had a listen. Sorry no time for code examples flat out, but it's easy to setup, you should figure it out.
regards,
Tony
Tony
https://southfranklinweather.com
Image
Huon River Vista - South Franklin Weather - Tasmania
Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

User avatar
Mapantz
Posts: 446
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: For those with poor eyesight

Postby Mapantz » Sat Sep 24, 2016 11:15 pm

HRVistaWeather wrote:Hi Mapantz,
I suppose someone may be able to, though personally I will be omitting the forecast section altogether from mine as I already have a forecastaudio.php running my wxsim 9 day forecast and this one really is conditionsaudio.php (I just added the davis fcast as per the original html example).
You could always add the Sager 12/24hr fcast I have done so in current example http://hrvistaweather.com/rvc/conditionsaudio.php though I will remove that in a couple of days, once you've had a listen. Sorry no time for code examples flat out, but it's easy to setup, you should figure it out.
regards,
Tony


I forgot that i processed and uploaded the bt-sager forecast. Thank you.

I put:

Code: Select all

<?php include_once('bt-sager-wc.php'); ?>


In the file, then just added .$sf. in the output, worked like a charm.

Cheers Tony. :)

http://www.warehamwx.co.uk/cumulus/conditionsaudio.php
Image
Image

User avatar
PaulMy
Posts: 1548
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current5 Conditions Audio

Postby PaulMy » Fri Sep 30, 2016 3:12 am

Most recent version http://www.komokaweather.com/weather/meteo_audio.html

Serge's http://f1lxj.free.fr/weather/meteo_audio.htm
and Marcel's http://www.meteo-saint-brevin.fr/audio.htm

Thanks Mark for your assistance on the point/comma decimal issue.

Paul

User avatar
Toxic17
Posts: 543
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Current Conditions Audio

Postby Toxic17 » Fri Sep 30, 2016 12:56 pm

does anyone have a zip file that we can download for this audio package?
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
PaulMy
Posts: 1548
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Fri Sep 30, 2016 2:15 pm

Hi Simon,
Just waiting to hear if the original authors will do that or I will zip mine later today.

Paul

User avatar
PaulMy
Posts: 1548
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Sat Oct 01, 2016 2:01 am

I have attached a zip of my North America meteo_audio script http://www.komokaweather.com/weather/meteo_audio.html.
This has a section on French text and English text. As I don't speak French I apologize in advance for any blatant errors. The webtags to feed the audio is for my Cumulus 1 and those using CumulusMX may need to change the <#time> format. Also, I use point decimal so the script is modified to accommodate so the English audio uses "point" and the French (European) audio uses "comma" (virgule).

I have also attached the meteo-audio-french-version used by Serge http://f1lxj.free.fr/weather/meteo_audio.htm.
This is the European theme using comma decimal.

The script is created by Serge and Marcel and I am just a-come-along but have spent a considerable amount of time in testing and learning to make it behave correctly (at least to my ears). Also thanks to Mark Crossley for providing code to change the Cumulus webtags output with point decimal so that the audio is "point" rather than assume the point is an end-of-sentence period.

Enjoy,
Paul

EDIT:
20161023 updated my meteo_audioT.zip
20161018 updated my meteo_audioT.zip
20161003 updated both zips
You do not have the required permissions to view the files attached to this post.
Last edited by PaulMy on Sun Oct 23, 2016 2:32 pm, edited 3 times in total.

User avatar
Toxic17
Posts: 543
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Current Conditions Audio

Postby Toxic17 » Sat Oct 01, 2016 12:15 pm

Thanks Paul, and others, for all of your hard work. I'll download and have a play about with the new scripts.
Regards Simon

https://www.conligwx.org
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
mlj1
Posts: 63
Joined: Mon Dec 26, 2011 8:14 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows 7 SP1
Location: Saint-Brevin les Pins, France
Contact:

Re: Current Conditions Audio

Postby mlj1 » Sat Oct 01, 2016 3:44 pm

Hi Paul and everybody,
I'm back home after being far away from my computer for a long week.

I join my audio script. It possibly can help and can of course be adapted to everyone's needs.
Note my script is slightly different from the one of my friend Serge, because I allready translated the wind directions in Cumulus.ini
Serge does the translations in his audio script.
http://www.meteo-saint-brevin.fr/infos.htm

Thanks again to Serge, Paul and Mark for their valuable contributions.
Enjoy
Marcel
You do not have the required permissions to view the files attached to this post.
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Image

User avatar
pernaczy
Posts: 107
Joined: Thu Nov 15, 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Current Conditions Audio

Postby pernaczy » Sat Oct 01, 2016 4:55 pm

Hi,
After spending some hours on combining both versions of the script and after getting wet (unfortunately my system is using comma decimal values and I'm not very skilled in HTML and PHP programming) finally I've got it running. :D : http://www.pogoda-niesiolowice.kaszuby. ... pogoda.php
Many thanks to all for the help I got from the posts in you have written this topic.
The most valuable is that again I've learned something new.
Piotr
The day when I have learned anything is not the lost one.

Image

User avatar
PaulMy
Posts: 1548
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Sat Oct 01, 2016 7:32 pm

Welcome back Marcel. When the cat is away, the mice will play! and we have been having fun...

Hi Piotr, and glad you got the script working for you. The challenge has been our script works well. Looking forward to a Polish audio ;)

Enjoy,
Paul

User avatar
mlj1
Posts: 63
Joined: Mon Dec 26, 2011 8:14 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows 7 SP1
Location: Saint-Brevin les Pins, France
Contact:

Re: Current Conditions Audio

Postby mlj1 » Sat Oct 01, 2016 7:53 pm

Thank you Paul !
Piotr, I hope you will have soon the "weather radio" giving its voice report in Polish !
Best regards
Marcel
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Image

User avatar
PaulMy
Posts: 1548
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Tue Oct 04, 2016 12:19 am

I have updated both zips viewtopic.php?f=14&t=15654&p=120536#p120536
To correct some language issue and additions.

Enjoy,
Paul

User avatar
HRVistaWeather
Posts: 164
Joined: Mon Apr 09, 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 7 Ultimate (64bit)
Location: Franklin, Huon Valley, Tasmania
Contact:

Re: Current Conditions Audio

Postby HRVistaWeather » Tue Oct 04, 2016 10:32 am

Hi Paul,
I hope you do not mind, but I would like to add/offer some conceptual points to this thread.
Back in June 2016 I posted a similar concept based on my Audio version of WxSim Forecast (see here) : http://www.weather-watch.com/smf/index.php/topic,63089.0.html.

Through trial an error I found myself fighting with the concepts of how will my user utilize this feature, to the point that I ended up with the following.

1: I want to click and listen while walking away to make my coffee/etc, but also have the ability to return and "Start/Pause/Resume/Stop" if I desire.
2: I want to click and listen while viewing other pages on this site, but also have the ability to "Start/Pause/Resume/Stop" if I desire.
3: All the above allow variable selection of multiple voice (male/female) and Language selection.

So I decided to create links on my header page and Index page which results in a popup version in a minimized browser which the user can access by :
1: Initially the popup window will allow the user to select a Voice, Start the audio, Pause/Resume/Stop as desired. Then venture off to other pages.
2: If on another viewing page post initialization of the Audio, Minimizing the current active window, the Audio Popup window will be on the desktop ready to be used.
3: As per above, User could alternatively Use the Windows TaskBar to select the Audio Popup window.

With the current "Current Conditions Audio" concept I see that it flows as follows from a user experience;

1: I click on a menu link to view an Audio Page, from this I click a chosen predefined Language Button.
2: I Listen, but have no ability to "Pause/Resume/Stop" .
3: I want to change pages while listening, but when I do the Audio stops, or in some cases the Audio does not stop and I have no way of stopping it.

I do realize that my concept is not perfect and nor does it meet all the possible scenarios from user requirement, though I do feel offering the user more options is more appealing. Though at the end of the day, it boils down to horses for courses I suppose.
Example : Attached:
audiopopup.PNG

Regards,
You do not have the required permissions to view the files attached to this post.
Tony
https://southfranklinweather.com
Image
Huon River Vista - South Franklin Weather - Tasmania
Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Back Online : 2017-11-01

User avatar
pernaczy
Posts: 107
Joined: Thu Nov 15, 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Current Conditions Audio

Postby pernaczy » Tue Oct 04, 2016 11:55 am

mlj1 wrote:Piotr, I hope you will have soon the "weather radio" giving its voice report in Polish !
Best regards
Marcel

PaulMy wrote:Hi Piotr, and glad you got the script working for you. The challenge has been our script works well. Looking forward to a Polish audio ;)
Enjoy,
Paul

Well. You wanted it and you get it (voice weather report in Polish): http://www.pogoda-niesiolowice.kaszuby.pl/ and this is probably everything I could do.
Two remarks:
1. In order to force the script to speak "polish national characters" I had to save an initial script file in UTF-8 format. After being processed by Cumulus some "strange bushes" occurred in the places the polish national characters should be, but the pronunciation of the Polish words is very good. As far as I have noticed it has not influenced an English pronunciation but I can say nothing about French pronunciation (I have only listening without understanding ability with regards to French language).
2. There are problems with pronunciation of the "time". For example: the phrase of :"the strongest wind was at 9:10" should be pronounced in Polish "the strongest wind was at ninth ten" but the pronunciation is "the strongest wind was at "nine tenth". The same happens when you try to use Polish language on Tony's (HRVistaWeather) page. So, this is probably the "nature" of the "tool" used for pronunciation. Is there any possibility for configuration?
Regards,
Piotr
The day when I have learned anything is not the lost one.

Image


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 7 guests