How do you edit the sound that comes out of a microphone in realtime

the other question how do you make a phone dialer type program