Begins capturing audio
audio_startCapture(line)
Java object. Audio line.
This function starts the audio capturing process (done in the background) on a given audio line. The audio is continuously captured but the buffer will only keep the latest audio data for a certain duration before being overwritten by newer data. The buffer duration is set when creating the audio line using audio_getLine.
// Requires a microphone line = audio_getLine(16000,16,1,%t,%t,2,10); audio_startCapture(line) // The audio capture process has started. messagebox("Please say something and then click OK to continue","modal"); audio_snapshot(line) audio_playSnapshot(line) audio_stopCapture(line) | ![]() | ![]() |