A cornet is a brass instrument that is similar to the trumpet . The cornet is a brass instrument very similar to the trumpet , distinguished by its conical bore , compact shape , and mellower tone quality .