Add ttstoy cog

This commit is contained in:
2026-06-05 16:41:55 -05:00
parent 0e9f4a5224
commit 6739b2d6f1
975 changed files with 8216 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/bin/bash
# Quick start script for DECTalk server
echo "🤖 Starting DECTalk TTS Server..."
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "📦 Installing dependencies (including authentic DECTalk)..."
npm install
fi
# Check if ffmpeg is available
if ! command -v ffmpeg &> /dev/null; then
echo "❌ Error: ffmpeg is not installed"
echo "Install it with:"
echo " - Ubuntu/Debian: sudo apt install ffmpeg"
echo " - Fedora: sudo dnf install ffmpeg"
echo " - Arch: sudo pacman -S ffmpeg"
exit 1
fi
# Check if dectalk package is installed
if [ ! -d "node_modules/dectalk" ]; then
echo "❌ Error: dectalk package not installed"
echo "Run: npm install"
exit 1
fi
# Start the server
echo "✅ Starting server on port ${PORT:-3000}..."
echo "🎙️ Using authentic DECTalk (Moonbase Alpha voice)"
npm start