Algorithm for converting PCM to IMA ADPCM?

白昼怎懂夜的黑 提交于 2019-12-11 12:39:42

问题


I have an algorithm for decompressing IMA ADPCM from http://wiki.multimedia.cx/index.php?title=IMA_ADPCM, but no way to re-compress it back to IMA ADPCM. Is there a simple pseudo code description, or do I have to reverse engineer it from the decompression algorithm?

I'm doing this because I'm writing a server that needs to receive audio, merge the audio tracks together, then send it back out.

Thanks for any help.


回答1:


Oops...

I did look around a bit and even found my way to this question: What is the algorithm of converting pcm to adpcm?. And to the site that held the answer for both questions: http://www.cs.columbia.edu/~hgs/audio/dvi/.

But I was too frustrated with looking through so many pages and documents that I gave up looking when I couldn't find the page.

But I found it. Pages 31-35 give the algorithm and a examples of running through it.



来源:https://stackoverflow.com/questions/4917346/algorithm-for-converting-pcm-to-ima-adpcm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!