Skip to content

rekab/robovoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboVoice

Animates a 144 LED Adafruit DotStar strip using the pyo library to pick up and change a voice to sound kinda robotic.

Tested with a C-Media external USB sound card on a rpi4.

Installation

Hardware

Plug in DotStar pins:

  • Yellow: GPIO11 (SCLK) - clock
  • Green: GPIO10 (MOSI) - data
  • Black: GND

DotStar gets its power using 5v a micro USB.

  • Micro USB pinboard
  • 1000µF (6.3V or higher) capacitor close to the strip (between 5V and GND wires) to handle inrush curent.

Software pre-reqs

sudo apt install libportaudio2
sudo apt install libportmidi0
sudo apt install liblo-tools
sudo apt install libsndfile1

python3 -m venv voice-env
source voice-env/bin/activate
pip install -r requirements.txt

Add to crontab:

@reboot /home/pi/code/robovoice/daemon.sh 2>&1 | multilog s1000000 n10 /home/pi/robovoice-logs/

About

Python robot voice changer with DotStar animation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors