Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Thomas Buck 4717a903a3 move setup instructions to readme il y a 10 mois
.gitignore misguided attempt at image rendering il y a 10 mois
Makefile scale interpolated line step count according to line length, so all lines appear with the same brightness. il y a 10 mois
README.md move setup instructions to readme il y a 10 mois
osci-pi.py move setup instructions to readme il y a 10 mois
osci.service move setup instructions to readme il y a 10 mois
render.py hacky 'fix' for scaling in rotated case il y a 10 mois
toolbox.svg split toolbox logo svg into two paths. render them both, to try to remove connection line. does not work perfectly yet. il y a 10 mois

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