Ai Software to creates Scripts based by beat sounds?

Have a look in the software section. There are some posts there that might be the answer to what you need.

Creating scripts based on beat (audio)

Creating scripts based on movement (video)