> ## 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 generates a temporary audio preview file that can be displayed in the interface. It inherits from SaveAudio but saves files to a temporary directory with a random filename prefix. This allows users to quickly preview audio outputs without creating permanent files.

## Inputs

| Parameter       | Data Type      | Required | Range | Description                       |
| --------------- | -------------- | -------- | ----- | --------------------------------- |
| `audio`         | AUDIO          | Yes      | -     | The audio data to preview         |
| `prompt`        | PROMPT         | No       | -     | Hidden parameter for internal use |
| `extra_pnginfo` | EXTRA\_PNGINFO | No       | -     | Hidden parameter for internal use |

## Outputs

| Output Name | Data Type | Description                                 |
| ----------- | --------- | ------------------------------------------- |
| `ui`        | UI        | Displays the audio preview in the interface |
