Just tried it out, works great! A little muddy sounding on my speakers, but I know that's a combination of a lot of different things (mainly really cheap speakers.)
Looking at your code, I didn't realize doing something like this was just that simple.
Last edited by ForumTools; 09-30-2010 at 07:19 AM.
Reason: Forum Migration
Thanks for trying it. As far as quality goes, I used the Demo board and powered speakers and the file sounded (to me) exactly the same as it did when played by my computer. Of course, the fairly low sample rate does reduce the quality a bit.
Simplicity was the goal with this code. I want to include some sounds in an already bloated project, so it had to be small. Still, there are a few tricks in there that my not be so obvious...
Last edited by ForumTools; 09-30-2010 at 07:19 AM.
Reason: Forum Migration
It works great! I just resampled 4 mp3s into 'PCM signed 16bit mono @ 16ksps' and it sounds great! In fact, this sounds better then the music coming from games like Counter-Strike 1.6 / HL1.
Now I'll have to figure out how to use this (might be a nice thing to put under the Christmas tree or something).
Harrison
Post Edited (Harrison.) : 11/10/2007 1:45:17 AM GMT
Last edited by ForumTools; 09-30-2010 at 07:19 AM.
Reason: Forum Migration
Works perfectly! File sounds exactly as it did on the PC. I'm getting a couple initial clicks at the
beginning of the sound file now when I reduced the buffer size, but otherwise perfect!
Now I've just got to figure out the changes that the Femto version of fsrw has to place this into PropDOS.
Bookmarks