> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# PreviewAudio - ComfyUI Built-in Node Documentation

> Complete documentation for the PreviewAudio node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/PreviewAudio/en.md)

The PreviewAudio node creates a temporary audio preview that can be played directly in the interface. It takes audio data as input and generates a preview widget, allowing users to listen to audio outputs without saving permanent files.

## Inputs

| Parameter | Data Type | Required | Range | Description                                                                                                                                     |
| --------- | --------- | -------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `audio`   | AUDIO     | Yes      | -     | The audio data to preview. This node will raise an error if the input audio is None, which can happen when the source video has no audio track. |

## Outputs

| Output Name | Data Type | Description                                                               |
| ----------- | --------- | ------------------------------------------------------------------------- |
| `ui`        | UI        | Displays an audio player widget in the interface for previewing the audio |

***

**Source fingerprint (SHA-256):** `d914d634c063cc97e3cd24b813250d1e5b0e4bce23dfe97d475259a53b3212d2`
