RAKWireless / RAKwireless-Audio-library

RAKwireless Audio library or the audio solution Modules
MIT License
1 stars 2 forks source link
RAKstar
RAKWireless Build Status

RAK-Whirls

RAKwireless Audio library

Introduction

RAKwireless Audio library is designed for RAK audio module and kit solutions. This library provides customer with abundant examples and solutions on audio field. User can use them for any scene

Elements

stack (2)

As shown above, audio solutions includes below parts:

At the same time we will release some audio kit

All elements can be used separately or together. However, there are two points need to note:

Installation

BSP Update

Please update BSP part to the last version, which will support basic driver.

Rakwireless Audio library

Then install audio library, which contains other part of driver, like amplifier, DSPG. And includes all examples and solutions. Because of the technical problem, it is not merged in IDE now. Please download ZIP from: https://github.com/RAKWireless/RAKwireless-Audio-library And then install manually.

But if you use Arduino 2.0 released version, you can install it in library manager.

Examples & Solutions

The examples can be separated 4 parts. The test code is just for test and can be ingnored.

How to general header from WAV

First you need put your WAV file with the WAVconvert.py in the same folder.

Second, run the CMD console program.

Third, enter the "python ./WAVconvert.py" command and run .If your computer not installed the Python environment you can download the python by this link:https://www.python.org/downloads/.

After convert done, the converted .h file name is the same as your WAV name.

Then, open the .h file and copy the sound buffer to replace the example's sound buffer.