Music Player - change the playback speed ( 0.25x 0.5x 1.5x ) of a mp3 tracks

Hi everyone! I can't find a function that permits to change the playback speed of a mp3 track. I wish to change the playback speed of a song only when some conditions are satisfied. For example:

if x < y set player1.speed to k
else set player1.speed to j

where k and j can be for example something like 0.5x or 1.5x. Anyone can help?

Thanks a lot!

This has basically been possible with the Android MediaPlayer since API 23, but this is not implemented in the Player component in either AI2 or Kodular.
Maybe @Taifun can implement this in his TaifunPlayer extension.

https://www.programmersought.com/article/71593034048/

1 Like

This topic is closely related to

I think these can be merged

1 Like

Hi!
I've posted a sound component extension with variable playback rate.