Intentionally stutter game audio

Hey guys, I need help. I’m making a Horror genre game and there is a GameObject that when you look at, your camera will do all kinds of glitchy effects (I have that done). I need some sound to follow it but I want it to be like the actual game audio stutters. Example: when your windows bluescreens you. Like looping the last second(s) you heard repeatedly.

Example:

Any help will be appreciated, thank you in advance.

I know what you mean and I suspect those are simply animations and sound effects being played as normal but in a glitchy style, here’s what I would do potentially, get the animation setup most likely it’s 2D maybe either a shader or some kind of other 2D animation and then you’d have it on some sort of transparent 3D plane maybe and just stick it right in front of the camera and have it fade in and out when you need it.

As for anything to do with monitors that have actual text on that’s going to be a worldspace canvas, you simply add the UI text onto that and place the canvas on a computer monitor model to make it look like a fully functional computer from the gamer’s perspective.

Hope this helps, if you want to make it so you can type stuff on the screen or interact with it you would just need to put in the appropriate UI input fields and buttons onto the worldspace canvas. It’s all doable and in this case you’d need more art and editing skills than programming skills in my opinion given the look you’re going for.

As for the sound effect itself that’s probably going to be something you’ll have to look up audacity tutorials for most likely.

I think he’s talking more about the audio side of things,
I was thinking about a way to do the exact same thing, haven’t tried so yet, but what I have in mind is record a second of output from the master output and just play it on loop.

1 Like

I mean audio stutter but thank you nevertheless for your reply. I can make stutter sound in audacity but that’s not the realtime sound you heard in the game. I can’t predict what sound will be playing at the time of the stutter. I want to stutter the last second(s) you heard in the game.

Yeah, I was thinking about recording and looping too but I just don’t know how to execute it.

Just fake it, if you do similar like in your video, no one will notice that it is not the same sound. Most of the time it is not important if it is the same sound. And besides, you have more control how to create your SFX if you create it edit time.
Recording audio while you’re playing is relatively expensive, unless you have a very good reason to do it (something important gameplay mechanic) I wouldn’t do it.

Audio Mixer setup with some kind of distortion effect applied to it.
(or different effect, there’s plenty of them in there to tweak / try out)
Change values of that mixer via the script whenever you need them.

You are right, I know it would be expensive on the performance. I will try to make some universal sound stutter. The game itself is hard hitting on the performance, no need to make it even worse. Thank you for your reply.