Making a walking and "Biking" sound effect

Hey folks,

I know there are many plugins out there for adding footstep sounds to the game, but an issue I have with them is that in my game, the running animation changes the character sprite to a biking one.

Most of the plugins I've seen only have a single sound for one footstep, and they vary these in pitch when walking, and speed them up when running. I have yet to find one that allows for different footstep sounds based on whether you're sprinting or not, and I'm not sure if the "repeating a single footstep sound" format will work for a bike, which would do better to loop a short bike sound and cut the audio when stopping.

I am open to any suggestions if anyone has any ideas. I could even settle for no walking sound and only a "running" sound if there is a plugin that can be toggled on and off based on whether you're dashing or not.

Thanks!
You'd have to either edit the footsteps plugin to check for switches or do a parallel common event based on those switches
You'd have to either edit the footsteps plugin to check for switches or do a parallel common event based on those switches

Hmm, I had considered something like this, but I'm worried about it being too resource-intensive, since my game is cutting it close already.

I've heard that there is a script call to check if the player is dashing, so I could so some sort of parallel event that checks every 4 frames to see if the player is dashing and run a sound effect if it isn't already running, and stop the effect if they are not.

My concern is just that it's a lot to run every 4-8 frames I would think.
I think it's $gamePlayer.isDashing()
There's also $gamePlayer.isMoving()

A wait 4 frames should be enough to not lag the game

Original thread: https://forums.rpgmakerweb.com/threads/making-a-walking-and-biking-sound-effect.165401/