How jodacola/flowjam works
Main Components
a) Input Layer:
• Key Event Capture System (using Quartz API)
• Event Processing & Threshold Management
b) Audio Management Layer:
• Audio Track Management
• Layer Mixing & Playback
c) Jam Library System:
• Library Management
• Manifest Processing
• Audio File Storage
Component Relationships
[Global Keyboard Input] → [Key Event Manager] → [Threshold Manager]
• ↓
[Jam Library] → [Audio Manager] ← [Threshold-based Track Selection]
• ↓
• [Audio Output]
Detailed Component Breakdown
Key Event Manager (flowjam/key_event_manager.py):
• Connection to macOS Quartz API
• Event counting mechanism
• To threshold management
Audio Manager (flowjam/audio_manager.py):
• Track layering system
• Connection to audio playback
• Relationship with thresholds
Jam Library (jams/library.py):
• Manifest processing
• Audio file management
• Relationship with audio manager
Configuration Elements
A separate section showing configurable parameters:
• Threshold settings
• Falloff period
• Jam library path
Technical Details
• Python 3 runtime environment
• macOS-specific components
• File format support (WAV/MP3)
• Real-time audio mixing capabilities