简体   繁体   English

用于音频重采样的库

[英]Library for audio resampling

In an embedded (Windows CE) C++ project, I have to resample an arbitrary sample-rate down (or up) to 44100 Hz. 在嵌入式(Windows CE)C ++项目中,我必须将任意采样率重新采样(或向上)到44100 Hz。

Is there a free and portable C/C++ library for audio resampling? 是否有用于音频重采样的免费便携式C / C ++库?

This page lists a bunch of options. 页面列出了一堆选项。

Formatted exert, for the records. 格式化的exert,用于记录。 Please check out the above link for important details and licence information: 有关重要细节和许可证信息,请查看上面的链接:

  • libresample and sndfile-resample (from libsamplerate ) (in the Planet CCRMA Distribution). libresamplesndfile-resample (来自libsamplerate )(在Planet CCRMA Distribution中)。
  • libsoxr , the SoX resampler library libsoxr ,SoX重采样器库
  • ssrc (from Shibatch) ssrc (来自Shibatch)
  • There is a project combining ssrc and sox 有一个项目结合了ssrcsox
  • New in 2016 is a Python (Cython) implementation: resampy 2016年的新功能是Python(Cython)实现: resampy
  • Brick (on Github ). (在Github上 )。
  • Smarc , available as a command-line program or C library. Smarc ,可用作命令行程序或C库。
  • The resample software package contains free sampling-rate conversion and filter design utilities written in C. 重采样软件包包含用C编写的免费采样率转换和滤波器设计实用程序。
  • Erik de Castro Lopo's "SecretRabbitCode" libsamplerate Erik de Castro Lopo的“SecretRabbitCode” libsamplerate
  • libresample based on `resample-1.7P libresample基于`resample-1.7P

  • libresample4j is a Java port of libresample . libresample4j是一个Java端口libresample

  • Open Source Audio Library Project (OSALP) contains a C++ class based on resample . 开源音频库项目 (OSALP)包含基于resample的C ++类。
  • The Speex speech coder/decoder. Speex语音编码器/解码器。
  • More at another large list of implementations and their relative performance. 更多在另一个大型实现列表及其相对性能。

Here's a code example using FFMpeg (avcodec) directly from C: 这是一个直接从C使用FFMpeg(avcodec)的代码示例:

http://tdistler.com/2010/07/22/audio-resampling-using-ffmpeg-avcodec http://tdistler.com/2010/07/22/audio-resampling-using-ffmpeg-avcodec

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM