Header-only C++ library for generative music