Process audio from any media file format
process_media_file.RdThis function provides a convenient interface to process audio from any media file format supported by av (including video files), perform superassp analysis, and return results without creating intermediate files.
Usage
process_media_file(
file_path,
analysis_function = "trk_rms",
start_time = 0,
end_time = NULL,
target_sample_rate = NULL,
...
)Arguments
- file_path
Path to the media file
- analysis_function
Name of analysis function (e.g., "trk_rms", "trk_formant_forest")
- start_time
Start time in seconds (default 0)
- end_time
End time in seconds (default NULL for end)
- target_sample_rate
Target sample rate (default NULL for original)
- ...
Additional parameters for the analysis function