BrogueCE icon indicating copy to clipboard operation
BrogueCE copied to clipboard

TTS

Open anderoonies opened this issue 3 years ago • 4 comments

see diff at https://github.com/flend/brogue-1.7.4/compare/feature/brogue174-SPEAKv03?expand=1&w=1

  • [x] speech for locations and messages
  • [x] figure out ifdef/endifs best practices
  • [x] rest of sayIts from diffs
  • [ ] code cleanup and styling
  • [x] figure out stripping formatting characters
  • [ ] instructions for local setup of espeak
  • [x] interruptable and non-interruptable messages?

anderoonies avatar Jul 31 '21 23:07 anderoonies

~can anyone with a Brogue-SPEAK installation let me know how cursor mode works? currently, nothing is speaking in cursor mode, i believe that it should be speaking any tiles that's different than the previous.~ resolved

anderoonies avatar Aug 01 '21 02:08 anderoonies

I’ll see about toggling TTS just the same as graphics, yeah. TTS needs SDL, so it would need to have been compiled with graphics, but I believe the main distribution is?

I’m inclined to trust the author of Brogue-SPEAK on true color, doesn’t need to be removed in the first draft of TTS but I think it’s probably something they learned from playtesting with visually impaired people. I’ll see about getting people to playtest, too

On Tue, Aug 3, 2021 at 12:40 AM withinwheels @.***> wrote:

@.**** commented on this pull request.

In src/platform/main.c https://github.com/tmewett/BrogueCE/pull/375#discussion_r681428302:

@@ -252,6 +252,8 @@ int main(int argc, char *argv[]) continue; }

  •    rogue.trueColorMode = false;
    

if the TTS features required a recompile

I suppose another way to say this is it would be nice if we could distribute just one binary, and have it serve both users who want TTS, and users who want true color.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tmewett/BrogueCE/pull/375#discussion_r681428302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSWLAM2QDVXMMZBQSTU22LT25XLNANCNFSM5BKP4PQA .

anderoonies avatar Aug 03 '21 12:08 anderoonies

alright, i have priority/flags folded into messageFlags, but still not sure about how many priority levels will be needed and which kind of messages need which priority. i'm going to test some and see about distributing it to people on the audiogames forum for testing. i'm still having issues with espeak-ng on my machine so it's been very spotty whether i can actually run this (issue here https://github.com/espeak-ng/espeak-ng/issues/996), so if anyone wants to test and see how the current speech feels please lmk

anderoonies avatar Aug 08 '21 22:08 anderoonies

additionally TTS is toggled at runtime with !

anderoonies avatar Aug 08 '21 22:08 anderoonies