English 中文(简体)
将两个音频文件与命令行工具合并
原标题:combine two audio files with a command line tool

I ve to merge two (or more) audio files (like a guitar and a drum track) into a single file. I m running over linux CentOS and I d need a command line tool to do so, because I ve got to run this as part of a background process, triggered via crontab of a custom bash script. I also need to be able to change the pan, volume, trim and start time (i.e I want the guitar track to start after 1.25ms after the drum track so that they can be both in sync with each other).

我的第一个选择是fmpeg, 但我在想,如果有比ffmpeg更具体、更可靠、更模糊的东西。

thx a ton! -k-

最佳回答

我不知道索克斯能否完成所有的工作(启动时间), 但我认为: < a href="http://sox.sourceforge.net/" rel="nolfollow" >http://sox.soursforge.net/

当然,这将是我的"goto"工具, 而不是写我自己的。

问题回答

< a href=> "http://sox.sourceforge.net/" rel="no follow" >Sox 是这样做的最佳方法。 您的命令如下:

sox -M guitar.wav drum.wav final.wav




相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签