OK, here's the first, non-hardwired, version of my WAV player.· I hope I've given Raymond sufficient credit, as·I could not have come up with this without his wav player as an example.· I apologize for the appalling lack of comments but I do intend to fix this as well as clean up some of the assembly code.· While it is only in 9-bit resolution this seems to have less high frequency noise than the Raymond’s and play at twice the volume, but is by no means an ideal solution as it currently requires 4 cogs to run…one more thing on the list of needed improvements.· I have yet to test this on any sort of variety of music so I won’t begin to list any sort of capabilities but for a first working program I’m happy with it. · David
The pop at the begining can be removed with a ramp to 50%. See the text to speech object it mentions it some were called declick or something like that.
If you can do MP3 even low bit rate limit would be great. I can live with mono 90kbps mp3. they sound good for most songs and all speech recordings.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
Instead of duty dac I use NCO mode with noise shapping which gives better sound than duty dac. Also, I used modified version of Kye's FAT driver which can read long file names.
I'm interested in your NCO mode... How did you determine that the sound is better?
I'd think most of the bit noise would be filtered out by the external RC filter circuit that is normally used...
Did you look at the signals with a scope?
Download and try this. I experimented with all these dithered or non-dithered duty dac and they always creates noise. Something about -45 dB unweighted in case of dithering dac. Irregular noise bursts when slient part of sound is playing when non dithered.
So I created this ncowav driver using 8-bit ~300 kHz sampling and noise shaping filter. It moves near all noise to ultrasound range.
The player has to be compiled with bst with unused methods removing or it will not fit in 32 kB RAM and is made for a demoboard.
Comments
·
David
If you can do MP3 even low bit rate limit would be great. I can live with mono 90kbps mp3. they sound good for most songs and all speech recordings.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Need to make your prop design easier or secure? Get a PropMod has crystal, eeprom, and programing header in a 40 pin dip 0.7" pitch module with uSD reader, and RTC options.
Uses the new version of FSRW.
Also, it's more clear how to change pin#s...
If I hear back that it works, I'll post it in OBEX...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
So, I spent some time today turning into something that I'm less embarrassed about...
Here's the new version: WavPlayer2f - Archive [Date 2013.02.13 Time 21.02].zip
http://forums.parallax.com/showthread.php/140767-A-new-topic-for-vga-(not-only)-sid-player?highlight=propplay
Instead of duty dac I use NCO mode with noise shapping which gives better sound than duty dac. Also, I used modified version of Kye's FAT driver which can read long file names.
propplay016a.zip
I'd think most of the bit noise would be filtered out by the external RC filter circuit that is normally used...
Did you look at the signals with a scope?
So I created this ncowav driver using 8-bit ~300 kHz sampling and noise shaping filter. It moves near all noise to ultrasound range.
The player has to be compiled with bst with unused methods removing or it will not fit in 32 kB RAM and is made for a demoboard.