Wave generator for physiotherapy

recommend you get a Microcontroller with a builtin DAC (Digital to Analogue Converter)
this will save having interconnect host micro and DAC with resultant poor interconnections which can cause problems
I suggest the ESP32 which has two DACs, is low cost and is supported by the Arduino IDE
use lookup tables to generate different waveforms
EDIT: have a look at post simple-way-to-code-sine-frequency-decreases-while-amplitude-increases using a lookup table to generate sine waves