<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Mike,<br>
      It is not an issue of a delay between the two repeaters.<br>
      The audio delay is just within the repeater with the Pi
      controller.  It does not matter if the two repeaters are linked or
      not.<br>
      <br>
      On the Pi controller, if you unkey immediately after talking you
      will usually hear the last second or two of what you just said. 
      This is on a full duplex repeater.<br>
      <br>
      LaRoy K5TW<br>
      <br>
      On 9/2/2015 3:54 PM, Mike Lussier wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ_8ST=tRqQsOb70maJSC5=J5oFH9GHe2=fkMeC+NGhEW=Dfdg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Sep 2, 2015 at 1:00 PM, <span
              dir="ltr"><<a moz-do-not-send="true"
                href="mailto:arm-allstar-request@hamvoip.org"
                target="_blank">arm-allstar-request@hamvoip.org</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Send
              arm-allstar mailing list submissions to<br>
                      <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div>If this is a delay issue because of wireless then That
              would be expected behavior. Alternatively can you
              interconnect the two devices with a switch and cat5 cable
              and retest. You will be surprised how much better it is. <br>
              <br>
            </div>
            <div>I haven't tried the Pi code myself I have had three BBB
              connected to switch and the audio quality was flawless
              between all three radios. you never knew they were
              linked.  Put on on Wireless and that introduced latency.
              between the two on the wire and one on the wireless. This
              was tested on my lab network that also allows other
              wireless devices. <br>
              <br>
            </div>
            <div>802.11 wireless linking has inherent delay issues even
              within the same room. VoIP over wireless without QoS is a
              problem especially since you really can't do QoS over
              wireless medium. any other device whether its on the same
              network or on another network in the same area is going to
              have an impact on all users. <br>
              <br>
            </div>
            <div>One reason why at work I never allowed Voip on the
              wireless network. I could stop video. but not too many
              people are streaming video conferences. Mostly YouTube
              feed. <br>
              <br>
            </div>
            <div><br>
            </div>
            <div>Mike AE4ML  <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
