We've been sending out game out to betatesters, and while doing so we noticed something odd.
We have a "text" sound effect that plays when the characters speak, just a kind of typing noise. When music is already playing, those two sounds working together results in weird clipping and sound glitches, like the music is popping in and out. Almost like ren'py can't run both at the same time.
This is only something that happens on Mac computers (including my own). People running windows have said they can't hear it.
All our audio files are .ogg and running at 44,100Hz. I'm not really sure what else to do.
Is there any way we can fix this? Thanks in advance!
EDIT: It seems this might've been fixed in the most recent update of Ren'Py -- if it was, that would be amazing, because this issue has been happening for two years! I'm sending an updated version out to betatesters and update with whether it has been fixed. c:
SFX&Music Clipping/Glitch on Macs
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.
- Cheratomo
- Regular
- Posts: 28
- Joined: Wed Feb 19, 2014 12:36 pm
- Completed: Asagao Academy: Normal Boots Club, Solstice, A Troll's Fairy Tale
- Projects: [Game in Progress], A Year Abroad, Entrepreneur Simulator
- Organization: Illus Seed
- Tumblr: cheratomo
- Location: Seattle, WA
- Contact:
SFX&Music Clipping/Glitch on Macs
Last edited by Cheratomo on Wed Apr 13, 2016 5:37 pm, edited 1 time in total.
Writer and Editor. Portfolio & Testimonials.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
Are you playing the sounds on separate channels? https://www.renpy.org/wiki/renpy/doc/co ... nd_Channel
- YossarianIII
- Veteran
- Posts: 382
- Joined: Tue Jan 13, 2015 10:26 pm
- Completed: Guns & Lovers; SRRT!; Kill Your Refrigerator; Banality Man; Beretta Mondatta
- Projects: Solidarity Forever
- Organization: KONOL Games
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
Cheratomo wrote:We have a "text" sound effect that plays when the characters speak, just a kind of typing noise. When music is already playing, those two sounds working together results in weird clipping and sound glitches, like the music is popping in and out. Almost like ren'py can't run both at the same time.
Just wanted to add that I noticed the exact same problem in my NaNoRenO game. (I work on a Mac.) It's fairly subtle, but there's definitely a clipping sound when a character callback sound and music are playing at the same time on separate channels.
I assumed that I was just asking Ren'Py to do too many things at once, but that's interesting that Windows users don't hear this problem.
I updated to the latest version of Ren'Py and confirm I still hear the clipping in my VN. I'd be curious to find out whether this is a bug, or whether I'm programming something wrong...Cheratomo wrote:EDIT: It seems this might've been fixed in the most recent update of Ren'Py -- if it was, that would be amazing, because this issue has been happening for two years! I'm sending an updated version out to betatesters and update with whether it has been fixed. c:
- Cheratomo
- Regular
- Posts: 28
- Joined: Wed Feb 19, 2014 12:36 pm
- Completed: Asagao Academy: Normal Boots Club, Solstice, A Troll's Fairy Tale
- Projects: [Game in Progress], A Year Abroad, Entrepreneur Simulator
- Organization: Illus Seed
- Tumblr: cheratomo
- Location: Seattle, WA
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
I believe the sounds are on separate channels, as one is a music channel, the other is voice, and the last is a callback.
I can confirm it is still happening, and all three of the people who've played using macs can confirm this. Any ideas on how to fix it?
Edit: For reference, here is the callback code.
Right now I'm switching renpy.music to renpy.sound and seeing if it makes a difference.
I can confirm it is still happening, and all three of the people who've played using macs can confirm this. Any ideas on how to fix it?
Edit: For reference, here is the callback code.
Code: Select all
init python:
def callback(event, **kwargs):
if event == "show":
renpy.music.play("sfx/text.ogg", channel="text", loop=True)
elif event == "slow_done" or event == "end":
renpy.music.stop(channel="text")
Writer and Editor. Portfolio & Testimonials.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
- Kinmoku
- Miko-Class Veteran
- Posts: 591
- Joined: Mon Aug 11, 2014 9:39 am
- Completed: One Night Stand
- Projects: VIDEOVERSE
- Tumblr: gamesbykinmoku
- itch: kinmoku
- Location: Germany
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
Hi, did you ever find a solution to this? I am having the same trouble and my sounds are on separate audio tracks too.
It doesn't always pop/ glitch, but when it does it doesn't sound too nice
It doesn't always pop/ glitch, but when it does it doesn't sound too nice
- Cheratomo
- Regular
- Posts: 28
- Joined: Wed Feb 19, 2014 12:36 pm
- Completed: Asagao Academy: Normal Boots Club, Solstice, A Troll's Fairy Tale
- Projects: [Game in Progress], A Year Abroad, Entrepreneur Simulator
- Organization: Illus Seed
- Tumblr: cheratomo
- Location: Seattle, WA
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
I haven't, unfortunately. Sorry :/
Writer and Editor. Portfolio & Testimonials.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
Completed Games: Asagao Academy: Normal Boots Club and Solstice.
- Kinmoku
- Miko-Class Veteran
- Posts: 591
- Joined: Mon Aug 11, 2014 9:39 am
- Completed: One Night Stand
- Projects: VIDEOVERSE
- Tumblr: gamesbykinmoku
- itch: kinmoku
- Location: Germany
- Contact:
Re: SFX&Music Clipping/Glitch on Macs
Oh dear Ok, well thanks for letting me know!Cheratomo wrote:I haven't, unfortunately. Sorry :/
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]