audioplayers
audioplayers copied to clipboard
Is it possible to adjust playback pitch?
Seems not:
setRate() is present in WrappedMediaPlayer (https://github.com/luanpotter/audioplayers/blob/f508de034fed81d0d74482926df7c8720122250d/android/src/main/java/xyz/luan/audioplayers/WrappedMediaPlayer.java#L104) but there is no setPitch(), although it should be fairly easy to add that (for Android - don't know about iOS)
I would be ok with a PR if it's easy to do (eg one param on the player).
However, as an alternative, unless you want to modulate the pitch dynamically, you can generate the file you want with the right pitch and save the device some processing time.
pitch adjustment would be great so you could make a music sampler!
is this feature available or planned?
@kekko7072 you can try to implement it yourself and make MR, if you want to afford some time :)