----------------------------------------------------------------------<br>
              <br>
              Message: 1<br>
              Date: Wed, 2 Sep 2015 10:32:43 -0500<br>
              From: LaRoy McCann <<a moz-do-not-send="true"
                href="mailto:lmccann@dtisp.com">lmccann@dtisp.com</a>><br>
              To: ARM Allstar <<a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a>><br>
              Subject: Re: [arm-allstar] software update status<br>
              Message-ID: <<a moz-do-not-send="true"
                href="mailto:55E7169B.2060009@dtisp.com">55E7169B.2060009@dtisp.com</a>><br>
              Content-Type: text/plain; charset=windows-1252;
              format=flowed<br>
              <br>
              David,<br>
              I am curious as to why I only notice this audio problem on
              the Pi2 and<br>
              not the BBB.<br>
              <br>
              I have a repeater running on each the Pi2 and the BBB and
              only the Pi2<br>
              repeater has this issue.<br>
              These two repeaters are linked together thru a wireless
              link full time.<br>
              I know there is a slight delay on the BBB from input audio
              to output<br>
              audio, but I have never been able to un-key fast enough to
              hear myself<br>
              on the BBB.<br>
              <br>
              Just seems odd that a faster processor has the problems.<br>
              I know the processor is a multi-core processor but my
              guess is that<br>
              everything still runs on one core and that one core is
              slower than the BBB.<br>
              <br>
              73's<br>
              LaRoy, K5TW<br>
              <br>
              On 9/1/2015 1:24 AM, David McGough wrote:<br>
              > Hi Bob,<br>
              ><br>
              > The variable audio delay issue is occasionally seen
              on PC-computer<br>
              > platforms, too, particularly with the simpleusb
              driver. This is NOT the<br>
              > audio delay that is unavoidable due to buffering as
              the audio samples pass<br>
              > through Asterisk. Nor is this issue related to the
              Asterisk jitter buffer,<br>
              > etc.<br>
              ><br>
              > Basically stated, the problem is that the input
              sample rate -dynamically-<br>
              > varies from the output sample rate. Depending on
              various factors, you may<br>
              > have too many samples, or too few, at any given
              moment. With the current<br>
              > code, the main issue seen is that too many output
              sound frames get queued,<br>
              > causing a frequently increasing in length input to
              output audio<br>
              > delay--sometimes with delays of maybe as much as one
              second (really<br>
              > annoying!). If there is an output buffer under-run,
              you hear a pop/click<br>
              > due to running out of samples.<br>
              ><br>
              > Initially, I suspected some kind of subtle bug in the
              simpleusb sound<br>
              > code. But, after experimentation, I've been able to
              easily duplicate this<br>
              > issue using my native ALSA stand-alone test software
              or even ALSA<br>
              > applications like arecord and aplay, etc.<br>
              ><br>
              > One solution to this problem is to use a dynamic
              buffer that effectively<br>
              > re-samples the audio, gently up-sampling or
              down-sampling, depending on<br>
              > the current trends for overrun or under-run.  I've
              got working software<br>
              > that accomplishes this now. And, it runs full-duplex
              beautifully for 24+<br>
              > hours with no change in audio delay and no logged
              clicks or pops.<br>
              ><br>
              > Hopefully, I'll get a few days time when I'm rested
              to focus on completing<br>
              > the integration of this code into simpleusb.  So far,
              I've had no time at<br>
              > all to complete this.<br>
              ><br>
              > But, hopefully soon.<br>
              ><br>
              > 73, David KB4FXC<br>
              ><br>
              ><br>
              ><br>
              > On Mon, 31 Aug 2015, kk6ecm wrote:<br>
              ><br>
              >> Couple of questions:<br>
              >><br>
              >> 1) Is this audio delay the same as experienced
              with ACID?<br>
              >><br>
              >> 2) What is the nature of the fix that reduces the
              delay?<br>
              >><br>
              >> Thanks,<br>
              >> Bob<br>
              >> kk6ecm<br>
              >><br>
              >> Sent from iPad<br>
              >><br>
              >><br>
              >>> On Aug 27, 2015, at 9:33 AM, David McGough
              <<a moz-do-not-send="true"
                href="mailto:kb4fxc@inttek.net">kb4fxc@inttek.net</a>>
              wrote:<br>
              >>><br>
              >>><br>
              >>> Hi LaRoy,<br>
              >>><br>
              >>> Progress has been slow in recent weeks, due
              primarily to family<br>
              >>> commitments that I've got. At this point, the
              update is waiting on me.<br>
              >>><br>
              >>> I am hopeful to minimally have a bug-fix
              interim release soon. The big<br>
              >>> item on the list being resolution for the
              variable audio delay.<br>
              >>><br>
              >>> I hope to have more details soon.<br>
              >>><br>
              >>><br>
              >>> 73, David KB4FXC<br>
              >>><br>
              >>><br>
              >>><br>
              >>>> On Thu, 27 Aug 2015, LaRoy McCann wrote:<br>
              >>>><br>
              >>>> Doug,<br>
              >>>> Just curious on how things are
              progressing with a new software update<br>
              >>>> for the PI2?<br>
              >>>><br>
              >>>> Thanks,<br>
              >>>><br>
              >>>> LaRoy McCann, K5TW<br>
              >>>><br>
              >>>><br>
              >>>><br>
              >>>><br>
              >>>> ---<br>
              >>>> This email has been checked for viruses
              by Avast antivirus software.<br>
              >>>> <a moz-do-not-send="true"
                href="https://www.avast.com/antivirus" rel="noreferrer"
                target="_blank">https://www.avast.com/antivirus</a><br>
              >>>><br>
              >>>>
              _______________________________________________<br>
              >>>><br>
              >>>> arm-allstar mailing list<br>
              >>>> <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              >>>> <a moz-do-not-send="true"
                href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar"
                rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
              >>>><br>
              >>>> Visit the BBB and RPi2 web page - <a
                moz-do-not-send="true" href="http://hamvoip.org"
                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://hamvoip.org">http://hamvoip.org</a></a><br>
              >>>
              _______________________________________________<br>
              >>><br>
              >>> arm-allstar mailing list<br>
              >>> <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              >>> <a moz-do-not-send="true"
                href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar"
                rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
              >>><br>
              >>> Visit the BBB and RPi2 web page - <a
                moz-do-not-send="true" href="http://hamvoip.org"
                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://hamvoip.org">http://hamvoip.org</a></a><br>
              >> _______________________________________________<br>
              >><br>
              >> arm-allstar mailing list<br>
              >> <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              >> <a moz-do-not-send="true"
                href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar"
                rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
              >><br>
              >> Visit the BBB and RPi2 web page - <a
                moz-do-not-send="true" href="http://hamvoip.org"
                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://hamvoip.org">http://hamvoip.org</a></a><br>
              >><br>
              > _______________________________________________<br>
              ><br>
              > arm-allstar mailing list<br>
              > <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              > <a moz-do-not-send="true"
                href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar"
                rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
              ><br>
              > Visit the BBB and RPi2 web page - <a
                moz-do-not-send="true" href="http://hamvoip.org"
                rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://hamvoip.org">http://hamvoip.org</a></a><br>
              ><br>
              <br>
              <br>
              ---<br>
              This email has been checked for viruses by Avast antivirus
              software.<br>
              <a moz-do-not-send="true"
                href="https://www.avast.com/antivirus" rel="noreferrer"
                target="_blank">https://www.avast.com/antivirus</a><br>
              <br>
              <br>
              <br>
              ------------------------------<br>
              <br>
              _______________________________________________<br>
              arm-allstar mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar"
                rel="noreferrer" target="_blank">http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</a><br>
              <br>
              <br>
              End of arm-allstar Digest, Vol 16, Issue 6<br>
              ******************************************<br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <br>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr"><br>
                  <i><span style="font-family:comic sans ms,sans-serif">Michael
                      Lussier AE4ML<br>
                      12615 Post Oak Road<br>
                      Spotsylvania VA 22551<br>
                      (540)207-4088<br>
                      <br>
                      "We must reject the idea that every time a law is
                      broken, society is guilty rather than the law
                      breaker.It is time to restore the American precept
                      that each individual is accountable for his
                      actions." ~ Ronald Regan<br>
                    </span></i><br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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 and RPi2 web page - <a class="moz-txt-link-freetext" href="http://hamvoip.org">http://hamvoip.org</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="https://www.avast.com/antivirus">
                                <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="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>