<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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<br>
<br>
<br>
<br>
<br>
<br>
On 4/20/2015 2:33 PM, LaRoy McCann wrote:<br>
</div>
<blockquote cite="mid:55355477.6080104@dtisp.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">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
cite="mid:CAM09xEYGUOwfjxxC56os3Xp1hexG=dwirmw6Nu13xNVWUJeNjg@mail.gmail.com"
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 moz-do-not-send="true"
href="http://www.dtisp.com/"><b>DTISP MailScanner</b></a>, and
is <br>
believed to be clean. <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
arm-allstar mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre>
</blockquote>
<br>
<br>
<br>
<hr style="border:none; color:#909090; background-color:#B0B0B0;
height: 1px; width: 99%;">
<table style="border-collapse:collapse;border:none;">
<tbody>
<tr>
<td style="border:none;padding:0px 15px 0px 8px"> <a
moz-do-not-send="true" href="http://www.avast.com/"> <img
moz-do-not-send="true"
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 moz-do-not-send="true" href="http://www.avast.com/">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 moz-do-not-send="true" href="http://www.dtisp.com/"><b>DTISP
MailScanner</b></a>, and is
<br>
believed to be clean.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
arm-allstar mailing list
<a class="moz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>
<a class="moz-txt-link-freetext" href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a>
Visit the BBB web page - <a class="moz-txt-link-freetext" href="http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/">http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/</a></pre>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<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/">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</body>
</html>