This demo project has custom WaveGen generator making Sine wave for testing purposes.
You can delete other parts of this project (ADC, Filter, Rotary Encoder, ...) and have only sine generator left. To produce sine, a custom WaveGen8 component is used, which is similar in performance to WaveDAC8, but simpler to use. The length of wave is limited to 2x4095.
To simply change sine amplitude, call one of the standard APIs, e.g.
For more sophisticated example using DDS-like approach with double-buffering check this demo: