How to change patterns via midi?

Here is an example: