Bungee is a C++ library for high-quality, real-time speed and pitch manipulation. It is open source and permissively licensed.
There is a comparison page on the Bungee site comparing many open source and commercial technologies.