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.
-
KELPER
- Regular
- Posts: 47
- Joined: Wed Jun 05, 2013 3:31 am
-
Contact:
#1
Post
by KELPER » Tue Jun 25, 2013 1:00 pm
Hello.
Is there anyway to start playing music from a certain point (like for example 20 seconds into the song?). I have a scene where a character takes another character earphones, and I want the music to play at low volume, as it were coming from the earphones, but not from the very beginning, as It would be too much of a coincidence
Thanks in advance!
-
ArcTest
- Newbie
- Posts: 13
- Joined: Fri Apr 26, 2013 12:01 pm
-
Contact:
#2
Post
by ArcTest » Tue Jun 25, 2013 1:25 pm
Just take your sound file, and edit it in Audacity (free download).
Then you could cut off part of the song in the beginning.

Save your file and use that.
-
KELPER
- Regular
- Posts: 47
- Joined: Wed Jun 05, 2013 3:31 am
-
Contact:
#3
Post
by KELPER » Tue Jun 25, 2013 1:49 pm
Oh, I thought that as the last resource

. I thought it might be silly to put a clon of the same file in the game if there is a way to do it with code, but if I dont have another choice ..

-
Hello71
- Newbie
- Posts: 3
- Joined: Sat Jun 22, 2013 5:20 pm
- IRC Nick: Hello71
-
Contact:
#4
Post
by Hello71 » Tue Jun 25, 2013 3:38 pm
You can set the volume to zero while the earphones are "removed" then set it back to full when they are "back in".
-
pwisaguacate
- Veteran
- Posts: 356
- Joined: Mon Mar 11, 2013 11:03 pm
-
Contact:
#5
Post
by pwisaguacate » Tue Jun 25, 2013 4:02 pm
Hello71 wrote:You can set the volume to zero while the earphones are "removed" then set it back to full when they are "back in".
EDIT: That has no control over time. Actually you
could silence the volume several lines before turning it back on.
-
KELPER
- Regular
- Posts: 47
- Joined: Wed Jun 05, 2013 3:31 am
-
Contact:
#6
Post
by KELPER » Tue Jun 25, 2013 7:46 pm
That is a good idea actually! I need to create another channel, since until the moment I need the earphone music, theres background music playing. But Im gonna try.
Edit: Yeah, that did the trick! Thank you!