Playing wav files with circuit playground express without SD card

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
efeigenbaum
 
Posts: 98
Joined: Fri Feb 24, 2017 3:23 pm

Playing wav files with circuit playground express without SD card

Post by efeigenbaum »

Is there a way to play a wav file on a Circuit Playground Express without an SD card using Arduino coding? I saw a tutorial for python but not for Arduino. I tried the CircuitPlayground.play_file command but it failed. Can you offer some advice? Thanks.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Playing wav files with circuit playground express without SD card

Post by Franklin97355 »

Can you post the link to the tutorial you saw and give us an idea of what you ant to play?

User avatar
efeigenbaum
 
Posts: 98
Joined: Fri Feb 24, 2017 3:23 pm

Re: Playing wav files with circuit playground express without SD card

Post by efeigenbaum »

Sure. Here is the link:
https://learn.adafruit.com/make-it-talk?view=all

I want to make it say the temperature out loud so I need it to say numbers as well as multiples of ten (thirty, forty, etc)

Thanks.

User avatar
efeigenbaum
 
Posts: 98
Joined: Fri Feb 24, 2017 3:23 pm

Re: Playing wav files with circuit playground express without SD card

Post by efeigenbaum »

So I figured out how to convert a wav file to HEX and to DEC format. What I'd like to know is - is there a comparable command in Arduino language that can play a wave file like there is with Python (.play_file)?

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”