[Freeswitch-users] Getting real-time amplitude of a channel

Michael Collins msc at freeswitch.org
Wed Mar 14 22:30:35 MSK 2012


AFAIK there isn't anything pre-rolled that you can use. However, I know
that Tony's auto gain control (agc) logic checks the "volume" level coming
in on a channel. You might be able to look in mod_conference.c and see
where the agc calculates the incoming volume level and write an API that
displays that value.

I'd start by looking at the function check_agc_levels() and for references
to member->agc_volume_in_level. Hopefully that will give you a place to
start.

-MC

On Wed, Mar 14, 2012 at 10:26 AM, Matt Stockton <mstockton at harqen.com>wrote:

> Hi all,
>
> I am interested in providing a visualization of a channel in a conference.
> I am able to process the start talking and stop talking events from the
> conference, but I'm wondering, has anyone done anything that can get the
> real-time amplitude of a channel? I didn't see any built-in API commands to
> do this, but wondering if there's any modules or something else that I'm
> overlooking?  Or maybe now is the time for me to dig into the API
> documentation?
>
> Just curious if anyone has done something like this before, and if so, if
> you could guide me in the right direction.
>
> Thanks!
> Matt
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120314/a3dfda42/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list