The Bug:
The sounds of fireworks being shot from dispensers are controlled by the "Friendly Mobs" sound category instead of "Blocks".
Dispensers play their sounds through the "Blocks" volume slider when firing arrows, eggs, potions, wind charges, and other projectiles. However, a dispenser firing a firework plays the sound through the "Friendly Mobs" volume slider, therefore introducing an inconsistency. It’s important to note that the actual sound of the firework taking off is a different sound. Try not to get confused when testing this issue.
Steps to Reproduce:
Open the "Music & Sounds" menu.
Set the "Master Volume" slider to 100% and the "Friendly Mobs" slider to 0%.
Place down a dispenser and put some fireworks inside of it.
Activate the dispenser and observe how no sound of a firework being shot is heard. You will still hear the firework launching sound; that is a different sound than the firework being shot from the dispenser.
Observed Behavior:
The sounds are controlled by the "Friendly Mobs" sound category.
Expected Behavior:
The sounds would be controlled by the "Blocks" sound category.
Can confirm.