Solid State Variable AC
The instruments of this kind are readily available. An example is California Instruments model 2001RP. It is rated for 2kW output, with voltage varying from 0 to 300V AC, and it can generate waves from 16 Hz to 5 kHz, all for a reasonable cost under $4,000. 
See specifications here. It will take some engineering effort to build this one by yourself.