From 1a2c6dca60f05983278fd586807160d0f00cd03f Mon Sep 17 00:00:00 2001 From: starcalc Date: Thu, 3 Mar 2022 09:19:01 +0000 Subject: [PATCH] readonly.sh to install directive, english please --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7aafaff..c598058 100644 --- a/README.md +++ b/README.md @@ -24,21 +24,22 @@ After login (ssh) proceed with these steps: 9. `chmod u+x ~/bananenkeyboard/Pi/s.py` 10. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'` 11. `sudo chmod u+x /etc/rc.local` +12. `chmod u+x ~/bananenkeyboard/piconfig/readonly.sh` +13. `~/bananenkeyboard/piconfig/readonly.sh` -Starten mit +Start with `cd ~/bananenkeyboard/Pi` `python3 ./s.py` -Das Skript wird durch den Schritt mit der `/etc/rc.local` automatisch nach Systemstart gestartet +By copying the rc.local (step 10), the script will be started in a `screen` after reboot -# Konvertieren und Stille herauskürzen aus Samples: +# Convert and remove silence from samples: `for file in *.mp3; do ffmpeg -i ${file} -af silenceremove=1:0:-30dB ${file/mp3/wav} -y; done` -Als Quelle haben wir zB https://philharmonia.co.uk/resources/sound-samples/ +An open source for samples is for example: https://philharmonia.co.uk/resources/sound-samples/ # TODO -* USB-Stick mit Samples anschließen, welche dann den "Standard" überschreiben -* Pi auf Readonly umbauen, damit ein Abschalten über ein "Stecker raus" funktioniert -* `ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred`. insbesondere, wenn MP3s verwendet werden \ No newline at end of file +* Connect USB stick with samples which should override the default samples +* `ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred`. Especially if using mp3s? \ No newline at end of file