bcc-code / bmm-web

[BMM] The BMM website and desktop app to listen to the content from BMM.
https://bmm.bcc.media/
GNU Affero General Public License v3.0
16 stars 8 forks source link

Playback speed control #436

Open sifferhans opened 3 months ago

sifferhans commented 3 months ago

I got feedback that someone missed the playback speed controls of the mobile app. Is this something that can be designed and implemented?

SimonSimCity commented 3 months ago

Implementation seems possible (https://developer.mozilla.org/en-US/docs/Web/Media/Audio_and_video_delivery/WebAudio_playbackRate_explained). Just mind the limitations in the the sections Note: (only when paused on iOS 9 and it's recommended that you limit the range to between 0.5 and 4).

kkuepper commented 3 months ago

I suggest using the same simple design from the mobile app: add "Playback speed" as an option when clicking the 3 dots in the top right of the player.

On BMM Web, spoken content is 18% of consumed content (vs 49% on mobile). Therefore I didn't push to add playback speed as a dedicated button on the player.

SimonSimCity commented 3 months ago

@kkuepper Should it be remembered, or is there a time/condition by which it should be resetted?

kkuepper commented 3 months ago
  1. If you start playing a playlist of messages, it should apply the playback speed to all of them.
  2. If you click on a song afterwards, it should be reset to normal speed.

I don't remember what happens in the app, if you have a mixed list (e.g. meeting with singsong and messages). I recommend testing different scenarios in the mobile app before implementing it. But it's also not a problem if it behaves differently as long as the 2 rules from above are working.