Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 978829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:07:12+00:00 2026-05-16T04:07:12+00:00

I have a byte array containing an MP3 stream. Is it correct to assume

  • 0

I have a byte array containing an MP3 stream.

Is it correct to assume that this stream would have to be further decoded if I want to be able convert to a WAV?

In its current byte state, is it possible to do basic functionality such as get/set position (time-wise)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:07:13+00:00Added an answer on May 16, 2026 at 4:07 am

    Yeah, MP3 files are very different from WAV files. WAV files contain raw audio data in the form of samples from beginning to end to paint the waveform of the output, the same way a bitmap file contains raw data about pixels from left to right, top to bottom. You can think of a WAV file as a bitmap picture of sound waves — but rather than pixel colors, it stores audio intensities, typically 44,100 of them per second, for two channels if it’s stereo, and 2 bytes per channel.

    (Knowing this you can actually calculate the file size of a WAV file — to store 1 minute of audio, you’d need 60 seconds * 44100 samples * 2 channels * 2 bytes = 10.09MB.)

    MP3 files contain a mathematically modified version of this image and discards audio that humans can’t hear. It works similarly to how jpeg images work to compress images.

    Just as video cards ultimately need bitmaps to work with, sound cards ultimately need WAV data to work with — so yes, you need a decoder.

    At the beginning of Mp3 files is a block of data called an ID3 tag, which contains a bunch of basic information about the file — artist names, track length, album names, stuff like that. You can use something like C# ID3 to read/write ID3 tags in C#.

    As for audio itself, I’m not sure there are Mp3 decoders written entirely in C#. Technically there’s no reason that it can’t be done (it should be fine performance wise too), but the standard is pretty loose and the math is intense so people tend to just use things like FFMpeg to decode. Some ideas in this Google search.

    If you don’t need to do any special processing and you just want to play the audio, you can use the WPF/Silverlight Media element.

    You can probably get some hints out of Josh Smith’s Podder app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making C# windows application.In that application i have one byte array containing
I have a byte array that can be very big in size. I want
I have a byte array and I want to read this array byte by
I have a byte array and I need to convert this to a image.
I have a byte array that may or may not have null bytes at
I have a byte array that's been initialized with 0xFF in each byte: for
I have a byte array containing bytes from a file( see my last question
I have a byte offset for a byte array containing a UTF-8 encoded string,
Hi i am making application in c#.I have byte array of containing hex values.I
I have to create BYTE* array that will store some text and binary data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.