Skip to content

pschatzmann/arduino-wm8960

 
 

Repository files navigation

Audio Codec (WM8960)

Overview

This library provides functions to support the WM8960 audio codec. The Codec is connected via I2S for the audio data and is configured via I2C.

It can drive some speakers via the amplifier output and supports full duplex mode where we can both read and write audio data at the same time.

This library is based on the original provided by Infineon and has been adapted for Arduino to use the Wire API.

Though this library can be used stand alone, I recommend to use it with the WM8960Stream class provided by the AudioTools project.

Documentation

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/libraries
git clone pschatzmann/arduino-wm8960.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.

Desktop Installation

You can use this library also outside of Arduino with cmake. In this case you need to provide the implementation for the i2c_write function yourself!

About

WM8960 audio codec API (not only for Arduino)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 53.3%
  • C++ 46.3%
  • CMake 0.4%