A slap? I have never experienced nothing like that, so I'm not sure if I can answer that but, what did happened to me when I was close to projecting, was that falling sensation you have sometimes when falling asleep.
I also felt like floating and instinctively knew I was close, but out of nowhere that sensation came, it scared the living hell out of me, just like you I was listening to binaural beats.
Well, in the Hypnagogic state ( the one we are while trying to project ) usually weird things will happen, hallucinations and other visual, auditory, and physical stimuli. The reason as to why sometimes these things happen when close to projecting it's a little unclear. But I guess since the body doesn't us to get separated at the slightest sign of "danger" it will snap you back.
My theory is that, while we're fully immersed into projecting we will not consciously pay attention to our surroundings anymore,but our body will,say for instance some noise was made near or in wherever the place you'll be projecting,the body will promptly stay in alert,thus ruining the projection, so the slap you heard probably was not the cause of you snapping back but the consequence.Your body aborted the mission so you heard this slap within your head and woke up.
At least that's what I think, but my experience was not exactly the same so I might not be the right person to say it. I'm curious to what it was as well, hopefully someone will give a better answer.