Forums

Full Version: Resample audio from 44.1 to 48 KHz
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

coolducky

Hi there,

First of all I want to say that the Mitov tools are great and make things a lot easier.

But: There is one thing I can't get to work... I want to build a Delphi tool that can open an audiofile (e.g. mp3, 44.1 KHz) and convert it to mpeg2-audio, 48 KHz.

I do have an mpeg2-audiocodec, I can convert to it in 44.1 KHz., but I can't get it working right with resampling.

I know a little bit about Directshow and C++ and in that I used an ACM wrapper to do the resampling. But in Delphi with Audiolab it doesn't work right (stuttering audio and pitch too high).

As a source I use ALDSAudioplayer, destination ALRawLogger (also tried ALDSAudioLogger) with compression set to my MPEG2-audio codec. (I also tried Lame MP3 to see if I could get a working 48KHz mp3, but same the result). In between I tried ALRepack, ALDSAudiofilter, etc.

Any ideas on how to resample audio the right way?

Thanks! Paul

Dave

Hi! Tried the ALRepack component already?

Regards,
Dave
Reference URL's