Get a text with timestamps from AMR files

By the Potok teamUpdated ~2 min read

A call recorded as AMR can become a text with timestamps: send it to Potok in Telegram, 1 file at a time. Long silence on hold still occupies its place on the timeline, so expect gaps between stamps. Match 2 lines to the recording to confirm.

Get the text of your recording

Open @potok_now_bot in Telegram, attach the recording and wait: the transcript arrives as a message in the same chat.

Open @potok_now_bot in Telegram

Up to 2 GB per file · speaker labels and timestamps · six export formats · about 30 languages

Key facts

  • Android lists AMR-NB in 3GPP (.3gp) and AMR (.amr) files at 4.75 to 12.2 kbps sampled at 8 kHz.
  • AMR-NB has eight modes with bit rates between 4.75 and 12.2 kbps.
  • AMR speech encoding works on 20 ms frames of 160 samples at 8 kHz.
  • Send .amr files up to 2 GB as they are: Potok decodes them without a separate conversion.

AMR at a glance

PropertyValue
KindSpeech codec for mobile phones
File extensions.amr, .awb
What it holdsAdaptive Multi-Rate speech: AMR-NB (.amr) and AMR-WB (.awb)

How to get timestamps for AMR files

  1. Send the AMR file to the bot. In Telegram, open @potok_now_bot and attach the .amr file to the chat. Larger recordings, up to 2 GB, go through the Upload button in the bot's mini app.
  2. Mind this about the format. AMR speech encoding works on 20 ms frames of 160 samples at 8 kHz.
  3. Switch on timestamps. Open the other-format options under the result, turn on timestamps (speaker labels can be added there too) and check three marks against the sound.
  4. Prepare this format. AMR is a narrowband speech format sampled at 8 kHz, so the sound is flat; check the first minute of the result.

What time marks look like

Example of a transcript with timestamps

[00:00] Speaker 1: Hey, I'm running late, the bus is stuck.

[00:12] Speaker 1: Start the movie without me, I'll catch up.

[00:31] Speaker 1: Save me a seat near the door.

[00:58] Speaker 1: I will pick up the kids from school this afternoon.

Lines written by us to show the layout. They are not output from a real AMR file.

What you get with Potok
OptionWhat it means
Size limit2 GB per file
TranslationNo translation: the text stays in the language of the recording
DigestPress the summary button under a finished transcript for a short digest
What you can sendVoice messages, audio and video
Typing by voiceThe separate desktop app of Potok dictates into any program; it recognises Russian speech

Where AMR files go wrong

Where things go wrong
SlipResultRemedy
Expecting AMR stamps in sample countsFrames are tiny, so counts are useless for finding a lineUse the minutes and seconds in the text
Sending an AMR call with long silence on holdStamps jump across empty parts and look confusingTrim the hold time or ignore the silent gaps
Converting AMR to another format between stepsThe converted file may start a little later, shifting stampsUse the transcript with the same AMR you sent
Removing silent gaps from stamps to make the text shorterTimeline no longer matches the call you recordedLeave the stamps as given and only shorten the wording

Where to look next

Need a converter or a calculator? Open the tools. Unsure about a term? Check the glossary. Apps are on the download page.

Questions and answers

Does Potok accept AMR files?

Yes. The bot accepts .amr files up to 2 GB, so no conversion is needed first.

Do the time marks depend on the AMR format?

The marks point to a place in the recording so you can find it again. Check a few against the sound before you quote them.

Which apps and devices create AMR files?

Android MediaRecorder offers an AMR_NB output format (Android MediaRecorder AMR_NB).

Sources

The dates show when each source was opened. Pages are edited over time; read the original before you rely on a detail.

  1. RFC 4867: RTP payload format and file storage format for AMR and AMR-WB, IETF · checked
  2. Supported media formats, Android Developers · checked

Check it on a file of your own

Send your voice message, audio or video to @potok_now_bot on Telegram and the text comes back in the chat.

Go to @potok_now_bot in Telegram