Implementing waveform playback

I would like to implement chip-tune style waveform playback in my monogame project (sin wave, square wave, white noise, etc). Something similar to retro consoles (Pico 8 Example).

I’m a little stuck on where to start though. Does MonoGame expose a way for me to playback raw code-driven waveforms?

Thanks!

DynamicSoundEffectInstance where you supply the 16-bit PCM waveform data in response to an OnBufferNeeded event or by submitting buffers at a periodic rate.