So here’s the break down:
Those two functions (setSpeed, and setPitch) basically wrap around SoLoud’s setRelativePlaySpeed and setSamplerate. To me, they provide the same effect although there’s a difference in how.
I believe, however, the original audio lib does it the same way, where pitch values directly affects the duration of the audio, so I went ahead and put those two in.
Now, there has been a request on the official repo to have built-in functionality to change pitch without affecting duration. It’s also commented that this is doable using FFTFilter.
So, to answer your question, I currently don’t know the “how”; I have only spent a little bit of time exploring SoLoud’s other features and functionality, and definitely not yet acquainted with it.
There are too many crashes related to luaD_precall , and I don’t know how to fix them. I had to switch back to using the built-in audio library in Solar2D.
@pickerel I was meaning to ask: do the new Google Play reports (as mentioned in the beginning here, for example) show any more information on those errors? I wasn’t sure if those were retroactive; might need new information.
Also, the new build (of Solar, not this plugin) has a possible fix for audio.onComplete.
SoLoud’s max active voice count is now set automatically to match the totalChannels soft cap value. This resolves the “silent” issue which was caused by playing more audio streams beyond the current default max voice count of 16.
Default totalChannels soft cap is now back to 32, up from 22.
The maximum number of concurrent audio is hard cap at 4095, per SoLoud’s docs.