since doing this with teletone is inefficient anyway, I added silence_stream (also in mod_tone_stream)
silence_stream://<ms>[,<noise level>]
eg
silence_stream://10000
will generate 10 sec of absolute zeros
silence_stream://10000,2000
will generate comfort noise for 10 seconds.
the noise level actually gets louder the closer it gets to zero so 2000 is softer than 1000 etc
Woof!
Actually, it isn't. It is quite audible on several phones I've played with (most likely due to the uLaw companding adding a "step" to each voltage, and poor analog filters on the phones), and it also has an RMS power value that is certainly not low energy.
On Wed, 09 Jul 2008 12:49:51 -0400, Anthony Minessale <anthony.minessale@gmail.com> wrote:
> you can try 1,1 instead of 0,0 which is still silent
I've tried lots of variations of power and frequency and have found nothing as truly silent as 0,8000 (or 0,16000 and 0,32000) I'm just worried that if we ever see a codec that isn't a multiple of 8Khz, it wouldn't be silence anymore.
--Woof!
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org