record
Record audio to a file
conhive-agent audiomanagement record
Description
Section titled “Description”Records audio using the system’s default or a specified input device and saves it to a file. Parameters such as duration, output file name/format, save directory, channel count, and sample rate can be configured, often via a JSON payload using the ‘—json’ flag. Requires appropriate permissions and audio hardware/drivers. Uses FFmpeg for recording.
conhive-agent audiomanagement record [flags]
Examples
Section titled “Examples”am record --json '{"file_name":"meeting_audio","duration":60,"file_extension":"mp3","save_folder":"/data/recordings"}'
Options
Section titled “Options” -h, --help help for record --json string JSON input (with default values): { "duration": 3, "fileExtension": "flac", "filterVolume": 0, "filterHighPass": 0, "addTimestamp": true, "saveFolder": "~/divvoice/audiomanagement/recordings" }
Options inherited from parent commands
Section titled “Options inherited from parent commands” -f, --log-format string Specify the logging format (options: console, json) (default "text") -l, --log-level string Define the logging level (options: trace, debug, info, warn, error, fatal, panic) (default "info") -o, --log-to-file Enable logging to a file (default true) -p, --port int32 Port to run the server on (default 5050) -w, --workdir string Set the working directory for agent operations (default: $HOME/.conhive)
SEE ALSO
Section titled “SEE ALSO”conhive-agent audiomanagement
- Manage audio operations (record, play, analyze)