React-native-track-player: Support for controlling playback speed

Created on 28 Sep 2017  路  8Comments  路  Source: react-native-kit/react-native-track-player

It would be nice to be able to control playback speed, so users could choose to playback at eg. 1.5 times.

Android Enhancement Windows iOS

Most helpful comment

How about setSpeed/getSpeed? The speed would be represented as a double, 1 being the original speed.

Also, why not also implement setPitch/getPitch?

All 8 comments

How about setSpeed/getSpeed? The speed would be represented as a double, 1 being the original speed.

Also, why not also implement setPitch/getPitch?

That would be a great addition. react-native-sound doesn't work for long file but is the only on that lets you change the speed.

Added in 75e1c5626006e6ae021e558938d4673b287f7327 (v0.2.3)

This feature is not in the Wiki. please update it.
Thanks.

Are those APIs for playback speed control not supported yet?

They are. The wiki is not updated yet.

Can I help with the wiki update? @Guichaguri

They are already there (see setRate and getRate). But if you want to help with the documentation, you can open a pull request editing the files inside the docs directory.

Was this page helpful?
0 / 5 - 0 ratings