A C++ toolkit for music applications