@inthehands Case in point for the latter - the Raspberry Pi Pico examples for generating audio via PWM or an I2S DAC.