[SOLVED] Voice playback not working since update.

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Rainbow Wavedash
Regular
Posts: 35
Joined: Fri Oct 12, 2012 1:12 am
Projects: Starswirl Academy, Pretty
Tumblr: rainbowwavedash
Skype: rainbowwavedash
Contact:

[SOLVED] Voice playback not working since update.

#1 Post by Rainbow Wavedash »

Hey folks. We decided to migrate our game from 6.18.13 to 6.99.11, and it's going pretty smoothly. A few hiccups here and there where expected, but we're having some trouble playing vocal lines now. From what I can tell, the code is still the same, but it's just displaying as text in the what box.

Was there a change to the formatting that I'm not seeing? I'm going by the documentation here.

Code: Select all

voice "sound/voice/ts/call.wav"
Image
Last edited by Rainbow Wavedash on Mon Sep 12, 2016 8:19 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Voice playback not working since update.

#2 Post by PyTom »

Hm... That doesn't make a lot of sense to me. It's almost like it's treating the voice as if it was a character. Did you define a character named voice, somehow?

If you can't solve it, send me the code so I can pick it apart.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Rainbow Wavedash
Regular
Posts: 35
Joined: Fri Oct 12, 2012 1:12 am
Projects: Starswirl Academy, Pretty
Tumblr: rainbowwavedash
Skype: rainbowwavedash
Contact:

Re: Voice playback not working since update.

#3 Post by Rainbow Wavedash »

Huh. Yeah. Looks like someone defined a generic, off-screen "Voice" character in the middle of one of the script files. I never noticed it because it didn't cause any problems before. How strange.

And now the answer seems painfully obvious after the fact. Thanks for the direction.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Kocker