Need 2 Props for MP3
Rayman
Posts: 14,801
I've spent a few hours looking at implementing the MadLib MP3 decoder with Prop and have come to the conclusion that 32kB memory·is just not enough to do it...· However, I think it could be split up so that 2 Props could do it.· But, I don't think this would be very useful for me...
I ported enough of it to SPIN to decode the Huffman data from a frame and do the IMDCT before running out of memory...
It may be possible to reduce the precision from 32 to 16 bits and make it fit, but I think this would affect quality...
Oh well, guess I'll wait for Prop II...
I ported enough of it to SPIN to decode the Huffman data from a frame and do the IMDCT before running out of memory...
It may be possible to reduce the precision from 32 to 16 bits and make it fit, but I think this would affect quality...
Oh well, guess I'll wait for Prop II...
Comments
David
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
I suppose I could add a DIP-40 Prop to the Protoboard and do it that way...
Post Edited (Rayman) : 1/7/2008 7:38:15 PM GMT
Then anyone with a couple prop devices could tie the prop-plugs together and play MP3s.
Could be interesting...
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
http://www.underbit.com/products/mad/
Also, I just found another big array requirement in the synthesis section...· So, if it is possible to do it with 1 prop, it will only be mono...·
Another option, specifically to add more memory, is something I saw a while back in this forum. I'll see if I can find it but it was basically a 12 bit counter plus 8 bit latch. The idea was you set the latch to the starting address (or page), then with each successive memory access the counter would auto-increment the lower 12 bits. You'd end up with 4kb pages with a possible 512KB address space (one address pin was used for control), although it used up a lot of pins. I think the auther managed to squeeze it into 13 or so pins.
I can't seem to find the original thread but it was quite smart! If you can handle more pins being used up (and if you want a tv output that may not be a good idea) you could probably get it to work. It was the fastest way of accessing external memory I've seen proposed for the prop!