Is looping in GameMaker REALLY this bad?

Technical topics. Middleware. Programming. Audio related game engine things.
Post Reply
CattonArthur
Posts: 4
Joined: Thu Sep 08, 2022 6:16 pm

Is looping in GameMaker REALLY this bad?

Post by CattonArthur »

First time using GameMaker in any significant way. There is no way this can be how an actual, professional game engine loops it's sounds, right? I have checked the file in multiple other programs, the loop point is fine. It doesn't have a gap or a sudden jump in Unity, Fmod, or Logic. All of the looping files play with a huge gap like this in GameMaker. I heard it in game at first and thought it had to be something on the implementation side, but it plays like this when you preview it too. No way every GameMaker game is going out like this, am I missing something???? I've tried every compression setting, I'm using a 16 bit file so it doesn't have to convert it, I even edited the .yy (the meta file) so it would pre-load the sound and nothing changes it.
(and the sound itself is supposed to be really lofi like that)

https://www.youtube.com/watch?v=9FBxJ96PtbQ
Sr. Sound Designer/Composer @ Akupara Games, Sound designer @ NPC Labs.
https://twitter.com/soundkitties
markkilborn
Posts: 3
Joined: Thu Sep 08, 2022 6:44 pm
Location: Austin, TX

Re: Is looping in GameMaker REALLY this bad?

Post by markkilborn »

That sounds almost like a byte boundary issue to me, although I see you've got it set to uncompressed in the interface. I'm not sure I trust that it's actually uncompressed, or that it's not forcing some conversion under the hood that's adding some samples at the end. That's really weird.

Can you export the file back out of GM, pull it into your DAW, and see if it's adding rogue samples at the end of the file?
Mark Kilborn
Senior Audio Lead @ Certain Affinity
alessandrofama
Posts: 2
Joined: Mon Sep 19, 2022 8:56 am
Contact:

Re: Is looping in GameMaker REALLY this bad?

Post by alessandrofama »

I still have a GameMaker licence, trying to play some loops but I cannot reproduce this problem. If you would like me to check, send me the audio files where the problem occurs, perhaps it is a bug specific to the GameMaker version.
No way every GameMaker game is going out like this, am I missing something????
For Grapple Dog I wrote an FMOD Studio API integration/bindings, shipped on Win + Switch. Saved us days of work. But I don't know of any other GameMaker game that has done that tbh.
If you ever need to use FMOD in GameMaker, let me know, I can probably share the extension^^
Alessandro Famà | Audio Programmer
https://twitter.com/alexzen_
Post Reply