Skip to content Skip to sidebar Skip to footer

Merging Multiple Mp3 Files

I am looking for a way to automate the merging of any mp3 files found within a specified folder in windows. Is there any script that exists to accomplish this task? I am using a vo

Solution 1:

here is a sample code how to merge any files including mp3 together consider you have files a, b, c and you want to merge it all to c one file.

      byte[] a = File.ReadAllBytes(txt_a_path.Text);
      byte[] b = File.ReadAllBytes(txt_b_path.Text);
      byte[] c = new byte[a.Length + b.Length];
      a.CopyTo(c, 0);
      b.CopyTo(c, a.Length);
      File.WriteAllBytes(txt_c_path.Text, c);

Post a Comment for "Merging Multiple Mp3 Files"