Giter Site home page Giter Site logo

esp32-a1s-audio_hal's Introduction

esp-adf (esp-idf) audio_hal component for AI-Thinker's ESP32-A1S module

This is a audio_hal component for AI-Thinker's ESP32-A1S [1] module respectively ESP32 Audio Kit [2]. The audio_hal component shipped with the esp-adf [3] unfortunately doesn't provide any interface to add third-party codec. This is based on AI-Thinker's code [4], which is an esp-adf fork with modifications for this codec.

How to use:

Clone this repository into components/audio_hal of your esp-adf project:

cd /path/to/your/project
git clone https://github.com/phkehl/esp32-a1s-audio_hal.git components/audio_hal

Or add it as a git submodule:

cd /path/to/your/project
git submodule add -b master https://github.com/phkehl/esp32-a1s-audio_hal.git components/audio_hal

This will then take precedence over the one in $ADF_PATH/components/audio_hal.

The modifications to audio_hal.h and audio_hal.h are very minimal and upgrading this with later versions of the esp-adf should be easy. There is one additional function esp_err_t audio_hal_pa_power(bool enable) not present in the original code. Use this to controls the power of the power amplifier on AI's ESP32 Audio Kit board.

There is an example in the example subdirectory. Note the symlink example/components/audio_hal.

Happy hacking!

References:

esp32-a1s-audio_hal's People

Contributors

phkehl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.