将PCM转换为IMA ADPCM的算法? [英] Algorithm for converting PCM to IMA ADPCM?

查看:170
本文介绍了将PCM转换为IMA ADPCM的算法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一种算法,可以从 http://wiki.multimedia.cx解压缩IMA ADPCM/index.php?title=IMA_ADPCM ,但无法将其重新压缩回IMA ADPCM.是否有一个简单的伪代码描述,还是我必须从解压缩算法对其进行逆向工程?

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.

感谢您的帮助.

推荐答案

糟糕...

我确实环顾了一下,甚至找到了解决这个问题的方法: http://www. cs.columbia.edu/~hgs/audio/dvi/.

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.

但是我找到了. 第31-35页提供了算法以及运行该算法的示例.

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

这篇关于将PCM转换为IMA ADPCM的算法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