Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play wav file from SD card #149

Closed
Muhlik2018 opened this issue Apr 16, 2024 · 3 comments
Closed

Play wav file from SD card #149

Muhlik2018 opened this issue Apr 16, 2024 · 3 comments
Assignees

Comments

@Muhlik2018
Copy link

Hi,

I'm trying to play wav file from SD card on my Core 2, I find the M5Unified library seems to have the solution however M5Core2 Library does not.
Wondering if you can update the speaker class in M5 Core2 library to the same as M5Unified library, or is any solution can be provided under current M5Core2 library?

Thanks

@GOB52
Copy link
Contributor

GOB52 commented May 23, 2024

It is recommended to use M5Unified.
See also m5stack/M5Unified#29

The M5Core2 Speaker can also play in this way, although the format is limited.

https://github.com/m5stack/M5Core2/blob/develop/examples/Basics/speak_sd/speak_sd.ino

@GOB52
Copy link
Contributor

GOB52 commented May 30, 2024

Hi @Muhlik2018
What do you think about this?

It is recommended to use M5Unified. See also m5stack/M5Unified#29

The M5Core2 Speaker can also play in this way, although the format is limited.

https://github.com/m5stack/M5Core2/blob/develop/examples/Basics/speak_sd/speak_sd.ino

Tinyu-Zhao added a commit that referenced this issue Jul 2, 2024
Add speak_sd example for issue #149
@Tinyu-Zhao
Copy link
Collaborator

The issue has been resolved in PR #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants