Linux的工具,覆盖MP3文件在PHP中使用 [英] Linux tool to overlay MP3 files for use in PHP

查看:175
本文介绍了Linux的工具,覆盖MP3文件在PHP中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经没有成功为一种工具,将允许两个mp3文件也可以在彼​​此的顶部叠置搜索互联网。我有谁想要建立一个服务,允许有人来选择音乐曲目,并从文件列表的声音轨道,然后让他们一起玩的客户端。她的生意产生可视化的CD,我相信这将是最好的途径,因为她有数百可视化MP3脚本和大约30后盾音乐。这将允许动态这2个文件的合并和用于相对于在做对需求的手工作业它们被缓存。

I have been searching the internet with no success for a tool that will allow two mp3 files to be overlaid on top of each other. I have a client who wants to build a service that allows someone to select a music track and a vocal track from a list of files and then have them play together. Her business produces visualisation CD's and I believe this would be the best route as she has hundreds of visualisation mp3 scripts and about 30 backing music. This will allow the merging of these 2 files dynamically and for them to be cached as opposed to doing the manual work on demand.

我已经调查的ffmpeg和其他工具,但这些往往处理切割/分裂/合并等等,但我发现没有什么可以让我重叠在彼此顶部产生合并轨道的两个音轨。

I have investigated ffmpeg and other tools but these tend to handle cutting/splitting/merging etc, but I have found nothing that will allow me to overlay two audio tracks on top of each other to produce a merged track.

我想这将是完美的是沿着大胆的命令行版本线的东西。

I guess what would be perfect is something along the lines of a command line version of audacity.

推荐答案

安装袜,使用 - 合并开关

sox --combine {mix|merge|mix-power} track1.mp3 track2.mp3 output.mp3

使用 - 体积系数之前,输入文件名,即在后台继续:-)的背景音乐; SOX有很多其他选择,混合,匹配,编辑音频文件;你可以在这里在线找到手册页,提前检查,如果你想戈夫一试(你应该......)。

Use --volume FACTOR before an input file name to i.e. keep the background track in the background :-); sox has a lot of other options to mix, match, edit audio files; you can find the man page online here, to check in advance if you want to gove it a try (you should...).

这篇关于Linux的工具,覆盖MP3文件在PHP中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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