The USB sound card or bespoke analogue with an ADC (analog-digital converter) can be used to connect the additional hardware to Raspberry Pi