<div dir="ltr"><div>Hi LaRoy,</div><div><br></div><div>I have never seen this behavior before.</div><div><br></div>This value is defined in the wx_scripts.conf file (<b><i>/usr/local/etc/wx/wx_scripts.conf</i></b>) as show below.<div><br></div><div><pre style="font-family:Consolas,monospace,sans-serif;margin-top:0px;margin-bottom:0px;color:rgb(128,128,128);line-height:16.8999996185303px"><code style="font-family:Consolas,monospace,sans-serif;margin:0px;white-space:pre-wrap"><br class="">WXVOL="3" # Volume control to adjust ulaw output file
</code><code style="font-family:Consolas,monospace,sans-serif;margin:0px;white-space:pre-wrap"> # integer 1-10, were 10 is highest volume
</code></pre><pre style="font-family:Consolas,monospace,sans-serif;margin-top:0px;margin-bottom:0px;color:rgb(128,128,128);font-size:13px;line-height:16.8999996185303px"><span style="color:rgb(0,0,0);white-space:pre-wrap;line-height:16.8999996185303px"><br></span></pre><pre style="font-family:Consolas,monospace,sans-serif;margin-top:0px;margin-bottom:0px;color:rgb(128,128,128);font-size:13px;line-height:16.8999996185303px"><span style="color:rgb(0,0,0);white-space:pre-wrap;line-height:16.8999996185303px"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px;color:rgb(128,128,128);font-size:13px;line-height:16.8999996185303px"><span style="color:rgb(0,0,0);white-space:pre-wrap;line-height:16.8999996185303px"><font face="arial, helvetica, sans-serif">This is set when running the <i>wx_config.sh</i>:</font></span><font face="Consolas, monospace, sans-serif"><br></font></pre><pre style="font-family:Consolas,monospace,sans-serif;margin-top:0px;margin-bottom:0px;color:rgb(128,128,128);font-size:13px;line-height:16.8999996185303px"><span style="color:rgb(0,0,0);white-space:pre-wrap;line-height:16.8999996185303px"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#808080" face="Consolas, monospace, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">----------------------------------------------------------------------
Script Configuration
The scripts have already been configured. If you choose, you can change
your weather configurations. this selection allows you to change the
audio volume, weather units of measure (metric/us), and email (gmail)
support.
----------------------------------------------------------------------
Do you want to reconfigure the weather scripts ([n],y): ? y
Enter the volume setting for ulaw files [3] :3
</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">The wx_scripts.conf file is sourced when executing the getWxAlert as well as other wx scripts. Try re-executing </span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">the configuration script and select re-configure after stepping through the other questions requesting to add Alert, </span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">Reports, and Forecast.</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">Send me the current copy of <i>/usr/local/etc/wx/wx_scripts.conf</i> file that you have on your system. This script and </span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">definitions are correct. You are running the the RPi2 release, correct? </span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">Thanks,</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#000000" face="arial, helvetica, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px">Chris, w0anm</span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#808080" face="Consolas, monospace, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px"><br></span></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font color="#808080" face="Consolas, monospace, sans-serif"><span style="font-size:13px;line-height:16.8999996185303px"><br></span></font></pre></div><div><code style="font-family:Consolas,monospace,sans-serif;margin:0px;white-space:pre-wrap"><br></code></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 20, 2015 at 5:11 PM, LaRoy McCann <span dir="ltr"><<a href="mailto:lmccann@dtisp.com" target="_blank">lmccann@dtisp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Ok, just narrowed down the problem. I
believe it is with /usr/local/bin/getWxAlert.<br>
<br>
In the "TextToSpeech" function, this variable is defined:
TTS_PROGRAM="/usr/local/bin/tts_audio.sh -v ${WXVOL} "<br>
<br>
The problem as I see it is WXVOL is not defined anywhere in
getWxAlert, so I assume it defaults to 0.<br>
When getWxAlert calls tts_audio.sh it passes -v 0 which creates
the audio file with no volume.<br>
<br>
If I manually run "/usr/local/bin/tts_audio.sh -v 3
/tmp/wx/alert/ARC111/no_alerts.txt" it creates no_alerts.ul that
has an audio level.<br>
<br>
I confirmed this by changing the
TTS_PROGRAM="/usr/local/bin/tts_audio.sh ". Now it uses the
default value in tts_audio.sh.<br>
<br>
Not sure what the intent was here. Either getWxAlert needs to have
WXVOL defined within it or needs to have the -v ${WXVOL} option
left off.<br>
<br>
Not sure why I am the only one having this issue?<br>
<br>
<br>
LaRoy McCann, K5TW<div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On 4/20/2015 2:33 PM, LaRoy McCann wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>Yes it was connected and I ran it
several times again since the initial setup, although I did not
reconfigure the county, just the last section asking about the
audio level, whether to play the scripts and the gmail account.<br>
<br>
I'll try it again and configure the whole thing.<br>
<br>
LaRoy McCann, K5TW<br>
<br>
On 4/20/2015 2:20 PM, Robert Newberry wrote:<br>
</div>
<blockquote type="cite">
<p dir="ltr">When you ran the script was your RPI2 connected to
the internet? I had a similar problem when I ran the first
time script. Apparently when it went to the internet to do
whatever it's doing. I re-ran the script and everything worked
after I ran the script with a working internet connection. </p>
<p dir="ltr">N1XBM<br>
Apparare Scientor<br>
Paratus Communicare<br>
Allstar Node # 27086, 41540, 41812<br>
</p>
<br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by the <a href="http://www.dtisp.com/" target="_blank"><b>DTISP MailScanner</b></a>, and
is <br>
believed to be clean. <br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre>
</blockquote>
<br>
<br>
<br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a href="http://www.avast.com/" target="_blank"> <img src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" border="0"> </a> </td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt"> This email has been checked for
viruses by Avast antivirus software. <br>
<a href="http://www.avast.com/" target="_blank">www.avast.com</a>
</p>
</td>
</tr>
</tbody>
</table>
<br>
<br>
-- <br>
This message has been scanned for viruses and
<br>
dangerous content by the
<a href="http://www.dtisp.com/" target="_blank"><b>DTISP
MailScanner</b></a>, and is
<br>
believed to be clean.
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
arm-allstar mailing list
<a href="mailto:arm-allstar@hamvoip.org" target="_blank">arm-allstar@hamvoip.org</a>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre>
</blockquote>
<br>
<br><br>
<hr style="border:none;color:#909090;background-color:#b0b0b0;min-height:1px;width:99%">
<table style="border-collapse:collapse;border:none">
<tbody><tr>
<td style="border:none;padding:0px 15px 0px 8px">
<a href="http://www.avast.com/" target="_blank">
<img border="0" src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo">
</a>
</td>
<td>
<p style="color:#3d4d5a;font-family:"Calibri","Verdana","Arial","Helvetica";font-size:12pt">
This email has been checked for viruses by Avast antivirus software.
<br><a href="http://www.avast.com/" target="_blank">www.avast.com</a>
</p>
</td>
</tr>
</tbody></table>
<br>
</div></div></div>
<br>_______________________________________________<br>
<br>
arm-allstar mailing list<br>
<a href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
<a href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
<br>
Visit the BBB web page - <a href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/" target="_blank">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a><br></blockquote></div><br></div>