Voice too short

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
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

Voice too short

#1 Post by Newnewbie »

Hello,

I'm trying to play a 8 seconds voice, but I only hear the very beggining of it (like 1 second around).
Also,the loop does not work (on the voice only)... Do you guys know why?

Here's my code:

Code: Select all

define terry_singing =  "audio/Voice/Terry/Terry_Singing.mp3"
play voice terry_singing loop
Thank you

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Voice too short

#2 Post by isobellesophia »

I dont think you dont need to write 'play'..

https://www.renpy.org/doc/html/voice.html#voice

Code: Select all

voice "eileen.ogg"
"Welcome to renpy."
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

Re: Voice too short

#3 Post by Newnewbie »

Well, thank you!

Do you know how could I loop the voice then?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Voice too short

#4 Post by isobellesophia »

For what i think, voice cannot be looped, because it is only for VOICE ACTING i would say..

if you want to loop a sing voice.. then use

Code: Select all

play music "audio/Voice/Terry/Terry_Singing.mp3" fadein 1.0
instead.

Note that music is already looped, no need to code for that.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
Newnewbie
Newbie
Posts: 23
Joined: Sun Dec 08, 2019 4:06 am
Contact:

Re: Voice too short

#5 Post by Newnewbie »

My issue is than I'm already using a music and a looped sound in the background T_T

Post Reply

Who is online

Users browsing this forum: No registered users