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.
-
yon
- Regular
- Posts: 153
- Joined: Tue Sep 09, 2014 5:09 pm
- Projects: YDSP
- Location: United States
-
Contact:
#1
Post
by yon » Sat Sep 17, 2022 5:53 pm
Whenever I try to loop a song, there's a tiny little "blip" that happens right when it ends and starts a new loop.
I'm using .ogg files, and there is no gap in the file itself. This is the code I'm using, using the "from" just to test that it always happens on the loop, not the end of the file.
Code: Select all
play music "<from 1 to 10>audio/song.ogg" fadein 2.5
It happens no matter what song I use. It also happens whenever I end a song, like when I roll back to before the song starts. The only workaround I've found is the fadein/fadeout, but I can't do that for looping.
It's not smooth. How do I make it stop, please?
Last edited by
yon on Wed Sep 21, 2022 2:41 am, edited 1 time in total.
-
yon
- Regular
- Posts: 153
- Joined: Tue Sep 09, 2014 5:09 pm
- Projects: YDSP
- Location: United States
-
Contact:
#2
Post
by yon » Sat Sep 17, 2022 6:00 pm
I don't notice any blip when I listen to the audio loop in the tutorial file, if that helps at all. It only happens in my own game.
It even happens when I try using the song from the tutorial in my game. It sounds like a record skipping.
-
yon
- Regular
- Posts: 153
- Joined: Tue Sep 09, 2014 5:09 pm
- Projects: YDSP
- Location: United States
-
Contact:
#3
Post
by yon » Sat Sep 17, 2022 6:22 pm
Now I added an .ogg which HAS silence at the end, and there's no blip there? But I don't want to have to include silence when looping for all of these.
-
yon
- Regular
- Posts: 153
- Joined: Tue Sep 09, 2014 5:09 pm
- Projects: YDSP
- Location: United States
-
Contact:
#4
Post
by yon » Wed Sep 21, 2022 2:41 am
Update: It's gone now. Maybe I just had to restart my computer? Either way, it's fine now.
Users browsing this forum: Google [Bot], Majestic-12 [Bot]