Hi guys, need some help here, I am trying to get my main menu music to start playing from my splash screen all the way to my main menu. In order to do so, I disabled this from Options.rpy:
##config.main_menu_music = "menu music.mp3"
However I realized that if I do this then the main menu music no longer plays after I transit from the game to the main menu but if I enable it then the main menu music overlaps the starting music from the splash screen.
Could anybody teach me how to resolve this problem? Thanks!
[Help] How to stop overlapping of music
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.
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.
-
- Newbie
- Posts: 10
- Joined: Fri Feb 02, 2018 2:17 am
- Contact:
-
- Newbie
- Posts: 3
- Joined: Sun Jan 21, 2018 9:06 pm
- Contact:
Re: [Help] How to stop overlapping of music
...
Last edited by AR09FQF-AQ09FRF on Thu Mar 01, 2018 4:19 pm, edited 2 times in total.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: [Help] How to stop overlapping of music
You may need to edit the corresponding screens to include something like
On show Play 'song.mp3'
On hide Stop 'song.mp3'
I may have the cases wrong
On show Play 'song.mp3'
On hide Stop 'song.mp3'
I may have the cases wrong
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: [Help] How to stop overlapping of music
No need to do that. See here: viewtopic.php?p=475994#p475994klifton21sg wrote: ↑Thu Mar 01, 2018 5:24 am I am trying to get my main menu music to start playing from my splash screen all the way to my main menu. In order to do so, I disabled this from Options.rpy:
##config.main_menu_music = "menu music.mp3"
Last edited by Donmai on Thu Mar 01, 2018 8:41 pm, edited 1 time in total.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: [Help] How to stop overlapping of music
To be more clear about mp3 files, you should convert the lossless source (if available) to ogg vorbis. Otherwise just use them as is.
MP3 is a lossy compressed format (it compresses data by deleting bits you theoretically cannot perceive). Ogg is also lossy, by converting lossy to lossy, you are degrading the sound quality and if you do it enough or start with a poor enough source, entropy/generation loss ensures you get a terrible sounding audio file.
MP3 is a lossy compressed format (it compresses data by deleting bits you theoretically cannot perceive). Ogg is also lossy, by converting lossy to lossy, you are degrading the sound quality and if you do it enough or start with a poor enough source, entropy/generation loss ensures you get a terrible sounding audio file.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Newbie
- Posts: 10
- Joined: Fri Feb 02, 2018 2:17 am
- Contact:
Re: [Solved] How to stop overlapping of music
Thanks guys, got it to work after checking out viewtopic.php?p=475994#p475994
Who is online
Users browsing this forum: Dark79