Thanks for the explanation. Given your need for a wider range of ratios than the platform directly supports,
I recommend that you do the
speed/pitch conversions at application level before sending the data to the platform.
There are various open source libraries for this.
One library for adjusting playback rate without changing pitch is
https://github.com/waywardgeek/sonicI have not used it personally, but I have heard good things about it, especially for speech.
If you want to change both playback rate and pitch simultaneously (in inverse ratio),
a sample rate converter is the way to go. Do a web search for open source
resampler or sample rate converter; there are several out there.
No matter which library you pick, be sure to confirm the license is compatible for your needs.