I gave myself away in this very manner - when trying to prank my mom once. Was hiding (as a kid) in a pile of clothes. Was gonna scare her as a prank. She walked into the room and ripped a loud one.
My plans went down the tubes when I was snickering and trying not to laugh.