Tell us which Mac you have, what year it was made, and which OS is running.
There are terminal commands that can turn OFF the startup sound.
Seems to me there is (or was) a terminal command that can set the volume of the sound.
With Ventura, I believe you can now turn the startup sound on/off in system settings.