I have successfully tried public address system using a microphone and a loudspeaker using LM386 so that whatever I speak in front of mic is heard clearly on speaker. Now I want to do speech processing on Matlab. For that the main problem I am facing is how to give the output of amplifier which is analogue to the computer through its port for microphone? Should I use 3.5mm universal jack? I also attach circuit diagram of the amplifier I am using.