You hear a higher pitch if more sound waves per second are hitting your ear.