Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ren'Py All-In-One GUI Template

A sample project with all those bells and whistles · By tofurocks

TTS repeating ic and audio titles

A topic by valmoxium created Aug 21, 2025 Views: 121 Replies: 2
Viewing posts 1 to 2
(4 edits)

Hi, I'm currently working on the accessibility parts of my game for players with limited vision but I'm running into a weird bug for self-voicing where audio captions and image descriptions are repeating once when after I use the {alt} and {noalt} tags in dialogue. This is a snippet of code in the practice script (please ignore the yalign I'm fixing that later) where it begins to happen, note the comments:

    ## This is where it doesn't repeat.
    $ play_sound (boots_default_2)
    show ferrumpl at stepfwd:
        yalign -1
    $ renpy.pause (0.2)
    $ quick_menu = True
    ic "Ferrum steps closer."
    ferrum "Hey, you."
    window hide 
    $ quick_menu = False
    $ renpy.pause (1.0)
    $ play_sound (boots_default_4)
    show ferrumpl at stepfwd2:
        yalign -1
    $ renpy.pause (0.2)
    $ quick_menu = True
    ic "Ferrum steps even closer."
    ferrum "{noalt}Ya listenin', lass?{/noalt}{alt}Are you listening girl?{/alt}"
    window hide 
    $ quick_menu = False
    $ renpy.pause (1.0)
    $ quick_menu = True
    carmara "Too close."
    ferrum "{noalt}...{/noalt}{alt}Ferrum says nothing in response.{/alt}"
    ## This is where it starts to repeat ic and audio titles once throughout the entire game.
    window hide 
    $ quick_menu = False
    $ renpy.pause (1.0)
    $ play_sound (boots_default_3)
    show ferrumpl at stepback:
        yalign -2
    $ renpy.pause (1.0)
    $ quick_menu = True
    ic "Ferrum takes a step back."
    carmara "Further."
    window hide 
    $ quick_menu = False
    $ renpy.pause (1.0)
    $ play_sound (boots_default_5)
    show ferrumpl at stepback2:
        yalign -2
    $ renpy.pause (1.0)
    $ quick_menu = True
    ic "Ferrum takes a step further back."
    carmara "Better."

Sorry for the atrocious formatting, itchio keeps removing my line spaces. I don't know how else to code alt text for dialogue unfortunately, so I'm not sure how to fix this issue. Is there anything that can be done?

EDIT: I also just now noticed this bug also happens when you rollback text.

Developer

Hey Valmoxium, by repeating once do you mean it's reading the alternate text two times in total? I notice this behavior happens occasionally if I hover over a quickmenu button and the Self-Voicing will tell me what that button is, then it will start reading the dialogue again from the top. You seem to be doing everything correctly as far as I can tell from your code.

I'm unfortunately largely out of commission atm due as I'm recovering from my wisdom tooth extraction, but I pulled up the documentation on Self-Voicing as well as an indepth guide about it below. I hope that it provides some solution, and if if not I can ask around to see if anyone more familiar with Self-Voicing knows what's happening.

Official Documentation: https://www.renpy.org/doc/html/self_voicing.html

Additional Resource: https://orangecarnation.neocities.org/guides/renpy_tts

(1 edit)

Oh I'm sorry to hear that! I hope your recovery goes well, I know what it was like getting my wisdom teeth removed lol. And yes, it reads the alt text twice, but it happens when I'm not hovering over any quickmenu buttons. I looked over the official documention and was actually using that neocities site while working on the code but I haven't found anything about this bug in the documentation.  I noticed that it happens even when I used define config.descriptive_text_character instead of the built-in template's accessibility features.