Very useful, thanks. I am helping someone here shortly to add a startup sound to their unit. I ran into problems when I realised the volume was muted at boot, instead of being at 0db like it was when I last did this.

If anyone is up for enhancing this, my main suggestion is to add a way of setting the volume to the last known value of the car or home volume.