earpiece has definitions from the field of physics
1
[ noun ] (physics) electro-acoustic transducer for converting electric signals into sounds; it is held over or inserted into the ear

Examples

"it was not the typing but the earphones that she disliked"

*