Clawdbot Audio Nodes

Configure Clawdbot AI assistant audio nodes for text-to-speech and audio playback on remote devices.

Clawdbot Audio Nodes Overview

Audio nodes enable Clawdbot to play audio through speakers on remote devices. Use audio nodes for TTS announcements, music playback, and sound notifications.

Features

FeatureDescription
Text-to-SpeechConvert text to spoken audio
Audio FilesPlay MP3, WAV, OGG files
Volume ControlAdjust playback volume
Audio QueueQueue multiple audio items
DuckingLower volume during speech

Configuration

Node Setup

{
  "node": {
    "name": "kitchen-speaker",
    "capabilities": ["audio"],
    "audio": {
      "device": "default",
      "volume": 80,
      "tts": {
        "engine": "system",
        "voice": "default",
        "rate": 1.0
      }
    }
  }
}

TTS Engines

EnginePlatformDescription
systemAllNative system TTS
googleAllGoogle Cloud TTS
azureAllAzure Cognitive Services
elevenlabsAllElevenLabs AI voices

Commands

Play Audio

# Play TTS
clawdbot nodes audio kitchen-speaker --tts "Dinner is ready!"

# Play file
clawdbot nodes audio kitchen-speaker --file /path/to/audio.mp3

# Adjust volume
clawdbot nodes audio kitchen-speaker --volume 50

Agent Commands

The agent can use audio nodes:

"Play announcement on kitchen speaker: Meeting in 5 minutes"

Audio Queue

Queue Management

{
  "audio": {
    "queue": {
      "maxSize": 10,
      "mode": "fifo",
      "interruptible": true
    }
  }
}

Queue Modes

ModeDescription
fifoFirst in, first out
priorityPriority-based ordering
replaceNew audio replaces queue

Audio Ducking

Lower background audio during announcements:

{
  "audio": {
    "ducking": {
      "enabled": true,
      "duckLevel": 20,
      "fadeTime": 500
    }
  }
}

Multi-Room Audio

Broadcast to All

clawdbot nodes audio --all --tts "Announcement for everyone"

Room Groups

{
  "nodes": {
    "groups": {
      "downstairs": ["kitchen", "living-room"],
      "upstairs": ["bedroom", "office"]
    }
  }
}
clawdbot nodes audio --group downstairs --tts "Hello downstairs"

Supported Formats

FormatExtensionNotes
MP3.mp3Most common
WAV.wavUncompressed
OGG.oggOpen format
FLAC.flacLossless

Error Handling

Retry on Failure

{
  "audio": {
    "retry": {
      "maxAttempts": 3,
      "delay": 1000
    }
  }
}

Fallback Device

{
  "audio": {
    "fallback": "living-room"
  }
}

Next Steps