The Synthesis ToolKit (STK) Library for Arduino – Lessens Learned

Overview The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. You can find further information in the original Readme of the STK Project Like many other sound libraries it originates from an University (Princeton) and can look back at a very long history: it was created in 1995. In the 90s the computers had limited processor power and memory Read more…

The Synthesis ToolKit (STK) Library for Arduino – Running on a Nano,

I made the Synthesis ToolKit (SKT) available as Arduino Library. The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. STK was designed to facilitate rapid development of music synthesis and audio processing software, with an emphasis on cross-platform functionality, realtime control, ease of use, and educational example code. Today I was investigating if the library can be used on Read more…

The Synthesis ToolKit (STK) Library for the Arduino ESP32 – Supporting MIDI and BLE

I made the Synthesis ToolKit (SKT) available as Arduino Library. The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. STK was designed to facilitate rapid development of music synthesis and audio processing software, with an emphasis on cross-platform functionality, realtime control, ease of use, and educational example code. Standard STK uses Skini instead of MIDI. This is a simple Read more…

The Synthesis Toolkit (STK) Library for the Arduino ESP32 – Getting rid of Files

I made the Synthesis ToolKit (SKT) available as Arduino Library. The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. STK was designed to facilitate rapid development of music synthesis and audio processing software, with an emphasis on cross-platform functionality, realtime control, ease of use, and educational example code. One of the challenges using Microcontrollers is, that you usually don’t Read more…

The Synthesis ToolKit (STK) Library for the Arduino ESP32 – An Introduction

I made the Synthesis ToolKit (SKT) available as Arduino Library. The Synthesis ToolKit in C++ (STK) is a set of open source audio signal processing and algorithmic synthesis classes written in the C++ programming language. STK was designed to facilitate rapid development of music synthesis and audio processing software, with an emphasis on cross-platform functionality, realtime control, ease of use, and educational example code. The information below is based on the original STK tutorial but Read more…

Sending Sound from an ESP32 to a Bluetooth Sink (e.g. Bluetooth Speaker)

A couple of months ago, I described how you can use my Arduino A2DP library to receive music with an ESP32 via Bluetooth e.g. from a mobile phone. I have extended the library and implemented the BluetoothA2DPSource class that you can use to to the opposite and send sound data from an ESP32 to a Bluetooth Receiver: #include “BluetoothA2DPSource.h” #include <math.h> BluetoothA2DPSource a2dp_source; void setup() { a2dp_source.start(“MyMusic”, get_sound_data); } void loop() { } That’s pretty Read more…

A Simple Arduino Mavlink Drone Library for QGroundControl

I was looking for an easy to implement solution to control my RC Airplane (that is using a ESP32 micro controller) with the help of a Mobile Application. I decided to use QGroundControl which is based on Mavlink. My project provides the following features: It is available as Arduino Library (which should work on any architecture) you can easily overwrite any method if you desire a different behavoir A simple extendable parameter store is provided, Read more…

My Spektrum Satellite Library has been released

I proudly announce that my Spektrum Satellite Arduino Library has been released with the version 1.0.0 on Github: It features: A Complete Implementation of Official Specification Support for binding using different BindModes Support for receiving and sending of data Input and output are handled via Streams. So you can use it with Serial, Bluetooth, UDP etc…. Support of automatic scaling of channel values (using different data types) Automatic handling of 1024 and 2048 servo data Read more…

Binding a Spektrum Satellite Receiver with a ESP32 using the Arduino IDE

After my bad experience with this topc I decided to give it another try. I assumed that my issue from last time was that the receiver did not get enough power (after all it was a bad idea to power the satellite from a GPIO pin directly) so I decided to fix this: I just had a DRV8833 motor controller at hand, so I used this to manage the power line for the Satellite Receiver. Read more…

How to Blink in Arduino – Alternative Designs

if you google for “Arduino LED blinking sketch” you might find something like this: #define ONBOARD_LED 2 void setup() { pinMode(ONBOARD_LED,OUTPUT); } void loop() { delay(1000); digitalWrite(ONBOARD_LED,HIGH); delay(100); digitalWrite(ONBOARD_LED,LOW); } (I’am using an ESP32 and therefore I needed to define the ONBOARD_LED because this is not predefined in Arduino.h) This is basically working but it adds a delay of 1.1 seconds to the loop which might be pretty disastrous if you you have some other Read more…