Discussion:
[mad-user] (no subject)
Senthil Kumar
2003-03-25 15:42:10 UTC
Permalink
Hi,



I want to play the mp3 file on my own.
so i extracted the data from the mp3 file leaving the frame information of
size 4 bytes.

Then i extracted the the bit size, padding value, bit/sample, sampling rate
and calculated the frame size from the frame information.

After that i have extracted the data to my local buffer of size 4096 and i
wrote to the dsp device repeatedly upto the end of the file.

But i was able to get annoying sound.


Please can u give me solution for this problem..


with thanks and regards
Senthil

_________________________________________________________________
Get ball by ball action on your desktop.
http://server1.msn.co.in/msnspecials/cricketdownload/contest.asp Get Hutch
MSN Cricketer
Rob Leslie
2003-03-25 19:47:48 UTC
Permalink
Post by Senthil Kumar
I want to play the mp3 file on my own.
so i extracted the data from the mp3 file leaving the frame
information of size 4 bytes.
Then i extracted the the bit size, padding value, bit/sample, sampling
rate and calculated the frame size from the frame information.
After that i have extracted the data to my local buffer of size 4096
and i wrote to the dsp device repeatedly upto the end of the file.
But i was able to get annoying sound.
Please can u give me solution for this problem..
You'll have to do a lot more work than simply extract bits from the MP3
stream and write them to your DSP device. That's why I wrote MAD; it
does the work of decoding these bits into an audible signal.

If you really want to write your own MP3 decoder, I suggest you read up
on ISO/IEC 11172-3, the international standard that describes the
format and how to decode it. But there are plenty of existing
implementations, including MAD, that would be much easier to pick up
and incorporate into your application, not to mention save you a lot of
deciphering and debugging time.
--
Rob Leslie
***@mars.org
Gabriel Bouvigne
2003-03-26 08:02:01 UTC
Permalink
Post by Senthil Kumar
After that i have extracted the data to my local buffer of size 4096
and i wrote to the dsp device repeatedly upto the end of the file.
But i was able to get annoying sound.
You just forget to decode the frame.

Regards,

----
Gabriel Bouvigne
www.mp3-tech.org
personal page: http://gabriel.mp3-tech.org
Senthil Kumar
2003-03-27 11:28:48 UTC
Permalink
Dear All,

Producing musical tones through FM Syntheizer is little bit confusing for
me.

If possible can u please send me any link or example for the generating the
musical tones using FM synthesizer.

with thanks and regards
Senthil





_________________________________________________________________
Say it now. Say it online. http://www.msn.co.in/ecards/ Send e-cards to your
love
Mark Veinot
2003-03-27 20:44:38 UTC
Permalink
Post by Senthil Kumar
Dear All,
Producing musical tones through FM Syntheizer is little bit confusing for
me.
If possible can u please send me any link or example for the generating the
musical tones using FM synthesizer.
with thanks and regards
Senthil
Far be it for me to reply on behalf of this discussion group, but the MAD mpeg
decoder has no relevance to your question at all. MAD does not use the FM
synthesizer in anyway, and as such, this group would not be a reliable source
of information concerning such hardware. I suggest you look for an
alternative information source. A quick google search for:

fm synthesizer programming

should provide you with ample material to further your search.

- --
Mark Veinot - Linux Certified Professional
- ----------------------------------------------------------------
/dev/random says:
If little else, the brain is an educational toy.

http://mvgrafx.dyn.ca/~vmark
- ----------------------------------------------------------------
Continue reading on narkive:
Loading...