Leveling Audio Output From Instruments?

Is there a way to make the softer sounds of an instrument louder and the louder sounds of an instrument softer? I tried using the Sampler section side panel for the volumes of the various samples but was hoping that there’s an easier way to do it.

K thanks.

Have you tried using a compressor?