arduino-audio-tools/examples/examples-desktop/generator
2022-09-09 20:35:12 +02:00
..
CMakeLists.txt stk desktop example 2022-09-09 20:35:12 +02:00
generator.ino Fix broken Desktop examples 2022-05-17 08:58:11 +02:00
README.md AudioPlayer 2021-10-09 14:09:11 +02:00

Playing Sound on your Desktop

We provide some generic output which will also work on Linux, Windows and OS/X The cmake is downloading all dependencies and builds an executable from the sketch.

You just need to provide an Arduino Sketch as cpp file. In our example we use an example setup that can be compiled both in Arduin and with cmake:

  • the sketch is provided as ino file
  • the cpp file is including the Arduino.h and the ino file

To build the example execute

mkdir build
cd build
cmake ..
make