The script takes signals (piezo, touch, hear pulse sensor, etc.) and map them to notes MIDI signals or control MIDI signals (cc). To send them to the computer for music crafting we need a couple of programs.
A newer file, showing different connections can be downladed here.
First, we need to stablish a connection with the ESP32 module. It is important that both the computer and the module are connected to the same network.
Once both are connected (with the same ip address in the script and computer connection), we configure the device.
This is done opening the connection manager of the computer.

For a virtual MIDI port, I used (loopMIDI)[https://www.tobias-erichsen.de/software/loopmidi.html], from Tobias Erichsen, but any virtual MIDI port would do (this one is for windows 10).
In Pd Extended, configure it to read from de MIDI port (you have to create one). I created one called "Suit".
First, we need software to detect MIDI signals. We use (Pure Data Extended)[https://puredata.info/downloads/pd-extended] for this porpouse. Once you have it, you can open this file".