Slightly music phase change (DDLC-like).
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.
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
Slightly music phase change (DDLC-like).
How can I recreate the system that Dan Salvato did in Doki Doki Literature Club? For the record, "Okay Everyone!" track changed it's phase at certain moments, with a seamless transition from one .ogg file to another. I saw how he implemented it, but the code there is a bit complicated for my understanding, and also I don't need such a complex system.
Missing/forgetting a lot of simplest things and ask about them here.
- Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Slightly music phase change (DDLC-like).
There are several ways. If you have several .ogg files of the same length and you want to transition from one to another, you can sync start position of second file on another channel with fadein and stop original file with fadeout.
Another possibility is to get position of currently playing file and then build string containing partial playback specification and command to play that.
Another possibility is to get position of currently playing file and then build string containing partial playback specification and command to play that.
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]