dac.openStream(¶ms, NULL, RTAUDIO_FLOAT64, 44100, 256, &tick, (void *)&pluck); dac.startStream();
STK is the blueprint, the toolbox, and the teacher, all rolled into one elegant C++ library. It is, and will remain, a classic. stk library
int main() { Plucked pluck(440.0); // A4 note pluck.noteOn(0.7); // 70% amplitude STK is the blueprint