Jupyterlab and C++

Today I tried to create a Dockerfile for XEUS-Cling in Jupyterlab. The challenge was, that the installation is done with conda which is a little bit tricky to use together with Docker. After some unsuccessful trials, I finally came up with the following working solution: FROM continuumio/miniconda3:4.8.2-alpine MAINTAINER phil schatzmann USER root RUN apk add –no-cache bash SHELL [“/bin/bash”,”–login”,”-c”] ENV PATH /opt/conda/envs/cling/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUN conda create -y -n cling xeus-cling xeus-python jupyterlab -c conda-forge WORKDIR /home/xeus-cling Read more…

Playing a Synthesizer to a Bluetooth Speaker using a Raspberry PI Zero

I was asking myself if I can use a headless Raspberry PI Zero together with a MIDI keyboard as simple Synthesizer which sends the sound via A2DP to a Bluetooth Speaker. So technically speaking I wanted to set up my PI as a2dp source. Installation Initially I tried to do the setup with Pulseaudio. However it seems that there are plenty of issues with this option, so I decided to use ALSA instead and removed Read more…

The Synthesis ToolKit (STK) Library for the Arduino ESP32 – Bluetooth Support

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. I have demonstrated the MIDI Bluetooth functionality where we can receive Read more…

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…