the sign of a voice frame in the AMR codec
avwiseav at gmail.com
Fri Jul 13 00:25:52 UTC 2012
firstly, you must Determine how your network code，whether it is EFR or AMR,
it is Very different.
secondly, I correct myself, the 8 indication is not fully true, it depend
I read the GSM0509, found this, I hope it can be use to you :
3.2.1 Frequent inband signalling for AMR codec mode adaptation
22.214.171.124 General aspects
The codec mode information, which has to be transmitted on each link,
consists of Codec Mode Indications and Codec Mode Commands in the downlink,
respectively Codec Mode Indications and Codec Mode Requests in the uplink.
Codec Mode Indications inform the receiver about the currently applied codec
mode. Codec Mode Commands inform the other end about the codec mode to be
applied on the other link. Codec Mode Requests inform the other end about
the preferred codec mode on the other link.
Codec mode information is transmitted inband in the speech traffic channel,
using a part of its transmission capacity. The coding of codec modes in the
inband signalling is given in subclause 3.4.1. Channel coding of codec mode
information is specified in GSM 05.03  for all frame types.
Codec modes are constrained to change only every second speech frame. Codec
Mode Commands/Requests and Codec Mode Indications are sub-sampled such that
they occur only every second frame. Codec Mode Indications and Codec Mode
Commands/Requests shall be transmitted alternating within consecutive speech
Both, Codec Mode Indication and Codec Mode Command/Request, shall be
transmitted together within every RATSCCH frame.
126.96.36.199 Transmitter/Receiver Synchronisation
The alternating transmission of the codec mode information requires
synchronisation of transmitting and receiving ends, such that Codec Mode
Indications and Codec Mode Commands/Requests are decoded in correct order.
To ensure proper synchronisation, the codec mode information shall be
transmitted aligned to the 26‑multiframe structure of the GSM system.
For TCH/AFS, the default transmission phase shall be such that Codec Mode
Indications are sent with speech frames having their first burst sent on
TDMA frames 0, 8, 17 (modulo 26) in the uplink and TDMA frames 4, 13, 21
(modulo 26) in the downlink as defined in GSM 05.02 . For TCH/AHS, the
default transmission phase shall be such that Mode Indications are sent with
speech frames having their first burst sent on TDMA frames 0, 8, 17 (modulo
26) or 1, 9, 18 (modulo 26) depending on the subchannel in the uplink and
TDMA frames 4, 13, 21 (modulo 26) or 5, 14, 22 (modulo 26) depending on the
subchannel, in the downlink, as defined in GSM 05.02 .
This default phase of the Codec Mode Indication in downlink direction is
called "odd", the alternative phase, one speech frame shifted, is called
"even". The phase in uplink is always the same and is never changed.
At call set-up, after every successful handover and after a channel mode
modify with consistent Multirate IE, the default phase (odd) shall be used
in downlink direction. During a call, the phase of Codec Mode Indication may
be changed in downlink by using a RATSCCH message. In case of handover
failure and fall back to the BTS before the handover attempt, the phase
before the handover attempt shall be used again (except if a RATSCCH
procedure is pending, see section 188.8.131.52 bullet 6).
View this message in context: http://baseband-devel.722152.n3.nabble.com/the-sign-of-a-voice-frame-in-the-AMR-codec-tp4025161p4025174.html
Sent from the baseband-devel mailing list archive at Nabble.com.
More information about the baseband-devel