Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Flexible driver library for audio boards and codec chips e.g AC101 ES8388 ES8311 CS43l22 ES7243 etc

License

NotificationsYou must be signed in to change notification settings

pschatzmann/arduino-audio-driver

Repository files navigation

I was never quite happy with myAudioKit project, that was a quick and dirty adaptation of the Espressif IDF Drivers for Arduino.

In this project I finally implemented some clean and simple C++ classes. Thisreduced the complexity considerably andincreased the flexibility tremendously!

The goal of this project is to provide aneasy API to configure different audio codec chips. After setting up the codec, you can use the I2S functionality provided by your microcontroller.

While you can use this library stand alone, I recommend to use it together with myAudioTools project which provides a nice integration with it'sI2SCodecStream class. Further information can be found in theWiki.

Drivers and Boards

This library privides the following drivers:

  • AudioDriverAC101
  • AudioDriverAD1938
  • AudioDriverCS42448
  • AudioDriverCS43l22
  • AudioDriverES7210
  • AudioDriverES7243
  • AudioDriverES7243e
  • AudioDriverES8156
  • AudioDriverES8311
  • AudioDriverES8374
  • AudioDriverES8388
    • AudioDriverES8388H0 (Volume Hack 0)
    • AudioDriverES8388H1 (Volume Hack 1)
    • AudioDriverES8388H2 (Volume Hack 2)
    • AudioDriverES8388H3 (Volume Hack 3)
  • AudioDriverLyratMini
  • AudioDriverPCM3168
  • AudioDriverWM8960
  • AudioDriverWM8978
  • AudioDriverWM8994
  • AudioDriverNAU8325

And it supports the following boards:

  • AudioKitAC101 
  • AudioKitEs8388V1 
  • AudioKitEs8388V2 
  • GenericCS43l22 
  • GenericWM8960 
  • LyratMini
  • LyratV42 
  • LyratV43 
  • ESP32S3AISmartSpeaker (ES8311 & ES7210)
  • NoBoard 

Logging

The functionality has a built in logger. The default log level has been set to Warning. You can change it like this:

  AudioDriverLogger.begin(Serial,AudioDriverLogLevel::Info);

Valid values are: Debug, Info, Warning, Error

You can deactivate the logging completly and if you are using an ESP32, you can configure the use of the built in ESP32 IDF logger in ConfigAudioDriver.h

Documentation

Support

I spent a lot of time to provide a comprehensive and complete documentation.So please read the documentation first and check the issues and discussions before posting any new ones on Github.

Open issues only for bugs and if it is not a bug, use a discussion: Provide enough information about

  • the selected scenario/sketch
  • what exactly you are trying to do
  • your hardware
  • your software versions
  • what exactly your problem is

to enable others to understand and reproduce your issue.

Finally,don't send me any e-mails or post questions on my personal website!

Installation in Arduino

You can download the library as zip and call include Library -> zip library. Or you can git clone this project into the Arduino libraries folder e.g. with

cd  ~/Documents/Arduino/librariesgit clone https://github.com/pschatzmann/arduino-audio-driver.git

I recommend to use git because you can easily update to the latest version just by executing the git pull command in the project folder.

Sponsor Me

This software is totally free, but you can make me happy by rewarding me with a treat


[8]ページ先頭

©2009-2025 Movatter.jp