I think the best for you is to read:
https://lmms.io/wiki/index.php?title=Wo ... Automation
Besides that, since you are new in Forum
Welcome M4RSH4DOW !
Here are all important links:
http://lmms.io/forum/viewtopic.php?f=1&t=4740
-A few rules and useful forum instructions