it's not a shell script, it's a C program, which would need to be compiled first.
i guess it's not really what you're looking for.
do you already have other software installed to control your midi?
then chances are it can also be operated from the command line.
other than that, a quick search revealed this
but maybe you'd like to explain the bigger picture in more detail, you might get better help.
what are you trying to achieve?