説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Thomas Buck fe77c532de reduce volume for custom wavs 2ヶ月前
.gitignore misguided attempt at image rendering 2ヶ月前
Makefile do rotation animation in script instead of makefile 2ヶ月前
README.md move setup instructions to readme 2ヶ月前
osci-pi.py reduce volume for custom wavs 2ヶ月前
osci.service move setup instructions to readme 2ヶ月前
render.py do rotation animation in script instead of makefile 2ヶ月前
toolbox.svg split toolbox logo svg into two paths. render them both, to try to remove connection line. does not work perfectly yet. 2ヶ月前
zeppelin.svg wolf: add zeppelin 2ヶ月前

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