Electronics > Projects, Designs, and Technical Stuff
MP3 Decoder Options
<< < (5/5)
Whales:

--- Quote from: Kasper on January 28, 2019, 08:52:28 pm ---Thanks but I don't think 12 bit will cut it. I've read 16 bit is plenty for everyone except the most expert audiophiles. So I am aiming for atleast 16.

--- End quote ---

Opinion: 16bits is useful for editing (it gives you a little headroom), but for final renders and playback it's not super necessary.  You're already talking about MP3 after all :D

To counter your "from what I've read" with my own "from what I've read": many audio DAC chipsets that claim 16 bits don't otherwise have a low enough noise floor in most circuit implementations for this to be useful anyway.  The "resulting" number of bits out is lower.
OwO:

--- Quote from: Kasper on January 29, 2019, 07:31:41 am ---If use 12 bits and some fancy firmware and say it has 16 effective bits, will I get called out by audiophiles for over-selling a 12 bit DAC or will most people understand what you are saying about 1 MSPS?

This will be one of my first products done on my own, I don't expect high or even moderate volume sales, though I would like to be prepared for that.  My main goal is to build a good reputation with solid products delivered on time. And to not spend years worth of weekends developing products that never get released.

--- End quote ---

Audiophools will have far more problems with the use of MP3 compression  :-DD

Seriously though, ~every audio DAC on the market nowadays use delta-sigma modulation with a 1- or 2-bit DAC internally. Implementing a delta sigma modulator in software is trivial. Start with outputting the 16 bit sample rounded down to 12 bits, and accumulate the error value into a variable. Once the accumulator reaches a set threshold you switch to rounding up (if the accumulator is negative) or rounding down (if it was positive).

I think even without the delta-sigma tricks you probably won't tell the difference between 12-bit and 16-bit audio.
amyk:

--- Quote from: Miyuki on January 29, 2019, 07:28:39 am ---
--- Quote from: ali_asadzadeh on January 29, 2019, 06:08:42 am ---STM32F401RCT6 + CS4344 total cost under 2$

--- End quote ---
I agree
This provide good sound quality and flexible fast CPU can decode any format (wonder if this can have enough power to decode even small video) for good price

--- End quote ---
That's more than enough to decode small video, these used to be popular many years ago and could play 160x128 MJPEG at 15FPS --- using a 24MHz Z80.
Kasper:
My title is a little misleading. To be clear, I plan to offer more than just MP3.

VS1053B supports Ogg Vorbis/MP3/AAC/WMA/MIDI. It sounds like some of those are valuable options and might make use of higher resolution.

I'm not sure if I could tell the difference between 12 bits and 16 bits. I don't want to be all about the marketing but I have noticed audio products proported as high end on ks seem to do much better than moderate to low cost products.  I want to make sure I have good specs to appease that larger customer base even if it is better than needed.
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod