midi: shift margin check by mutiplet; sample