I got the same sound from my E90 M3 03/08 build date the other day several times. It is really loud and scares the shit out of me! It sounds like a stone hitting the windshield at speed.
I think it occured both times while I was trying to make a call using the bluetooth hookup.
I will be going in for a required service soon and will people know the story.