exten=>100,1,Set(PITCH_SHIFT(both)=1.5) ;
exten=>100,2,Playback(demo-thanks)
exten=>200,1,Set(PITCH_SHIFT(both)=1.5) ;
exten=>200,2,dial(SIP/rapidvox/18292363985)
https://wiki.asterisk.org/wiki/display/AST/Function_PITCH_SHIFT
PITCH_SHIFT()
Synopsis
Pitch shift both tx and rx audio streams on a channel.
Description
Examples:
exten => 1,1,Set(PITCH_SHIFT(tx)=highest); raises pitch an octave
exten => 1,1,Set(PITCH_SHIFT(rx)=higher) ; raises pitch more
exten => 1,1,Set(PITCH_SHIFT(both)=high) ; raises pitch
exten => 1,1,Set(PITCH_SHIFT(rx)=low) ; lowers pitch
exten => 1,1,Set(PITCH_SHIFT(tx)=lower) ; lowers pitch more
exten => 1,1,Set(PITCH_SHIFT(both)=lowest) ; lowers pitch an octave
exten => 1,1,Set(PITCH_SHIFT(rx)=0.8) ; lowers pitch
exten => 1,1,Set(PITCH_SHIFT(tx)=1.5) ; raises pitch
Syntax
PITCH_SHIFT(channel direction)
Arguments
channel direction
- Direction can be eitherrx
,tx
, orboth
. The direction can either be set to a valid floating point number between 0.1 and 4.0 or one of the enum values listed below. A value of 1.0 has no effect. Greater than 1 raises the pitch. Lower than 1 lowers the pitch.
The pitch amount can also be set by the following valueshighest
higher
high
low
lower
lowest
No hay comentarios:
Publicar un comentario