<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Most calls are at 8kHz. The formula for bandwidth is sampling rate * bit rate * channels, so 8000 * 8 * 1 = 64000 = 64kbps (per way).<div><br></div><div>Math</div><div><br><div><div><div>On 18-Jun-09, at 1:01 PM, Andy wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2">Thanks Brian, </font></span></div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2">So, just to calrify will the base call always be 8kHz? </font></span></div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2">On a related note, do you happen to know the bitrate of each open channel/live call? Is it 16 kilobits per second like the recorded audio? I need to do some calculations on the badwidth required to handle a certain number of concurrent calls.</font></span></div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2">Many thanks</font></span></div> <div dir="ltr" align="left"><span class="921495717-18062009"><font face="Arial" color="#0000ff" size="2">Andy</font></span></div><br> <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Brian West<br><b>Sent:</b> 18 June 2009 18:11<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> Re: [Freeswitch-users] Sample rate and recordFile<br></font><br></div> <div></div><br> <div> <div>On Jun 18, 2009, at 11:54 AM, Andy wrote:</div><br class="Apple-interchange-newline"> <blockquote type="cite"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0"> <div dir="ltr" align="left"><span class="359422916-18062009"><font face="Arial" color="#0000ff" size="2">1) I notice that when I change the sample rate it automatically changes the bit rate too. I understand why this is the case but wondered if it was just as easy to be able to control the bitrate as well as the sample rate.</font></span></div></span></blockquote> <div><br></div> <div>If you're talking about mod_shout, NO. You'll end up picking an invalid bitrate and asking why it doesn't work... been there done that... I changed it a few months back to pick the optimal bitrate for the sample rate.</div><br> <blockquote type="cite"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0"> <div dir="ltr" align="left"><span class="359422916-18062009"><font face="Arial" color="#0000ff" size="2">2) When I use a sample rate other than 8000 I get a warning 'Sample rate doesn't match'. I guess this puts some extra load on the server. If all my calls are being recorded and all at 11025 can/should I alter the sample rate of the base call to 11025?</font></span></div></span></blockquote></div><br> <div>NO. Your phone call is running at 8kHz, Your sound file is 11025 and they don't match, If you were to play this file into an 8k channel without a resample it would sound a little like satan. or a dragging tape deck. The file has to be resampled to match the current session rate. </div> <div><br></div> <div>/b</div> <div><br></div></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>