English version below 🇺🇸
Dieses Projekt ist ein Finger-basierter Synthesizer, der mithilfe von Computer Vision (MediaPipe) Hand- und Fingerbewegungen in Echtzeit erkennt und in Musik umwandelt.
Jeder Finger ist einer bestimmten Note zugeordnet. Die Krümmung (Curl) eines Fingers bestimmt die Lautstärke des gespielten Tons, während der Daumen die Gesamtlautstärke einer Hand kontrolliert. Dadurch entsteht ein intuitives, berührungsloses Musikinstrument.
Die gesamte Logik für:
- Finger-zu-Noten-Zuordnung
- Lautstärkesteuerung
- Glättung und Schwellenwerte
- Audio-Parameter
befindet sich im Ordner:
config/Dort können alle Parameter flexibel angepasst werden.
- Kamera erfasst die Hände
- MediaPipe erkennt 21 Hand-Landmarks
- Finger werden anhand ihrer Gelenke analysiert
- Die Krümmung eines Fingers bestimmt die Lautstärke eines Tons
- Der Daumen steuert die Gesamtlautstärke der jeweiligen Hand
- Eine Audio-Engine erzeugt den Klang in Echtzeit
- Python 3.x
- Webcam
- Abhängigkeiten aus
requirements.txt
pip install -r requirements.txt- Repository klonen:
git clone https://github.com/SilasHelgesson/Finger_Synth
cd Finger_Synth- Abhängigkeiten installieren:
pip install -r requirements.txt- Anwendung starten:
python src/apps/desktop.pyFinger_Synth/
│── config/ # Konfigurationsdateien
│── src/
│ ├── apps/
│ │ └── desktop.py # Haupteinstiegspunkt
│ ├── audio/ # Audio-Engine
│ └── hand_tracking/ # Handerkennung & Tracking
│
│── README.mdThis project is a finger-controlled synthesizer using computer vision (MediaPipe) to track hands and generate sound in real time.
Each finger is mapped to a musical note. The finger curl controls the volume of the note, while the thumb controls the overall volume of each hand.
All configuration related to:
- Finger-to-note mapping
- Volume control
- Smoothing and thresholds
- Audio parameters
is located in:
config/All behavior can be adjusted there.
- Camera captures the hands
- MediaPipe detects 21 hand landmarks
- Finger joints are analyzed
- Finger curl determines note volume
- Thumb controls overall hand volume
- Audio engine generates sound in real time
- Python 3.x
- Webcam
- Dependencies listed in
requirements.txt
pip install -r requirements.txt- Clone the repository:
git clone https://github.com/SilasHelgesson/Finger_Synth
cd Finger_Synth- Install dependencies:
pip install -r requirements.txt- Run the application:
python src/apps/desktop.pyFinger_Synth/
│── config/
│── src/
│ ├── apps/
│ │ └── desktop.py
│ ├── audio/
│ └── hand_tracking/
│── README.md