[arm-allstar] Weather Report Doesn't Play on BBB
Jim Korenz
n8pxw at yahoo.com
Thu Apr 23 19:58:02 EST 2015
Hi Chris,
Here is how I got the local forecast.
Not all areas may have this feature, but for those who
have it, it looks like a 3 line script to get and say
the current conditions and forecast.
Go to your local NOAA office, in my case, Cleveland.
www.weather.gov/cle
scroll down to the "NOAA Weather Radio" button, hit it.
It brings up a map of the weather stations in NE Ohio.
Mouse over on one of the stations, "Akron".
A pull down menu appears.
Click on "Local Forecast". A MP3 file plays,
your browser shows the URL.
http://www.erh.noaa.gov/cle/mp3/CLESAFNW4.mp3
I solved my initial problem with playing the WAV file, it was a spelling mistake.
I am trying to convert the MP3 file to a WAV on the BBB with SOX, but I get
the following:
[root at bbb-uniontown asterisk]# sox CLESAFNW4.mp3 -b 16 -c 1 wx.wav
sox FAIL formats: no handler for file extension `mp3'
Lame is installed, so the convert should work.
Thanks for your help so far.
JimK N8PXW
--------------------------------------------
On Thu, 4/23/15, Christopher Kovacs <w0anm73 at gmail.com> wrote:
Subject: Re: [arm-allstar] Weather Report Doesn't Play on BBB
To: "BeagleBone Black ARM Allstar" <arm-allstar at hamvoip.org>
Date: Thursday, April 23, 2015, 5:36 PM
Hi
Jim,
The localplay does not
support MP3 files. The wx scripts converting the MP3 file
to a ulaw file using lame and sox. I haven't looked into
the MP3 files form the weather service. What do they provide
and how do you determine the URL for your location?
Chris,
w0anm
On Thu,
Apr 23, 2015 at 2:34 PM, Jim Korenz <n8pxw at yahoo.com>
wrote:
I'm
using v1.2 of the BBB software. I get the MP3 file directly
from the weather service web page using curl. I am using
Total Recorder to convert MP3 to WAV. I thought localplay
would play the MP3 or WAV file. That would be simpler than
to a text to speech conversion.
JimK N8PXW
--------------------------------------------
On Thu, 4/23/15, Christopher Kovacs <w0anm73 at gmail.com>
wrote:
Subject: Re: [arm-allstar] Weather Report Doesn't Play
on BBB
To: "BeagleBone Black ARM Allstar" <arm-allstar at hamvoip.org>
Date: Thursday, April 23, 2015, 1:55 PM
I
have some additional questions for you. What version
of
the BBB software are you using?What utility is
generating the MP3
file? What utility and options are you
using to convert the MP3 file to WAV? If you are using
the
weather scripts that are available on the BBB release?
You
not have to convert anything with the already installed
weather scripts as it's done for you.
73,
Chris w0anm
On Thu, Apr 23, 2015 at
11:35 AM, Jim Korenz <n8pxw at yahoo.com>
wrote:
Hi
All,
I have a problem playing the MP3 audio from the
local
weather station CLE. I am running a BBB as a link to
the
local repeater. Everything is working, AllStar,
EchoLink,
Allison speaks the time. But, when I try to play the
weather
report MP3 file using localplay, the radio keys up but
no
audio. I've converted the MP3 to a 16 bit, 8 Khz
WAV
file, but the same thing. Any ideas?
Thanks, JimK N8PXW
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-----Inline Attachment Follows-----
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-----Inline Attachment Follows-----
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
More information about the arm-allstar
mailing list