I came across a YouTube video (https://www.youtube.com/watch?v=GKnuqrTxj9k) where Jan Fiess uses a NodeMCU wireless IoT controller to switch an LED on and off via TouchOSC. My code mainly is based on his source code.
I realized that the ESP32 has two DAC channels and so I extended the example code to send control voltage on pin 25 and 26 controlled by OSC messages. I restricted the values of the TouchOSC controls to send data between 0 and 255 because this is the range of the value for the dacWrite() method which controls the output voltage of the ESP32 DAC.
The ESP32 also has built-in WiFi. So there were no additional components required. Just the ESP32...
This video shows how I send some OSC information (pitch and triggers) to the ESP32. The ESP32 output pins are connected to the input connectors of GRAINS, 2OSC/d and 2ENV.