Playing wav files on Hallowing M0

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
OG2617
 
Posts: 14
Joined: Sun Sep 11, 2022 3:52 pm

Playing wav files on Hallowing M0

Post by OG2617 »

I did not get a response to my last post so thought I would ask a simpler way. Your promo for this device says, "The extra 8 MB of SPI Flash is great for sound effects projects where you want to play up to 3 minutes of WAV files." So, can I do this using Arduino IDE? If so, can you provide sample code?

User avatar
mikeysklar
 
Posts: 13824
Joined: Mon Aug 01, 2016 8:10 pm

Re: Playing wav files on Hallowing M0

Post by mikeysklar »

Checkout the Adafruit ZeroI2S library.

https://github.com/adafruit/Adafruit_ZeroI2S

An amp example with wiring and code is provided here using this library:

https://learn.adafruit.com/adafruit-i2s ... iring-test

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

Return to “Wearables”