Skip to content

About

Music Path | Music theory and a guitar roadmap, with a fretboard, staff and metronome.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Music Path

A bilingual (English / Hebrew, with RTL) site for learning music. Currently: a generic Music Foundations course and a full Guitar roadmap (0 → 100%). Piano and drums are placeholders.

Run it

Easiest: double-click index.html (no server or install needed; progress is saved in your browser).

Or serve it locally:

python -m http.server 8765

Then open http://localhost:8765

Structure

index.html
css/style.css
js/core.js              registries (courses, instruments, widgets)
js/i18n.js              UI strings (en / he)
js/app.js               router + views + progress (localStorage)
js/widgets.js           staff, piano keys, fretboard, chord diagrams, metronome, quiz...
js/content/theory.js    generic theory course (instrument-independent)
js/content/guitar.js    guitar lessons
js/content/instruments.js  instrument list + each roadmap (stages -> "course/lesson")

Adding an instrument (e.g. piano)

  1. Create js/content/piano.js calling MF.registerCourse({ id:'piano', tag:{en,he}, title, summary, lessons:[...] }).
  2. Add <script src="js/content/piano.js"></script> to index.html.
  3. In js/content/instruments.js, set the piano entry to available: true and add stages listing steps like 'piano/black-keys' or reuse 'theory/notes'.

The percentages on the roadmap are computed automatically from the number of steps.

Writing a lesson

Each lesson has en and he objects with title, summary and an HTML body. Drop interactive widgets into a body with tokens:

Token Result
{{staff:E4,G4,B4|names}} notes on a treble staff (click to hear)
{{keys}} one-octave piano keyboard
{{fretboard:12|natural}} fretboard; also all or hl:A,C,D,E,G and an optional fret range |5-8
{{chord:Em}}, {{chords:C,G,Am,F}} chord diagrams (add more in CHORDS in widgets.js)
{{strum:D - D U - U D U}} strumming pattern
{{strings}}, {{metronome}}, {{notequiz}}, {{scalefinder}} practice tools

About

Music Path | Music theory and a guitar roadmap, with a fretboard, staff and metronome.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages