RecordVoice: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This command records voice to a WAV file (sample rate 8kHz, Mono, 8 bits per sample, block-align 1, A-LAW coding) in the existing call on the specified GSM port. Optional flag PCM16 can be added to record 16 bits per sample. Command returns as soon as the recording starts '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |RecordVoice |PortIndex, DestinationVoiceFile, [PCM16 flag] |Error Code in case of error. |} '''OUTPUT''...") |
m (added Category:R2D2 using HotCat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Voice]] | |||
[[Category:R2D2]] |
Latest revision as of 11:29, 27 March 2025
This command records voice to a WAV file (sample rate 8kHz, Mono, 8 bits per sample, block-align 1, A-LAW coding) in the existing call on the specified GSM port. Optional flag PCM16 can be added to record 16 bits per sample.
Command returns as soon as the recording starts
COMMAND
Command | Line Arguments | Returns |
---|---|---|
RecordVoice | PortIndex, DestinationVoiceFile, [PCM16 flag] | Error Code in case of error. |
OUTPUT
GSM port command status in the following format:
"%s\n", command_status
EXAMPLE
~# RecordVoice 0 /mnt/sdcard/usr/wav/myrecord.wav PCM16
OK