Is there a way to trigger sequences using a midi input from a different software?

Any suggestion?

I need to use freestyler dmx that it is the main software used to manage lights in the club, but a need to use a seondary software to manage matrix of led mounted on a christmas tree, and freestyler is quite poor in doing this.