Incorporating an STK generator with a synth voice class

Trying to use an STK-based generator as the osc for a juce synth voice class. I’m new to using STK, and I’m not sure how to manipulate the oscillators output so that its “juce-friendly,” as STK seems to use frames. Any advice would be appreciated

What is STK?