In this second part of my look into the ESP32 and PWM I've updated the code to expand to several channels to make a sort of (fixed) simple signal generator. Part 1 - All the theory and research around PWM and the ESP32. Part 2 - Generating different waveforms on multiple channels. Part 3 - Introducing analog … Continue reading ESP32 and PWM – Part 2
Category: Intermediate
ESP32 and PWM
I'm continuing reinventing wheels with my ESP32. In ESP32 and Mozzi I was using the built-in DAC for audio output. In this post I'm taking a detailed look at how to use PWM for audio output instead. Part 1 - All the theory and research around PWM and the ESP32. Part 2 - Generating different waveforms on … Continue reading ESP32 and PWM
ESP32 and Mozzi
I've been meaning to do something with the ESP32 for some time. I have some general ESP32-C3 devices, and a range of XIAO ESP32 (S2 and C3) devices too, but what I was particularly interested in was the original ESP32 as it includes two 8-bit DACs. This is my first set of experiments using a … Continue reading ESP32 and Mozzi
Arduino Direct Digital (Additive) Synthesis
This is actually a collection of previous projects with the code tidied up a little and combined to show a single sketch that can be configured for either PWM, an R2R ladder or the MCP4725 I2C DAC. There isn't really anything here that hasn't been talked about before somewhere, but hopefully this can act as … Continue reading Arduino Direct Digital (Additive) Synthesis
Raspberry Pi 400 Cyberdeck MIDI Player
I've finally gotten myself a Raspberry Pi 400 computer. I've wanted one for a while to use as a MIDI player for my Lo-Fi Orchestra. The idea is that eventually I might be able to run it without a large display, but instead use something like the Adafruit Cyberdeck and a PiTFT display (or similar) … Continue reading Raspberry Pi 400 Cyberdeck MIDI Player
Arduino Guess the Frequency Game
This is a bit of an odd one, but I was asked to put something musically related together as a game to get in the spirit of the season, so I thought something along the lines of an Arduino adjustable tone generator with the aim being the player has to tune it by ear to … Continue reading Arduino Guess the Frequency Game
A DX7 USB Dongle
The amazing Rene Stange added USB Gadget (i.e. device) support to the Circle bare metal Raspberry Pi environment a while ago so I've now incorporated that into MiniDexed. This allows MiniDexed to be used as a USB device - i.e. it can just be plugged into a PC and used via USB MIDI directly, as … Continue reading A DX7 USB Dongle
Arduino MIDI Foot Pedal for Peavey Vypyr Amp
I was asked to take a look at a Peavey Vypyr amp to think about how the foot pedal for it works. This is a set of links and notes by way of recording what I found out, and some initial experiments with an Arduino. Warning! I strongly recommend using old or second hand equipment … Continue reading Arduino MIDI Foot Pedal for Peavey Vypyr Amp
Simple MIDI Serial Monitor – Part 3
This is a follow-up to the following posts: Simple MIDI Serial Monitor - which shows how to use SoftwareSerial as a MIDI port to allow monitoring over the default serial port. Simple MIDI Serial Monitor – Part 2 - which shows how to use SoftwareSerial as the monitoring serial port instead. This post takes one of my … Continue reading Simple MIDI Serial Monitor – Part 3
Arduino PCF8574/8575 MIDI Controller
This project uses a PCF8574 or PCF8575 I2C digital IO expander with an Arduino as a MIDI controller. https://youtu.be/yrNB3riWBH4 Warning! I strongly recommend using old or second hand equipment for your experiments. I am not responsible for any damage to expensive instruments! These are the key Arduino tutorials for the main concepts used in this … Continue reading Arduino PCF8574/8575 MIDI Controller