Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas B 5d20cb508b wolf: add zeppelin 10 maanden geleden
.gitignore misguided attempt at image rendering 10 maanden geleden
Makefile do rotation animation in script instead of makefile 10 maanden geleden
README.md move setup instructions to readme 10 maanden geleden
osci-pi.py phschoen: add volume override per artist 10 maanden geleden
osci.service move setup instructions to readme 10 maanden geleden
render.py do rotation animation in script instead of makefile 10 maanden geleden
toolbox.svg split toolbox logo svg into two paths. render them both, to try to remove connection line. does not work perfectly yet. 10 maanden geleden
zeppelin.svg wolf: add zeppelin 10 maanden geleden

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/>.