I'm using the callback fonction to play a sound when the text scrolling:
I wonder if I can put it in the voice channel instead of sound. When I try to replace "sound" by voice, but it doesn't work, the sound simply not playing (I think it's because voice channel works differently).init python:
def callback(event, **kwargs):
if event == "show":
renpy.music.play("godawful-beeping-noise.ogg", channel="sound")
elif event == "slow_done" or event == "end":
renpy.music.stop(channel="sound")
Also, there is other issues: it
has some side effects. Pressing "H" during beeping will suspend "end" event. i.e. the beeping will continue. Same might happen if jumping into game menu by pressing ESC, or going backwards (rollback).
Thanks!