Arduino Music Streaming mit live555 ?

Introduction I wanted to make some music streaming functionality available on Arduino. There are plenty of private music services using custom protocols which are out of reach. Fortunately there are also the open source protocols RTP and RTSP: RTP is the transport protocol for real-time data. It provides timestamp, sequence number, and other means to handle the timing issues in real-time data transport. RTSP is a control protocol that initiates and directs delivery of streaming Read more…

Using an ‘I2S HIRES ADC Audio I2S Capture Card Module’ with an ESP32

Quite some time ago I have purchased an Audio Analog to Digital Converter (ADC) module, but I never managed to have it working properly. Unfortunately Google Search could not help either and I was the only one using this module or having problems. The Software Finally I have it working now and therefore document my setup in the hope that this might save you some time. Since I am doing all my audio projects with Read more…

ADS1015: The Big Audio Failure

I am trying to build an Arduino based Guitar Pedal with the help of a Microcontroller and some cheap standard modules. So far, I had the data input, the Audio Effects ready and just needed to put everything together. When I tried to demonstrate how to output the sound from an ADS1015 ADC I realized that nothing was actually working: The output to the webserver was not producing any sound and the output via I2S Read more…

Arduino Audio Tools: Adding Input from the ADS1015 (or Using a Timer Based Stream)

Introduction In one of my last blogs I made a small test-sketch to print some audio data from an ADS1015 Analog to Digital Converter (ADC) capturing the input from an electric guitar using the Arduino loop(). In real life however, we want to drive the capturing of the samples with a timer. A first naive implementation was awfully failing because the ESP32 does not allow I2C calls in the timer interrupts. The solution is to Read more…

Arduino Audio Tools: Audio Effects

Introduction I was playing with the thought of building some Arduino Based Guitar Effects Pedals. With that in mind, I have added some simple sound effects to my Arduino Audio Tools Library and this is fitting quite nicely into the overall design. Overall Design SineWaveGenerator<int16_t> sine; GeneratedSoundStream<int16_t> stream(sine); AudioEffectStream effects(stream); The audio effects are applied to an input stream: Here in order to test the functionality, I just use a SineWaveGenerator provided to a GeneratedSoundStream Read more…

Arduino Based Guitar Pedals with Standard Components ?

A Guitar effects pedal is an electronic device that alters the sound of the instrument in different ways. They come in different types like Overdrive Pedals. Delay Pedals. Reverb Pedals. Multi-fx Pedals. Fuzz Pedals. Preamp Pedals. Looper Pedals. Chorus Pedals and playing around with them in different combinations can be quite addictive. You can find a few Arduino based solutions but they are usually based around some some custom boards. So I was wondering how Read more…

Arduino: Streaming MP3 Files to a Bluetooth Speaker

In the last Blogs I presented – A File Based Versatile MP3 Player – A Streaming MP3 Player – A Streaming AAC Player with Volume Control All these examples were using my Arduino Audio Tools Library. In this final Blog about this topic, I will demonstrate how easy it is to adapt the Sketch from the first Blog and send the output to a Bluetooth Speaker. Here is the Arduino Sketch which will work with Read more…

How to identify broken examples in an Arduino Library…

Lately I noticed that some examples in my Arduino Audio Tools library are not compiling any more. This is not a surprise, since the library is still evolving. So I was looking for a way how to identify the broken examples automatically. Fortunately Arduino provides a Command Line Interface and I just needed to write a simple bash script to compile all relevant examples: #!/bin/bash ## # We compile all examples using arduino-cli in order Read more…

A Versatile but Simple Arduino Streaming AAC Player with Volume Control

In the last Blogs I presented a File Based Versatile MP3 Player and later a A Versatile but Simple Arduino Streaming MP3 Player using my Arduino Audio Tools Library. In this Blog, I will demonstrate how easy it is to convert it into a AAC player. I also show how to control the volume. So far I was usually using an ESP32 to test the sketch. This time I switch to the cheaper ESP8266! The Read more…

A Versatile but Simple Arduino Streaming MP3 Player

In the last blogs I presented a Versatile MP3 Player and then a Basic Streaming MP3 Player using my Arduino Audio Tools Library. If you expect a Versatile Streaming MP3 Player, you will not be disappointed. All the functionality related to the AudioPlayer class which was described in the Versatile MP3 Player Blog is still valid. In our sketch, we just need to replace the AudioSourceSdFat with an AudioSourceURL. In order to support navigation we Read more…