How rainbow686/gesture-synth-weld works
Gesture Synth Weld is a browser-based hand-tracking chord synthesizer. The main workflow is: a player starts the instrument, chooses camera or keyboard input, shapes harmony and expression, hears synthesized audio, and can record and save a take locally. App.tsx is the sampled runtime orchestrator; the README documents additional playing modes and recording capabilities whose detailed implementation is not fully shown in the excerpts. Edges cite the README or the source that shows the relationship; unsampled details are not inferred.
Main entry points: App.tsx App Orchestrator · useRecording.ts Recording Flow · audioEngine.ts Audio Engine · SettingsPanel.tsx Instrument Settings
Components 21
Play and Input
- App Orchestrator
src/App.tsx - Camera Input
src/input/cameraSource.ts - Keyboard Input
src/input/keyboardSource.ts - Key Bindings
src/input/keymap.ts - Hand Tracker
src/handTracker.ts
Harmony and Sound
- Chord Theory
src/chords.ts - Audio Engine
src/audioEngine.ts
Recording and Gallery
- Recording Flow
src/recording/useRecording.ts - Recording Sheet
src/recording/RecSheet.tsx - Recording Compositor
src/hud/recording.ts - Recording Utilities
src/recording/utils.ts - Works Gallery
src/components/WorksPanel.tsx - Local Works Store
src/works/workStore.ts
Interface and Signals
- Instrument Settings
src/components/SettingsPanel.tsx - Live HUD
src/hud/draw.ts - Waveform Display
src/hud/waveform.ts - Guides and Help
src/components/HelpModal.tsx - Analytics Events
src/analytics.ts
Other components
- Player
- Browser Audio
- Analytics Services
Connections 26
- Player → App Orchestrator: starts and plays
README.md - App Orchestrator → Camera Input: selects input
src/App.tsx - App Orchestrator → Keyboard Input: selects input
src/App.tsx - Keyboard Input → Key Bindings: uses bindings
src/input/keyboardSource.ts - Camera Input → Hand Tracker: tracks hands
src/input/cameraSource.ts - App Orchestrator → Hand Tracker: consumes gestures
src/App.tsx - App Orchestrator → Audio Engine: controls sound
README.md - Audio Engine → Chord Theory: gets chord frequencies
src/audioEngine.ts - Audio Engine → Browser Audio: synthesizes audio
README.md - Player → Instrument Settings: configures instrument
README.md - App Orchestrator → Instrument Settings: renders settings
src/App.tsx - App Orchestrator → Live HUD: draws live display
src/App.tsx - App Orchestrator → Waveform Display: renders waveform
src/App.tsx - Player → Recording Flow: records a take
README.md - App Orchestrator → Recording Flow: manages recording
src/App.tsx - App Orchestrator → Recording Sheet: renders recording sheet
src/App.tsx - Recording Flow → Recording Compositor: composes frames
src/recording/useRecording.ts - Recording Flow → Recording Utilities: makes cover art
src/recording/useRecording.ts - Recording Sheet → Local Works Store: loads and deletes works
src/recording/RecSheet.tsx - Recording Flow → Local Works Store: saves finished works
src/recording/useRecording.ts - Player → Works Gallery: views recordings
README.md - App Orchestrator → Works Gallery: renders gallery
src/components/WorksPanel.tsx - App Orchestrator → Guides and Help: opens help
src/App.tsx - App Orchestrator → Analytics Events: tracks interactions
src/App.tsx - Instrument Settings → Analytics Events: tracks changes
src/components/SettingsPanel.tsx - Analytics Events → Analytics Services: sends events
src/analytics.ts