A configurable, mutable toddler radio that encourages spelling
Project description
song-and-spell
tl;dr
A key-logger that triggers playing an audio track when a sequence of keys are pressed and a web-app to configure the words and songs.
Requires VLC to be installed on the host and an X server to be running.
todo
key-loggeryoutube-dl the link and store as mp3 locally.flask-web-applist of words and files/linksmuteupload fileremove word/file
- ~~form add word/link ~~
systemd service to:run on start-uprestart on error
- bash script to deploy (ideally to an [rpi-400]https://www.raspberrypi.org/products/raspberry-pi-400/)
delete bugvlc not terminating when song finishesspace to stop- volume-normalisation?
notes
- the pynput library requires an X server to be running. Set default resolution in
raspi-config
(anything other than default) to force the X server to start.
setup bluetooth
# install required packages
sudo apt install bluealsa pulseaudio* bluez-tools vlc
# set display to force X-server to start
TODO
raspi-config nonint ???
# pair bluetooth
TODO
# update bluetoothd service to start with a2dp plugin
sudo sed -i 's#ExecStart=/usr/lib/bluetooth/bluetoothd#& --plugin=a2dp#' /lib/systemd/system/bluetooth.service
# reload/restart bluetooth service
systemctl daemon-reload
systemctl restart bluetooth
# switch to the bluetooth speaker as the default speaker when it connects
echo "load-module module-switch-on-connect" >> /etc/pulse/default.pa
setup
python3 -m venv
. bin/venv/activate
pip3 install -r requirements.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
song_and_spell-0.10.0-py3.6.egg
(20.3 kB
view hashes)