The Adaptive Multi-Rate audio codec or AMR for short is a patented audio data compression scheme optimized for speech coding.
Questions tagged [amr]
140 questions
0
votes
1 answer
iOS, Downloader amr video with NSData. How to play?
iOS4+ is not support to play amr video, I downloaded the amr video with NSData,
used third party source to convert amr to wav, but it does not succeed.

liuchendi
- 11
- 1
0
votes
1 answer
How to record audio in objective c for iphone app in .amr format?
I have used following code to record audio. It works perfectly for .caf format.
dirPaths = NSSearchPathForDirectoriesInDomains(
NSDocumentDirectory, NSUserDomainMask, YES);
docsDir = [dirPaths…

hardik hadwani
- 556
- 6
- 24
0
votes
1 answer
How to populate AudioStreamBasicDescription for AMR playback
source data is AMR-NB 5.9kbit/s (AMR_5.90)
I've tried the below settings (and a dozen variations) but I'm getting nothing more than garbage audio. Does anyone know the correct settings for AMR?
AudioStreamBasicDescription asbd;
asbd.mSampleRate =…

Peter
- 398
- 3
- 20
0
votes
2 answers
ndk-build how to build opencore-amr
I want to use opencore-amr native code in android jni.
but i don't know how to write Android.mk file.
can anyone tell me how?
I want to call the following function in opencore-amr lib:
AMREncodeInit
AMREncode
AMREncodeExit
I download opencore-amr…

kvh
- 2,118
- 19
- 29
0
votes
1 answer
AVAudioPlayer returns wrong duration for audio file
I'm trying to play an audio file in my app, and I want to show progress of playing file.
The file completely plays but I can't get correct duration of file to display. The returned value is considerably lower than the actual duration. For example it…

Sepehrom
- 1,335
- 2
- 16
- 33
0
votes
2 answers
Differentiate between Silence frame of AMR NB and AMR WB speech codec?
If I am getting the payload bits, comfort noise parameters only, Is there any way I can differentiate to which codec AMR NB and AMR WB speech codec these bits belong to?

Manish Kumar
- 1,419
- 3
- 17
- 36
0
votes
1 answer
AMR frame size calculation
I have the below, snippet of code which puts an .amr file into a byte array.
I know how to get the bit rate from the header as shown below. So Assuming the bit rate is 7.95, what is the formula to use to calculate the frame size? Thanks.
public…

cube
- 1,774
- 4
- 23
- 33
0
votes
0 answers
Find AMR silent packets
I am using opencoreamr library in a real-time project.I see that the library has a kind of VAD functionality which makes the noise packets silence.I want to distinguish the noise packets from voice ones which decode to the silence packets.How can I…

harsini
- 326
- 2
- 14
0
votes
2 answers
how to decode amr files using c#.net
I need to decode amr format to pcm format, which is later converted to mp3 using c#.net. But I am hardly finding any library to do so. It seems with NAudio it is not possible. Is there any c# based open source library which can be used to decode…

sainath sagar
- 499
- 2
- 10
- 28
0
votes
1 answer
How to play amr file in Windows Phone 8?
From what I read, WP8 does support amr
However, I don't know how to play it.
When using SoundEffect, I can't hear anything, maybe it's because SoundEffect supports wav only. Someone already asked here.
I don't want to use BackgroundAudioPlayer or…

onmyway133
- 45,645
- 31
- 257
- 263
0
votes
0 answers
MediaRecorder and ParcelFileDescriptor.createPipe()
My task is to record audio for a long time and send three second files to server for recognition text(I use google for that). If I write directly to file, then I need to reinitialize my recorder to start new file an this takes a lot of time to start…

earsonheart
- 1,042
- 2
- 12
- 25
0
votes
1 answer
can't play file from .net server with AMR narrowband H.264 encoding
AMR narrowband is the default audio encoding for videos captured in Android 2.1
When I upload this to my server and try and view it either in the chrome webbrowser on my mac or streaming from my iPhone it does't play (it does play in quicktime if…

Scott Chamberlin
- 724
- 2
- 8
- 23
0
votes
1 answer
Playing back 3gp audio recorded in Android Cordova elsewhere
I would like to be able to record audio on a mobile device, in a Cordova app, then play it back on desktop computers in web applications. However, I'm running into some nasty codec issues.
According to the Cordova docs:
Android devices record audio…

Nathan Breit
- 1,661
- 13
- 33
0
votes
0 answers
Android AMR-WB audio recording
I'm trying to make audio recording in such a way:
mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); …

Lampapos
- 1,063
- 1
- 12
- 26
0
votes
1 answer
Playback for AMR file format
When I try to play the track with AMR file format. It throws a warning
Permission failure: android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK
and error from libOpenSLES
AudioSfDecoder::onPrepare: Could not find a supported audio track.
I tried setting…

Swetha Setty
- 11
- 5