The AudioRecorder object can be used to listen for sound and record it to a file.
Create an AudioRecorder object using the CreateAudioRecorder method of the app object:
Use the SetFile method to tell the object where to store the sound:
The Start method tells it to start recording:
And the Stop method is for when you have finished recording:
See 'CreateAudioRecorder for more informations and a complete function list