This project has moved and is read-only. For the latest updates, please go here.

Audio Watermarking

Apr 4, 2016 at 2:06 PM

I would like to use naudio to add audio water mark on some mp3 files. Can you please help me with the approach i should take to achieve this.

Apr 5, 2016 at 11:08 PM
NAudio does not support the modifying of mp3 files for metadata, watermarks, tags or frame.

It just uses external codecs to play the audio frames inside.
Apr 6, 2016 at 1:02 PM
Edited Apr 6, 2016 at 1:19 PM
Can you suggest any other library that do that, using .Net and C#. I would greatly appreciate your help.

Btw what i am trying to achieve is, having two mp3 files. A is short file and B is long file. I want to merge them and save them as single mp3 file, So when it plays, you can hear both of them. Its like Narration with background music.
Apr 7, 2016 at 12:28 AM
Edited Apr 7, 2016 at 12:29 AM
The only way i know, is to mix two mp3 files with wav as step between:
Mp3Reader A ->ToSampleProvider -|
                                |->MixingSampleProvider -> Wave Writer -> Mp3 Encoder
Mp3Reader B ->ToSampleProvider -|
NAudio offers all that functionality, except the Mp3 Encoder.
Apr 15, 2016 at 12:22 PM
Hey Free Fall,

Thanks for such input, can you please provide me with some code. I would be very thankful.