How jeanpruski/audio-follower works
Audio Follower est une application locale de suivi rythmique : le musicien fournit le tempo maître via un microphone, et le moteur ajuste la lecture d’une piste source pour la suivre. Le parcours principal va de l’analyse et du choix du BPM source, aux attaques live, à l’estimation/lissage du tempo, puis au contrôle du ratio et au time-stretch audio. L’interface web orchestre aussi l’analyse, les commandes live et la simulation. Les liens reflètent les appels visibles dans les extraits ou les relations documentées ; les connexions internes des composants non échantillonnés ne sont pas supposées.
Main entry points: live_engine.py Moteur live · server.py Serveur HTTP · simulate.py CLI simulation · tempo_estimator.py Estimation tempo
Components 22
Interface locale
- Serveur HTTP
audio_follower/ui/server.py - Interface web
audio_follower/ui/static/app.js
Analyse source
- Analyse source
audio_follower/analysis/source_analyzer.py - Métadonnées source
audio_follower/models/source_info.py - Résolution BPM
audio_follower/analysis/source_tempo_resolver.py - Candidats tempo
audio_follower/analysis/tempo_candidates.py
Suivi live
- Détection d’attaques
audio_follower/analysis/onset_detector.py - Estimation tempo
audio_follower/analysis/tempo_estimator.py - État tempo
audio_follower/models/tempo_state.py - Suivi de phase
audio_follower/analysis/phase_tracker.py - Moteur live
audio_follower/audio/live_engine.py
Synchronisation et audio
- Lissage tempo
audio_follower/sync/tempo_smoother.py - Follower tempo
audio_follower/sync/tempo_follower.py - PLL phase
audio_follower/sync/pll.py - Limiteur ratio
audio_follower/sync/rate_limiter.py - Time-stretch
audio_follower/stretch/granular_engine.py
Simulation
- CLI simulation
audio_follower/simulate.py - Générateur de beats
audio_follower/simulation/beat_generator.py - Générateur de motifs
audio_follower/simulation/rhythm_generator.py
Other components
- Musicien
- Navigateur local
- Entrée et sortie audio
Connections 25
- Navigateur local → Interface web: utilise
README.md - Interface web → Serveur HTTP: envoie requêtes
README.md - Serveur HTTP → Analyse source: analyse piste
audio_follower/ui/server.py - Analyse source → Métadonnées source: produit métadonnées
audio_follower/analysis/source_analyzer.py - Serveur HTTP → Résolution BPM: résout BPM
audio_follower/ui/server.py - Serveur HTTP → Moteur live: charge piste
audio_follower/ui/server.py - Serveur HTTP → CLI simulation: lance simulation
audio_follower/ui/server.py - Musicien → Entrée et sortie audio: joue au micro
README.md - Entrée et sortie audio → Moteur live: fournit audio
- Moteur live → Détection d’attaques: détecte attaques
audio_follower/audio/live_engine.py - Moteur live → Estimation tempo: ajoute événements
audio_follower/audio/live_engine.py - Estimation tempo → Candidats tempo: calcule hypothèses
audio_follower/analysis/tempo_estimator.py - Estimation tempo → État tempo: retourne estimation
audio_follower/analysis/tempo_estimator.py - Moteur live → Lissage tempo: lisse tempo
audio_follower/audio/live_engine.py - Moteur live → Follower tempo: calcule ratio tempo
audio_follower/audio/live_engine.py - Moteur live → Suivi de phase: suit phase
audio_follower/audio/live_engine.py - Moteur live → PLL phase: corrige phase
audio_follower/audio/live_engine.py - Follower tempo → Limiteur ratio: limite variation
audio_follower/sync/tempo_follower.py - Moteur live → Time-stretch: rend ratio
audio_follower/audio/live_engine.py - Time-stretch → Entrée et sortie audio: sort audio
- CLI simulation → Générateur de beats: génère événements
audio_follower/simulate.py - CLI simulation → Estimation tempo: estime tempo
audio_follower/simulate.py - CLI simulation → Lissage tempo: lisse tempo
audio_follower/simulate.py - CLI simulation → Follower tempo: calcule ratio
audio_follower/simulate.py - Générateur de motifs → Générateur de beats: utilise beats
audio_follower/simulation/rhythm_generator.py