# tf.contrib.summary.audio

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/summary_ops_v2.py#L823-L837) |

Writes an audio summary if possible.

    tf.contrib.summary.audio(
        name, tensor, sample_rate, max_outputs, family=None, step=None
    )