readonly.sh to install directive, english please
This commit is contained in:
parent
bffad8f7cf
commit
1a2c6dca60
15
README.md
15
README.md
|
@ -24,21 +24,22 @@ After login (ssh) proceed with these steps:
|
||||||
9. `chmod u+x ~/bananenkeyboard/Pi/s.py`
|
9. `chmod u+x ~/bananenkeyboard/Pi/s.py`
|
||||||
10. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'`
|
10. `sudo sh -c 'cp /home/pi/bananenkeyboard/piconfig/rc.local /etc/rc.local'`
|
||||||
11. `sudo chmod u+x /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`
|
`cd ~/bananenkeyboard/Pi`
|
||||||
|
|
||||||
`python3 ./s.py`
|
`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`
|
`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
|
# TODO
|
||||||
* USB-Stick mit Samples anschließen, welche dann den "Standard" überschreiben
|
* Connect USB stick with samples which should override the default samples
|
||||||
* Pi auf Readonly umbauen, damit ein Abschalten über ein "Stecker raus" funktioniert
|
* `ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred`. Especially if using mp3s?
|
||||||
* `ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred`. insbesondere, wenn MP3s verwendet werden
|
|
Loading…
Reference in New Issue