A multi-voice audio mixer and streamer that takes speech input from IRC or local files and creates a surreal audio experience with parallel voices, effects, and harbors.
BrainMelter is a suite of tools for creating layered speech audio experiences. It combines:
- A Liquidsoap server for multi-channel audio mixing
- Text-to-speech synthesis (espeak and flite support)
- Audio effects (echo, reverb, pitch shifting, vocoder)
- IRC connectivity for remote control
- Multiple audio harbors for parallel audio streams
- Liquidsoap (for audio mixing)
- espeak and/or flite (for text-to-speech)
- ffmpeg (for audio processing)
- netcat (for IRC connectivity)
- bc (for calculations)
- Clone this repository:
git clone https://github.com/yourusername/brainmelter.git
cd brainmelter- Make scripts executable:
chmod +x *.sh- Start the Liquidsoap server:
liquidsoap brainmelter.liqSend speech directly to BrainMelter:
./espeak-direct.sh "Your text here" --harbor main --effect noneConnect to an IRC server and send messages to BrainMelter:
./irc-to-brainmelter.sh --server irc.example.com --channel "#mychannel"Process a text file with sample phrases:
./irc-to-brainmelter.sh --test-file test_phrases.txt --delay 3Play multiple speech streams simultaneously:
./parallel-speech-irc.sh --localDirect streaming of text-to-speech to Liquidsoap:
./espeak-direct.sh "Text to speak" [--harbor HARBOR] [--voice VOICE] [--effect EFFECT] [--volume VOLUME]Connect to IRC and stream messages to BrainMelter:
./irc-to-brainmelter.sh [--server HOST] [--port PORT] [--channel CHANNEL] [--nick NAME]Play multiple voices in parallel through different harbors:
./parallel-speech-irc.sh [--local] [--tts ENGINE] [--duration SECONDS]BrainMelter uses multiple "harbors" for audio streams:
main- Primary audio channelfx1- Effects channel 1fx2- Effects channel 2ambient- Background ambient soundsdrums- Rhythmic sounds
Available effects:
none- No effectecho- Simple echo effectreverb- Reverberation effectpitch- Pitch shiftingvocoder- Voice modulation effect
MIT License
- Inspired by kmein's brainmelter.nix from the niveum project