Microphone Recording?

does anyone know if there is a way to record audio with the microphone class and then save that recording to the server?