DSPRelated.com
Forums

Identify low energy AMR frames

Started by nir elkayam September 1, 2008
hi,

I am using AMR 4.75 and AMR 5.15 for Voip application over very small
bandwidth line.
I would like to identify low enery frame I order to Skip over them on
transmition.
I'am using black box encoder/decoder so I can't get to the raw voice.

Is there any indication of frame enrgy?

how, in general can energy be built?
can I assume that the gain composed of the filter gain and the excitation
gain?

any other Idea on how to calculate an approximation of the gain?
thanks,
nir
Nir Elkayam-

> I am using AMR 4.75 and AMR 5.15 for Voip application over very small
> bandwidth line.
> I would like to identify low enery frame I order to Skip over them on
> transmition.
> I'am using black box encoder/decoder so I can't get to the raw voice.

Are AMR output frames stand-alone; i.e. independent of each other? My understanding is this is not the case, that
some parameters are interpolated between frames, which would mean that skipping output frames could have a degrading
effect on voice quality.

-Jeff

> Is there any indication of frame enrgy?
>
> how, in general can energy be built?
> can I assume that the gain composed of the filter gain and the excitation
> gain?
>
> any other Idea on how to calculate an approximation of the gain?
Hi nir,

In my opinion, you should able the DTX mode in the encoder command line if
you want to skip some low energy frame. DTX mode will transmit only small
bits to the decoder. So the average bitrates will be lower than single mode.
And there is almost no degradation happens. Hope this information will help
u.

Dejun

_____

~{7"<~HK#?~}: s... [mailto:s...]
~{4z1m#?~} nir elkayam
~{7"KMJ1 ~{JU<~HK#?~}: s...
~{VwLb#?~}: [speechcoding] Identify low energy AMR frames

hi,

I am using AMR 4.75 and AMR 5.15 for Voip application over very small
bandwidth line.
I would like to identify low enery frame I order to Skip over them on
transmition.
I'am using black box encoder/decoder so I can't get to the raw voice.

Is there any indication of frame enrgy?

how, in general can energy be built?
can I assume that the gain composed of the filter gain and the excitation
gain?

any other Idea on how to calculate an approximation of the gain?

thanks,
nir
That is VAD detection, you need to check from vocoder if there is voice activity. For wireless application in DTX mode, there are some extra code set like SID_UPDATE/SID_ONSET etc which will udpate the background noise level and handshake the voice/silence period transition. The degradation is small.

Yueheng
--- On Mon, 9/1/08, 张德军 wrote:

> From: 张德军
> Subject: Re: [speechcoding] Identify low energy AMR frames
> To: "'nir elkayam'"
> Cc: s...
> Date: Monday, September 1, 2008, 8:33 PM
> Hi nir,
>
> In my opinion, you should able the DTX mode in the encoder
> command line if
> you want to skip some low energy frame. DTX mode will
> transmit only small
> bits to the decoder. So the average bitrates will be lower
> than single mode.
> And there is almost no degradation happens. Hope this
> information will help
> u.
>
> Dejun
>
> _____
>
> 发件人?: s...
> [mailto:s...]
> 代表? nir elkayam
> 发送时间?: 2008年?9月?1日? 20:16
> 收件人?: s...
> 主题?: [speechcoding] Identify low energy AMR frames
>
> hi,
>
> I am using AMR 4.75 and AMR 5.15 for Voip application over
> very small
> bandwidth line.
> I would like to identify low enery frame I order to Skip
> over them on
> transmition.
> I'am using black box encoder/decoder so I can't get
> to the raw voice.
>
> Is there any indication of frame enrgy?
>
> how, in general can energy be built?
> can I assume that the gain composed of the filter gain and
> the excitation
> gain?
>
> any other Idea on how to calculate an approximation of the
> gain?
>
>
> thanks,
> nir
>
>
>