If you tap out a rhythm, a code, or a number, you indicate it by hitting a surface or a machine such as a telephone.
Dermot joined her, his eyes on the dance floor, his fingers tapping out a rhythm on the table. [VERB PARTICLE noun (not pronoun)]
I picked up the phone immediately and tapped out the number Julie had jotted down for me. [VERB PARTICLE noun (not pronoun)]