This is the code I use:
Code: Select all
init:
$ renpy.music.register_channel("blips", mixer="voice", tight=True, buffer_queue=True, loop=True)
init python:
def o_blip(event, **kwargs):
if event == "show":
renpy.music.play("audio/o.ogg", channel="blips", loop=True)
elif event == "slow_done" or event == "end":
renpy.music.stop(channel="blips")
Update: This error only happens on the first launch of the game. If I close it and reopen it, that fixes the issue.
However, I would really like it if it didn't happen in the first place...