Files
2026-04-21 14:47:37 -07:00

60 lines
1.1 KiB
Markdown

# ComfyUI Auto Audio Player
A lightweight ComfyUI custom node that automatically plays audio when a new `AUDIO` input reaches the node.
## Features
- Auto-play when fresh audio reaches the node
- Play / Pause control
- Seek bar for scrubbing through the clip
- Volume control
- Loop toggle
- Autoplay toggle
- Passes the original `AUDIO` through unchanged for downstream nodes
## Node
- **Name:** `Auto Audio Player`
- **Category:** `audio/utils`
## Inputs
- `audio` (`AUDIO`)
- `autoplay` (`BOOLEAN`, default `true`)
- `default_volume` (`FLOAT`, default `1.0`)
- `loop` (`BOOLEAN`, default `false`)
## Output
- `audio` (`AUDIO`) passthrough
## Install
1. Clone or download this repository.
2. Place the folder in your ComfyUI `custom_nodes` directory.
3. Restart ComfyUI.
4. Add **Auto Audio Player** from `audio/utils`.
5. Connect any `AUDIO` output into it.
Example:
```text
Audio Source -> Auto Audio Player -> Any downstream AUDIO node
```
## Files
```text
ComfyUI-AutoAudioPlayer/
├── __init__.py
├── LICENSE
├── README.md
├── .gitignore
└── js/
└── auto_audio_player.js
```
## License
MIT