it's called a talk box
A talk box is a effects device that allows a musician to modify the sound of a musical instrument. The musician controls the modification by changing the shape of their mouth.
TalkBoxThe effect can be used to shape the frequency content of the sound and to apply speech sounds (in the same way as singing) onto a musical instrument, typically a guitar (its non-guitar use is often confused with the vocoder) and keyboards.
A talk box is usually an effects pedal that sits on the floor and contains a speaker attached with an air tight connection to a plastic tube, however, it can come in other forms such as the 'Ghetto Talkbox': A homemade version which is usually crude, or higher quality custom made versions. The speaker is generally in the form of a horn driver, the sound generating part of a horn speaker with the horn replaced by the tube connection.