Audio Libraries for MP3 editing
Solution 1
I ended up using ffmpeg
Solution 2
You could try NAudio - There would be a bit of programming required to do this but basically it would be along the lines of using NAudio to decode the MP3 first. Then passing the wave file to fade in (turn up the volume) at the time required and fade out (turn down the volume) when required. If your going to pass this to a client in a format other than wave you would then need to re-encode this file.
Solution 3
There is a better option, that would be the BASS Library. http://un4seen.com/bass.html it has a dedicated forum and does DSP like fade/compressor/EQ, etc. Plus you can read a bunch of different audio formats. It has C# and vb.net support.
Solution 4
You can use winmm.dll
library.
marcgg
Trying to build useful software. Find me on twitter or give my blog a read!
Updated on June 04, 2022Comments
-
marcgg almost 2 years
In one o f my projects using ASP.NET + C# I want to be able to dynamically create 30 seconds clip of MP3 files and add a fade in/out.
What library would you recommend?
I saw there are a lot, including:
http://www.alvas.net/alvas.audio.aspx
Have you ever had to deal this? What library worked the best for you?
Anything will help including free/priced software that I could call from my C# application or any kind of C# compatible library.
-
marcgg almost 15 yearsdo you have more information regarding this?
-
RG. almost 15 yearsTake a look -> codeproject.com/KB/audio-video/Audio_Player__with_Winmm.aspx Regards
-
marcgg almost 15 yearsCan this do fading/croping ? It doesn't look like it
-
marcgg almost 15 yearsThanks. It looks nice, but it's really expensive!
-
RG. almost 15 yearsThis is the link to the reference guide: webtropy.com/articles/art9-2.asp?lib=winmm.dll If you can adapt this to your needs,it's ok... But you must write some code, to control volume and time to play. Regards, RG
-
Rick Rat almost 15 yearsIt's like $100 or less. not too bad. Plus it does a lot of cool sh#t!
-
Olli over 14 yearsIf it's just for private use, the library is free. (Don't know if your project is commercial or not)