Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: IMA ADPCM encoding (Read 13309 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

IMA ADPCM encoding

Hi, I recently acquired a cheap chinese MP3 Player with voice recording/encoding capability.

The max voice quality you can get from this is "IMA ADPCM 16bit 32kbps mono".

I downloaded some voice encodings from the player and opened them with Adobe Audition, edited useless parts and saved as the same format.

There is supposedly a re-encoding process going on, but I can´t notice any quality degradation. I really don´t want to save to plain PCM because, correct me if I´m wrong, the files would be 4 times bigger (I already tried with approximately 4x size increase).

What would you do to preserve as much quality as possible without increasing the size (I mean keeping it around the same bitrate)?

Thanks.

Edit: it was actually 32kbps


IMA ADPCM encoding

Reply #2
I'm, making something similar to Megaman, but I can reach also 128kbps.

I don't have Audition. So I'm searching a free program that can cut IMA files without recompress them, like that excellent prog I use for cutting mp3: Mp3DirectCut.

Also I'm not sure I understand why you don't loose quality on recompress IMA while you will have if you recompress mp3 or other lossy codecs.

 

IMA ADPCM encoding

Reply #3
If you crop a .jpeg file, you'll have to recompress. You'll lose quality. On the other hand, if you crop a 255 colour .gif file, you still have to recompress, but you won't lose quality.

ADPCM is a bit like .gif; quantization will be lossy but the storage is lossless.


IMA ADPCM encoding

Reply #5
jmvalin mentioned something about ADPCM on the ogg-dev mailing list at xiph.org.

On 11/14/05, he wrote:

<snip>

> but with ADPCM, you
> can't just play with the file, decode, re-encode and still have the same
> result unless you don't change anything anywhere in the file.

I don't know enough about ADPCM to comment, though, and I would be glad if someone more knowledgable than I am would offer some insight.

IMA ADPCM encoding

Reply #6
If all you're doing is splicing, you wouldn't lose any quality except at boundaries. I think you can safely ignore that.


why do you think so ?
After all, if you just split/truncate mp3 files, you definitely LOSE quality IF there is re-encoding taking place. (Only some special mp3-editors can split/truncate without re-encoding!)

IMA ADPCM encoding

Reply #7
Most algorithms referred to as ADPCM work on a sample by sample basis. So you can splice without much surprise in any "leaky adaptation", "leaky predictor" kind of ADPCM, i.e. any kind of Goodman-Gersho or later, as opposed to the original Jayant, et al. quantizer.
-----
J. D. (jj) Johnston