def sample_rate(input_filepath):
validate_input_file(input_filepath)<EOL>output = soxi(input_filepath, '<STR_LIT:r>')<EOL>return float(output)<EOL>
Show sample-rate.

Parameters
----------
input_filepath : str
    Path to audio file.

Returns
-------
samplerate : float
    number of samples/second