<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > ! Open AI - Whisper > AIC.-Recording > AIC. - Recording Commands |
MiniRobotLanguage (MRL)
AIC.Record Synchron
Initiates synchronous recording.
You can use the "Recording Button" to End the recording.
Intention
The AIC.Record Synchron command starts an synchronous audio recording (Background recording while the Script waits),
It will not brings up the "Recording Button" that you need to end the recording.
Therefore you should do that yourself, else you can not stop the recording.
Finally it will save the mp3-result to the specified file-name in P1. If P1 is omitted, the system will generate a file-name automatically.
In reality, this command initiates the audio recording while halting the script.
To stop the recording, press the STOP Button.
Of course the Recording will also end when the Script ends.
Syntax
AIC.Record Synchron[|P1][|P2]
AIC.Rec[|P1][|P2]
Parameter Explanation
•P1: Optional. The file name to which the audio will be recorded. If omitted, the system will generate a file name.
•P2: Optional. Variable to store the file name used for recording. Useful when P1 is omitted and the system generates a file name. If omitted, the result is placed on the Top of Stack (TOS).
Example
'***********************************
' IRS.-Sample
'***********************************
' We make the button manually
AIC.crb|0|0
' We start the recording
AIC.Record Synchron||$$FIL
MBX.File was saved: $$FIL
ENR.
Remarks
-
Limitations:
-
See also:
•