Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Thomas B 5d20cb508b wolf: add zeppelin vor 10 Monaten
.gitignore misguided attempt at image rendering vor 10 Monaten
Makefile do rotation animation in script instead of makefile vor 10 Monaten
README.md move setup instructions to readme vor 10 Monaten
osci-pi.py phschoen: add volume override per artist vor 10 Monaten
osci.service move setup instructions to readme vor 10 Monaten
render.py do rotation animation in script instead of makefile vor 10 Monaten
toolbox.svg split toolbox logo svg into two paths. render them both, to try to remove connection line. does not work perfectly yet. vor 10 Monaten
zeppelin.svg wolf: add zeppelin vor 10 Monaten

README.md

Osci Music Player

Please see my blog post for more details.

Oscilloscope Music Player for Raspberry Pi. Tested with a Pi Zero 2 W, connected to a HiFiBerry DAC+ Zero, running Raspberry Pi OS (Legacy, 32bit) Lite. Powered by PiSugar 2 and their Python API.

Also includes a simple script to convert single SVG paths to audio. Run the included makefile to convert the SVG files in this directory.

Quick Start

Prepare a SD card with the Raspbian as linked above. Then run the following commands.

sudo sh -c 'echo "dtoverlay=hifiberry-dac" >> /boot/config.txt'
sudo apt-get update
sudo apt-get install python3 python3-pip python3-pil libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libopenjp2-7 libtiff5 ffmpeg git vim
curl http://cdn.pisugar.com/release/pisugar-power-manager.sh | sudo bash
pip install pisugar
pip install luma.oled
pip install psutil
sudo usermod -a -G spi,gpio,i2c $USER
cd ~
git clone https://git.xythobuz.de/thomas/osci-music-player
sudo cp osci-music-player/osci.service /etc/systemd/system/osci.service
# edit username in /etc/systemd/system/osci.service as needed
sudo systemctl daemon-reload
sudo systemctl enable osci.service
sudo reboot

To quickly test new changes to the script:

ssh osci-music "sudo systemctl disable --now osci.service" && scp osci-pi.py osci-music:~/osci-music-player && ssh osci-music "sudo systemctl enable --now osci.service"

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See <http://www.gnu.org/licenses/>.