Skip to content

Running an Audio Sketch on the Desktop

Phil Schatzmann edited this page Jul 24, 2021 · 25 revisions

This project can also be used to output the sound on Linux, Windows and OS/X.

You just need to provide an Arduino Sketch as cpp file together with this CMakeLists.txt example file. Just replace the example generator.cpp with your cpp file in the add_executable line.

It automatically downloads all dependencies (including the arduino-audio-tools project). The you can build the executable with:

mkdir build
cd build
cmake ..
make

A full example can be found in the examples-desktop directory.

Clone this wiki locally