Back to Showcase
Text to SpeechAdvancedLightning TTS

The Agora — AI Debate Arena

Socrates argues FOR and Aristotle argues AGAINST any modern topic with AI-generated voices powered by Lightning TTS v3.2 WebSocket streaming. Each philosopher has a distinct voice with expressive parameters (emotion, pitch, volume, prosody) predicted by the LLM each round. Features philosophical and roast battle modes, escalating arguments, and an ancient Athenian judge.

The Agora — AI Debate Arena

Features

Socrates vs Aristotle AI debate
Expressive v3.2 WebSocket TTS streaming
Two modes: Philosophical and Roast Battle
LLM-predicted voice parameters per round
Ancient Athenian judge scoring
Audience voting system
Deploy to Vercel in one click

Quick Start

terminal
git clone https://github.com/smallest-inc/cookbook.git && cd cookbook/text-to-speech/debate-arena

Tech Stack

Next.jsLightning TTS v3.2OpenAI GPT-4o-miniWebSocket

Tags

debateexpressivewebsocketnext.jsinteractive