Revert "libmid: remove max min from instrument class"

This reverts commit 616fb9472932f7305f1fdbcdaa598c1de872e222.
libmid: remove max min from instrument class FIXED