This project has moved. For the latest updates, please go here.

trim header and side info of a mp3

Sep 18, 2013 at 6:05 AM
i have used Naudio for getting the raw data of an mp3
in this case i used
private void button1_Click(object sender, EventArgs e)
    {
        Mp3FileReader reader = new Mp3FileReader(@"F:\1.mp3");
        Mp3Frame mp3Frame = reader.ReadNextFrame();
        byte [] FrameByteArray =  mp3Frame.RawData;



        BitArray bits = new BitArray(FrameByteArray);

        Console.Write(bits[10]);
        Console.Write(mp3Frame.RawData.Length);

        foreach (bool b in bits)
        {

            if (b == true)
            {
                Console.Write(" 1");
            }
            else
            {
                Console.Write(" 0");
            }

        }

        reader.Close();
      }

    }



  }   
it gives me all data in bits
but i only need actual data without header and side info
can anyone help