Fortunately, one of the things the Arduino can do that the Raspberry Pi can't is connect with analog components out of the box. This makes it the more sensible choice for projects using such hardware.