Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to play audios of chapter with multiple paragraphs #90

Open
4 tasks
Tracked by #66
nya-elimu opened this issue Sep 9, 2021 · 0 comments
Open
4 tasks
Tracked by #66

Comments

@nya-elimu
Copy link
Member

nya-elimu commented Sep 9, 2021

In the playAudio() method, only the first paragraph is played. Refactor the method to handle chapters that contain more than one paragraph.

device-2021-09-10-105551_480

  • Rename method to clarify its functionality, e.g. playParagraphAudios() or something similar?
  • Consider removing the final String[] chapterText parameter from the method?
  • Within the method, iterate each StoryBookParagraphGson; And for each paragraph, play the audio file (or TTS as fallback).
  • Include a pause (1,000 ms) between each paragraph.

@nya-elimu nya-elimu changed the title Make it possible to play audio of chapter with multiple paragraphs Make it possible to play audios of chapter with multiple paragraphs Sep 9, 2021
@gscdev gscdev self-assigned this Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants