Shop OBEX P1 Docs P2 Docs Learn Events
Play Wav Files from C3 — Parallax Forums

Play Wav Files from C3

edge87edge87 Posts: 24
edited 2011-03-19 10:03 in Propeller 1
I just bought a C3 (Credit Card sized Computer) and I've been trying to use some objects from the exchange. I took the Wav Players by Raymond Allen and tried to bend it to work with the C3 and its SD SPI drivers but i'm having trouble. All it seems to do is pop along from buffer to buffer never really filling them fast enough to play the sound. Attached is all the sources. I have removed the MIT Licenses and the original comments to keep this post short, however, I keep credit where due on the actual files.


graphics_drv_010.spin
c3_sd_drv_010.spin
kernel.spin (TOP OBJECT)
tv_terminal_012.spin
tv_drv_010.spin

Comments

  • KyeKye Posts: 2,200
    edited 2011-03-18 18:29
    The C3 has a hardware setup that breaks compatibility with all the SD card drivers online. The sd card driver that comes with the c3 is not fast enough todo anything. I believe there are a few people recoding the sd card drivers online to work with the c3.
  • RavenkallenRavenkallen Posts: 1,057
    edited 2011-03-19 10:03
    I re-coded FSRW to work with the C3 awhile back, but i am sure that anybody could easily get it to work with another driver. I uploaded to the forum, but i don't remember where i put it. Basically all you are doing is just substituting the CS pin of the SD card, with the channel select feature of the C3. Perhaps you should read up on the unleashing the C3 E-book... Andre took a lot of time to write it and it does contain a wealth of info about it. Hope it helps:)
Sign In or Register to comment.