voice channel doesn't work with play or renpy.music.play
Posted: Thu Dec 30, 2010 4:52 am
Sorry about the posts but I'm adding some new stuff and have found some really strange behaviours. I have added a voice button in preferences. I use voices only in combat. If I try the "test voice" button in preferences, it works fine, I can hear the voice:
however if I try calling the voice in the game script with:
I hear nothing. Obviously if I use another channel like "sound" or "music" it works:
what I'm doing wrong ??
Code: Select all
frame:
style_group "pref"
has vbox
label _("Voice Volume")
bar value Preference("voice volume")
textbutton "Test" action Play("voice", "voice/rebecca_criticalhit01.ogg") style "soundtest_button"Code: Select all
play voice "voice/rebecca_criticalhit01.ogg"Code: Select all
play sound "voice/rebecca_criticalhit01.ogg"