get_samplingrate: Get the audio sampling rate of a media file

View source: R/mediainfo.R

get_samplingrateR Documentation

Get the audio sampling rate of a media file

Description

Use MediaInfo to quickly look up the audio sampling rate of a media file in hertz (Hz).

Usage

get_samplingrate(file)

Arguments

file

A string containing the file path of a media file.

Value

A double indicating the audio sampling rate of file (in Hz).

See Also

Other mediainfo functions: get_duration(), get_framerate(), get_height(), get_width(), mediainfo(), mediainfo_parameter(), mediainfo_query(), mediainfo_template()

Other convenience functions: get_duration(), get_framerate(), get_height(), get_width()


jmgirard/tidymedia documentation built on June 15, 2024, 1:52 p.m.