<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
How about calling an external script that just writes over the sound files?<BR>
<BR>
I keep a ulaw file which contains 250ms of silence on each repeater for that purpose. For example, my weather script creates ulaw files that are used as squelch tail files. If there aren't any weather events, the script copies the silence files to the tail files. When there's an event, it uses Cepstral to create the tail file. That way the tail files still play but no one notices it.<BR>
<BR>
You could have your external script copy the effects files somewhere. Copy the silence file into each of their places. Then when you return from the net, copy the originals back into place.<BR>
Like this :<BR>
On start : cp foo.ul ./Archive/foo.ul<BR>
cp bar.ul ./Archive/bar.ul <BR>
cp silence.ul foo.ul<BR>
cp silence.ul bar.ul<BR>
<BR>
On return cp ./Archive/foo.ul foo.ul<BR>
cp ./Archive/bar.ul bar.ul<BR>
<BR>
You get the idea.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<I>Robert A. Poff</I><BR>
<I>Loganville, PA</I><BR>
<BR>
<B><I><A HREF="http://wb3awj.hobby-site.org/loon.htm">S/V Loon</A></I></B><BR>
<I><FONT SIZE="2">1983 Hunter 34</FONT></I><BR>
<I><FONT SIZE="2">Havre de Grace, MD.</FONT></I><BR>
<BR>
WB3AWJ<I> - Allstar 27784</I><BR>
<I>Powered by Linux</I> <BR>
<BR>
</TD>
</TR>
</TABLE>
On Sat, 2012-11-17 at 19:51 -0700, Jeff Carrier wrote:
<BLOCKQUOTE TYPE=CITE>
is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>