How tt8747430-png/piano-trainer works
Piano Trainer is an installable, offline-capable piano-learning app, available in English and Russian. Learners follow a path, explore the chords and scales songs require, then practise with a player that can play along, step through music, or wait for input. The app also includes lessons, quizzes, trainer exercises, song editing, and pattern management. The graph follows the documented workflow and sampled app wiring; unsampled feature links are omitted rather than inferred.
Main entry points: App.tsx App Providers · router.tsx Route Dispatch · main.tsx App Bootstrap · explorer-search.ts Music Explorers
Components 20
Application
- App Bootstrap
src/main.tsx - App Providers
src/app/App.tsx - Route Dispatch
src/app/router.tsx
Learning Content
- Learning Path
src/pages/path - Lessons
src/pages/learn - Songs and Pieces
src/entities/piece
Music Exploration
- Music Explorers
src/app/routes/explorer-search.ts - Music Theory
src/shared/lib/music - Pattern Library
src/entities/pattern
Practice and Creation
- Practice Modes
src/features/practice - Trainer Exercises
src/features/trainer - Practice Player
src/pages/player - Score Editor
src/pages/score-editor
Learner State and Services
- Learning Progress
src/entities/progress - Settings
src/entities/settings - Recorded Takes
src/entities/take - Audio Services
src/shared/api/audio - MIDI Services
src/shared/api/midi - Browser Storage
src/shared/lib/safe-storage.ts
Other components
- Learner
Connections 28
- Learner → App Bootstrap: learn piano
README.md - App Bootstrap → App Providers: renders
src/main.tsx - App Providers → Route Dispatch: provides routes
src/app/App.tsx - Route Dispatch → Learning Path: routes to
src/app/router.tsx - Route Dispatch → Lessons: routes to
src/app/router.tsx - Route Dispatch → Songs and Pieces: routes to
src/app/router.tsx - Route Dispatch → Music Explorers: reads search
src/app/router.tsx - Route Dispatch → Practice Player: routes to
src/app/router.tsx - Route Dispatch → Trainer Exercises: routes to
src/app/router.tsx - Route Dispatch → Score Editor: routes to
src/app/router.tsx - Music Explorers → Music Theory: uses theory
src/app/routes/explorer-search.ts - Music Explorers → Pattern Library: validates patterns
src/app/routes/explorer-search.ts - App Bootstrap → Pattern Library: creates store
src/main.tsx - App Bootstrap → Songs and Pieces: creates store
src/main.tsx - App Bootstrap → Learning Progress: creates store
src/main.tsx - App Bootstrap → Settings: creates store
src/main.tsx - App Bootstrap → Recorded Takes: creates store
src/main.tsx - App Providers → Settings: provides store
src/app/App.tsx - App Providers → Learning Progress: provides store
src/app/App.tsx - App Providers → Pattern Library: provides store
src/app/App.tsx - App Providers → Songs and Pieces: provides store
src/app/App.tsx - App Providers → Recorded Takes: provides store
src/app/App.tsx - Practice Player → Audio Services: plays through
- Trainer Exercises → Music Theory: uses theory
src/features/trainer/draw.ts - Trainer Exercises → Learning Progress: tracks mastery
- Score Editor → Recorded Takes: manages takes
- App Providers → MIDI Services: reconnects
- Settings → Browser Storage: persists settings