Resistive touch sensors to sound by touching the probes or things connected to them.
Go to file
starcalc 8a6863dd7c Folders, Extensions 2022-01-13 18:14:54 +01:00
Pi Gitarre. Originalsamples von https://philharmonia.co.uk/resources/sound-samples/ 2020-06-29 23:12:30 +01:00
backup redraw box in inkscape 2022-01-04 18:55:11 +01:00
piconfig copy files from pi3 2020-06-08 20:55:44 +02:00
touchcircuit fix swapped resistor silkscreen 2020-06-08 23:55:53 +02:00
touchcontroller Folders, Extensions 2022-01-13 18:14:54 +01:00
.gitignore raspberry script 2020-01-23 00:14:14 +01:00
Bananenkeyboard.code-workspace Folders, Extensions 2022-01-13 18:14:54 +01:00
README.md „README.md“ ändern 2021-10-25 16:27:15 +00:00
plexibox.svg redraw box in inkscape 2022-01-04 18:55:11 +01:00

README.md

bananenkeyboard

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:

  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

Starten mit

cd ~/bananenkeyboard/Pi

python3 ./s.py

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/

TODO

  • USB-Stick mit Samples anschließen, welche dann den "Standard" überschreiben
  • Knopf, welcher die Empfindlichkeit einstellt. Realisiert über einen Knopf am Arduino. (An einem der Digitaleingänge). Wechselt dann zwischen "ein paar" Einstellungen der Empfindlichkeit durch.
  • Daisy-Chaining Powerbank erforderlich? (Nicht wirklich zwingend, aber nice to have)