> ## 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.

# GetAudioLatentSize - ComfyUI Built-in Node Documentation

> Reads an audio latent and returns its length, audio channel count, and batch size, so those values can be reused without decoding the audio.

Reads an audio latent and returns its length, audio channel count, and batch size, so those values can be reused without decoding the audio. Use it to size noise masks or match audio and video lengths before sampling. The measured values are also printed on the node itself.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `latent` | The audio or audio/video latent to inspect. When the latent holds several streams, the audio stream is measured. | LATENT | Yes | - |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `length` | The length of the audio latent, in latent cells rather than audio samples. | INT |
| `audio_channels` | The number of audio channels. Latents without an audio channel dimension report one channel. | INT |
| `batch_size` | The number of latents in the batch. | INT |

> 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/GetAudioLatentSize/en.md)

***

**Source fingerprint (SHA-256):** `82bac0636a070d14a8845c3f4a5e73359c1d943ce223be3b93212ef25d44b1a8`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.