Audio synthesis in C++