AMR Audio Stream Playback

I have been using a PCM audio stream to play back hard coded audio data. I would like to use AMR instead but any documentation I can find from SW is rather vague on the particulars.

AMR Data Structure:
I am creating the audio data on my computer and saving it as a .AMR file at 12.2kbps sample rate (certainly beats 128kbps PCM). If I understand it correctly, I need to pull each frame from the .AMR file and strip off the first byte of each frame (which is the frame header) and then convert the binary to a u8 lookup table.

AMR Stream Playback:
I would then start the audio stream and feed the buffer one frame at a time until the end of the “file”.

First question: Is all that correct?
Second question: What the bleep is the mixed voice audio option?

Thanks y’all.

  1. You must keep the first CHAR(0x3c), it’s the AMR frame flag at that code-speed.and the frame-length should be 0x20 bytes.
    AMR file structure is simple: File head(6Bytes)+many many FRAMS(according to code-speed,frame char,frame length are fixed), more simple than MP3/WAV :stuck_out_tongue: .
  2. Data feed should use LowIrqHandlerOfPlay, In my situation,I did as that. but, I found sometimes some frames lost(In another device, I traced the stream Listened).How about yours?
    Happy that my words would help others.

Hello,

To play an AMR file, you should:

  • Set ADL_AUDIO_AMR_SPEECH_CODEC_RATE to the codec rate.
  • Set ADL_AUDIO_AMR_BUFFER_SIZE to the size of your file; this size is the AMR file size minus 6 if AMR-NB, minus 9 if AMR-WB.
  • And then call adl_audioStreamPlay.
    This way, it is not needed to split the file into several chunks of audio samples.
    The ADL interrupt IRQ low level handler will be called only 1 time, once the whole file would have been played.

Regards,
flu.

According to the ADL User Guide:

This RFC leaves out any mention of a frame header which is present in an AMR file. Therefore, it appears that the correct process would include stripping the first byte of each speech-data frame which is the frame header in the AMR file. Also, we are just sending audio data, so we strip the file header (6-bytes for AMR-NB) as well.

flu, you mention setting the AMR_BUFFER_SIZE. The ADL User Guide states the following:

The “R:” meaning that it is a read-only parameter, but it seems fairly obvious that this is a typo and it should be set. This is different than playing back PCM audio as the PCM BUFFER_SIZE parameter is read-only. I like the idea of setting the BUFFER_SIZE to the entire audio data size. Certainly is much less overhead as long as I have the RAM.

I don’t like the idea of just “ignoring” the frame header byte and including it with my audio data because wouldn’t that throw off the frame alignment? The BUFFER_SIZE must be set to a multiple of the speech frame size, and the AMR codec is expecting a very specific number of bytes per frame, and if you have one extra byte per frame stuck in there, bad things might happen. Am I wrong about this?

I do wish that Sierra Wireless would do a little better with their documentation. It is often vague and sometimes downright wrong.

Hello,

I think the typo has been fixed in recent ADL User Guide.

Hereafter is given an example of AMR stream to be input to ADL Audio; it is working fine on my side.
The rate is ADL_AUDIO_AMR_RATE_12_20. As this rate is constant in my use case, only one header has to be removed ("#!AMR\n" = 23 21 41 4d 52 0a in hexa).

Regards,
flu.

const u8 AMR_Samples_ringing_tone[] = {
/*0x23, 0x21, 0x41, 0x4d, 0x52, 0xa, */
0x3c, 0xb1, 0x27, 0x3e, 0xf8, 0x3a, 0x61, 0xc7, 0xec, 0xef, 0x80,
0xdf, 0xf5, 0x64, 0x54, 0x71, 0x80, 0x0, 0x5b, 0xfd, 0x32, 0x63, 0xf2,
0x2c, 0x0, 0x1, 0xb7, 0xff, 0xe9, 0x47, 0x5b, 0x10, 0x3c, 0xe0, 0x6f,
0x5d, 0xb5, 0x33, 0x41, 0x83, 0x9e, 0x42, 0x81, 0x3c, 0xad, 0x26, 0x8d,
0xf5, 0x20, 0xc6, 0x67, 0xa1, 0x9e, 0x1f, 0x12, 0x74, 0x77, 0x63, 0xbe,
0x8a, 0xc4, 0xaf, 0x69, 0x0, 0x3c, 0x54, 0xed, 0x29, 0xe3, 0xb9, 0x9e,
0xb, 0x5e, 0xb, 0x81, 0xff, 0x1f, 0xe6, 0x2b, 0x91, 0x88, 0x93, 0x58,
0xdc, 0xf3, 0x73, 0xa5, 0xd7, 0x90, 0x46, 0x12, 0x30, 0x99, 0x9, 0xe2,
0xd0, 0x3c, 0x8, 0x72, 0x78, 0xcf, 0x51, 0x36, 0x19, 0x7e, 0x1d, 0x5,
0x8a, 0x51, 0xbe, 0x17, 0xa4, 0xe4, 0x78, 0x64, 0xc7, 0xb7, 0x95, 0xcf,
0x85, 0x50, 0x5d, 0xbd, 0x4c, 0x84, 0xf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