How to split an mp3 file into smaller files?

I want to make a program that accepts an MP3 file and splits it into several small mp3 files based on 1-2 seconds without sound (silence). What is the easiest way to do this in C #?

+5
source share
4 answers

Bass library . The bass has everything you need. It can access, record and edit media streams such as mp3, allowing you to select the volume at different points in time. It has a .net api, so you can use it in C #. Unfortunately, it costs money if you use it for commercial use, but they provide a free non-commercial license.

Sox is a command line tool that has the ability to split mp3 into n seconds of silence. You can always use the system command to call sox from C #.

Other related links.

Ripping CD to mp3 in C # - third-party component or api there?

MP3 audio editing libraries

How to merge / paste mp3 files using C #

This code shows a way to create a ripper CD in C #. There are APIs from some vendors that allow you to read audio CD tracks, but it is also possible to do this. It uses APIs that allow low level access to CDs, such as ASPI, from Adaptec or IOCTL. the latter method is used in this case, because there is no need to install any third-party software, it is a fully covered Win32 API function.

http://www.codeproject.com/KB/cs/csharpripper.aspx

+4

MP3 . MP3 , . - , , , (, , , )

+2

. , , . , , . , , , , "". / ?

Once you know what you're looking for, just browse the file looking for β€œthis.”

Plain...

+1
source
+1
source

All Articles