2020-01-22 20:39:58 +00:00
|
|
|
# bananenkeyboard
|
|
|
|
|
2020-06-29 20:29:26 +00:00
|
|
|
Resistive touch sensors to sound by touching the probes or things connected to them.
|
|
|
|
|
|
|
|
|
|
|
|
When creating a new Raspian OS minimal, after login (ssh) proceed with these steps:
|
2020-06-29 21:14:42 +00:00
|
|
|
1. `sudo apt update`
|
|
|
|
2. `sudo apt upgrade`
|
|
|
|
3. `sudo apt -y install git python3-pip libsdl-mixer1.2`
|
|
|
|
4. `git clone https://repos.ctdo.de/interfisch/bananenkeyboard/`
|
|
|
|
5. `pip3 install pyserial pygame`
|
|
|
|
6. `sudo cp ~/bananenkeyboard/piconfig/config.txt /boot/config.txt`
|
|
|
|
7. `chmod u+x ~/bananenkeyboard/Pi/s.py`
|
2020-06-29 21:12:48 +00:00
|
|
|
|
|
|
|
Starten mit
|
|
|
|
|
2020-06-29 21:14:42 +00:00
|
|
|
`cd ~/bananenkeyboard/Pi`
|
2020-06-29 21:15:34 +00:00
|
|
|
|
2020-06-29 21:14:42 +00:00
|
|
|
`python3 ./s.py`
|
2020-06-29 22:09:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Konvertieren und Stille herauskürzen aus 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/
|