This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Valeri edited this page May 25, 2019
·
3 revisions
Welcome to the esp32-sound wiki!
NOTE: I'm trying to update this wiki to 1.0 version so information may be out-of-sync. Sorry.
This module does what its name say — it implements totally flexible support for playing sound via DAC.
It operates on two basic classes: SoundMixer
, which mix channels and out audio and SoundProvider
- abstract class for implementing sound sources.
If you just want to integrate this library into your program, it should be easy. Follow this steps:
- At first, you need custom provider (search by topic
esp32-sound
). - Integrate selected provider(s) and this component into your project via
git submodule git_url dir_name
in yourcomponents
folder. - Import data to your program - module's manual should contain instructions.
- Configure base module and/or providers in
menuconfig
-Sound module configuration
. In most cases default configuration should work fine, but providers may require more advanced settings. - For basic API's read this article.
You need to set
set(CMAKE_CXX_STANDARD 14)
in top-level CMakeLists.txt
to get this library working. C++17 on beta toolchain should work as well.
You want to create your own sound provider? Great! Read dev notes and explore provider creation overview.