I am aware that most of my examples have been for the STM32F4Discovery board. This time I have coded it up for the STM32F746Discovery, and there is a little touchscreen meantone scale organ built in.
Use the blue button to switch between sine-saw-square-triangle. All formulas in the code, and most all of my code is in main.c for convenient browsing.
Details discussed next Tuesday.
Download link: f746disco-audio