In my regular Minecraft survival world (1.17.30), I want to know if there is a way to make only certain mobs make no sound or only some sounds.

Example 1: A creeper would not make a hiss sound when charging but would still make a boom sound when exploding.

Example 2: A pig never oniks but a chicken still clucks