Music Player - Feasibility ?
hippy
Posts: 1,981
A question of feasibility and complexity before I invest too much time or effort ...
320GB IDE HDD + Propeller + PWM R-C DAC, Playing .WAV files
I currently have a $10 PC motherboard plus soundcard hooked up to play MP3's but want to replace that with something more 'embedded' - smaller, quieter, lower power, little cost outlay.
I can forego playing MP3 and use WAV as that would still allow 300+ albums to be stored, so this would really be a super-sized version of Rayman's SD Card WAV Player. Long filenames can be used to contain the necessary track ID Tag info set by a PC utility program copying files to the HDD, and/or 8-dot-3 files can be used with that info put into an index file.
Central to this would seem to be some sort of DOS ( preferable a Windows PC compatible file system ); anyone have an idea of how complicated that would be and what sort of development timescale would be involved ?
320GB IDE HDD + Propeller + PWM R-C DAC, Playing .WAV files
I currently have a $10 PC motherboard plus soundcard hooked up to play MP3's but want to replace that with something more 'embedded' - smaller, quieter, lower power, little cost outlay.
I can forego playing MP3 and use WAV as that would still allow 300+ albums to be stored, so this would really be a super-sized version of Rayman's SD Card WAV Player. Long filenames can be used to contain the necessary track ID Tag info set by a PC utility program copying files to the HDD, and/or 8-dot-3 files can be used with that info put into an index file.
Central to this would seem to be some sort of DOS ( preferable a Windows PC compatible file system ); anyone have an idea of how complicated that would be and what sort of development timescale would be involved ?
Comments
If you're in a hurry, you could use FemtoBasic as a starting point, rip out what you don't need and substitute a WAV player.
http://www.retroleum.co.uk/ide_interface.html
That should help interfacing the IDE to the prop [noparse];)[/noparse]
The rest should be easy, res+cap for audio, if using headphones, unless you want it amplified obviously [noparse]:)[/noparse]
As for timescale, depends how fast you get the code for the IDE interface working, I guess lol
A lot of the ground work can be taken from Rokicki's SD FAT drivers.
Should be easy enough to do though
But you'll have to keep us all updated lol.
Edit: Pipped to the post by the great·Mike Green Doh! lol
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.
The 23 signals are D0..D15,A0..A2,CS0,RD,WR.
Yes, you will also need a FAT32 driver but I would build that up on the basic IDE sector interface which is very straightforward as the "Integrated Drive Electronics" pretty much looks after all the nitty-gritty, you just need to issue commands.
*Peter*
Starting with a sector reader / writer would seem the best way to start and build up from there would seem to be the best approach as per Peter's suggestion. Even if the SD / Femto Basic code isn't directly usable it should be a good design reference. Can start with FAT16 then build on that.
It's the middle-bit, FAT32, which is the big unknown for me. Famous last words ... "That's only software, so should be easy enough"