Footsteps SE when walking?

So I tried making my game more detailed by adding the footsteps SE while moving the character around.
As a test, I use the knock SE in the common event.
Capture.PNG

It works, but the SE just plays like a machine gun.
Turns out using common event is not the best way to do so.

Any way I can do to make this work? Or is there a script about it?

I tried looking for it, but what I get is MV Plugins thread.
Something like this? https://github.com/theoallen/RGSS3/blob/master/Footstep Sound.rb
anything related to ambient, response or display, must be done through the engine, not through common events.
anything related to ambient, response or display, must be done through the engine, not through common events.
You mean, by scripting?
yes.
*moving* the character is a basic process, controlled by the engine.
*playing a sound while moving the character*, relies on *moving the character* which must happen so that *playing a sound while moving the character* can take place.
so if you want to modify *playing a sound while moving the character* (in this case, *create* it), you must rely on the basic process *moving the character* by the engine.

concepts.
Exactly what I'm looking for! It works perfectly. 😀
Thank you for helping!

Original thread: https://forums.rpgmakerweb.com/threads/footsteps-se-when-walking.98822/