I'm trying to include a feature in my VST sampler that allows the user to preview a sound. I'm new to VST development, but it seems like the only way for a VST to render audio is to wait for a call to processBlock(). Is there a way to add this feature without relying on the host calling processBlock()? Alternatively, is there a way to indicate to the host that clicks on a certain region should induce a call to processBlock()?
In case I didn't do a good job explaining what I'm trying to accomplish, take a look at the drum rack instrument in ableton. You can hit the "play" triangle to hear any of the samples in the drum rack even when the transporter isn't moving. Is the only reason they're able to accomplish this because the drum rack is a native to ableton?
Thanks in advance for any suggestions.