Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library for samplerate conversion of audio data?

What is a good Delphi library for samplerate conversion of audio data? I don't mind paying for something.

I need to upsample and download sample audio in realtime. I understand the theory but don't want to write my own routines.

EDIT: Bonus points for something with Mac support.

like image 334
Shannon Matthews Avatar asked Jan 02 '12 06:01

Shannon Matthews


5 Answers

You can check the unit "DAV_DspUpDownsampling.pas" in the Delphi Asio Vst Project. Although I've never used it I'm sure it would fill your needs.

like image 84
az01 Avatar answered Oct 19 '22 00:10

az01


Use SoX - the Swiss Army knife of sound processing. Very easy to use.

It is a command line tool not a Delphi library so to use from Delphi you need to execute a shell command and get the result with in your code. I have used it with PHP.

SoX is a cross-platform (Windows, Linux, MacOS X, etc.) command line utility that can convert various formats of computer audio files in to other formats. It can also apply various effects to these sound files, and, as an added bonus, SoX can play and record audio files on most platforms.

SoX is very mature project! Here is the link: http://sox.sourceforge.net/

like image 37
Ivelin Avatar answered Oct 19 '22 01:10

Ivelin


Dew Research's DSP Master could be an option for you.

like image 22
Narcís Calvet Avatar answered Oct 19 '22 01:10

Narcís Calvet


Maybe Mitov software has components you can use

like image 1
Jan Doggen Avatar answered Oct 18 '22 23:10

Jan Doggen


I use newAc in quite a few projects. It can do sample rate conversion.

The best news: It is free (also for commercial use)

like image 1
whosrdaddy Avatar answered Oct 19 '22 00:10

whosrdaddy