views:

62

answers:

3
+1  Q: 

Modify MP3 File

Hello,

I have an MP3 file uploader. I want to add an additional audio track to the file upon upload - via PHP. Is that possible?

Thanks in advance!

+5  A: 

I say "Yes, it's possible".

The following seems to make it seem almost trivial: "How to Merge / Concatenate MP3s with PHP"

Mark B.
+1  A: 

Hi

I found this class :

PHP MP3 Class

I hope it can help you.

SzamDev
A: 

(based on comments)

It's not possible, well not directly possible. Not with just PHP.

With PHP you could break up a Mp3 and insert your own little snippet into pauses, but it probably won't sound very good, and if I am thinking correctly will result in lowered audio quality.

To really achieve what you want you would need something inbetween to process the Mp3 files. More than likely it would be a Unix shell script attached to some program or library that can do this, executed by PHP.

Noctrine