[arm-allstar] no audio from the weather alert scripts

LaRoy McCann lmccann at dtisp.com
Mon Apr 20 17:11:48 EST 2015


Ok, just narrowed down the problem.  I believe it is with 
/usr/local/bin/getWxAlert.

In the "TextToSpeech" function, this variable is defined: 
TTS_PROGRAM="/usr/local/bin/tts_audio.sh -v ${WXVOL} "

The problem as I see it is WXVOL is not defined anywhere in getWxAlert, 
so I assume it defaults to 0.
When getWxAlert calls tts_audio.sh it passes -v 0 which creates the 
audio file with no volume.

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.

I confirmed this by changing the 
TTS_PROGRAM="/usr/local/bin/tts_audio.sh  ".  Now it uses the default 
value in tts_audio.sh.

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.

Not sure why I am the only one having this issue?


LaRoy McCann, K5TW





On 4/20/2015 2:33 PM, LaRoy McCann wrote:
> 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.
>
> I'll try it again and configure the whole thing.
>
> LaRoy McCann, K5TW
>
> On 4/20/2015 2:20 PM, Robert Newberry wrote:
>>
>> 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.
>>
>> N1XBM
>> Apparare Scientor
>> Paratus Communicare
>> Allstar Node # 27086, 41540, 41812
>>
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by the *DTISP MailScanner* <http://www.dtisp.com/>, 
>> and is
>> believed to be clean.
>>
>>
>> _______________________________________________
>>
>> 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/
>
>
>
> ------------------------------------------------------------------------
> Avast logo <http://www.avast.com/> 	
>
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com <http://www.avast.com/>
>
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by the *DTISP MailScanner* <http://www.dtisp.com/>, 
> and is
> believed to be clean.
>
>
> _______________________________________________
>
> 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/



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150420/c27d4787/attachment.html>


More information about the arm-allstar mailing list