Commit Graph
70 Commits
Author SHA1 Message Date
Claude 826b81c007 Fix rhythm timing across all synth genre pieces
- Changed all 7 helper functions (folk, carol, pub, spirit, world, rhyme, rag)
  from hardcoded q values to BPM-based timing (q=30/bpm), making duration
  units represent eighth notes at the given BPM
- Scaled all ~93 duration arrays to work correctly with new timing system
- Fixed specific rhythm patterns for well-known songs:
  - Happy Birthday: correct 3/4 pickup rhythm (1,1,2,2,2,4 pattern)
  - Greensleeves/What Child Is This: proper 3/4 dotted rhythm (3,1,2 pattern)
  - Joy to the World: correct descending scale rhythm with dotted values
  - Home on the Range: proper waltz-style quarter/half note rhythm
  - She'll Be Coming Round the Mountain: correct 2/4 march rhythm
  - Jingle Bells: corrected verse/chorus rhythm
- Fixed Video Game pieces: Turkish March q=0.18→0.227, Can-Can q=0.16→0.197
  to match their listed BPM tempos
- Fixed duplicate Happy Birthday definition in "Classics from Prime" section

https://claude.ai/code/session_01MhCcEPfX3JqAk8zmvLXZ1g
2026-03-31 11:52:32 +00:00
Claude 2c67ca3b7c Fix wrong melodies across multiple synth genres
Classical:
- Hall of the Mountain King: transpose from A minor to correct B minor key
- Toccata & Fugue: extend from 39s to 74s with full toccata continuation
- Swan Lake: transpose to B minor, fix melody contour to use repeating ascending motif
- Hungarian Dance No. 5: rewrite themes in D minor with correct melody
- Dance of the Sugar Plum Fairy: replace Für Elise melody with actual Nutcracker celesta theme

Christmas:
- God Rest Ye Merry Gentlemen: fix F natural→F#(Gb4) and Bb→B for correct E minor key
- Angels We Have Heard on High: rewrite to correct F major melody with Gloria melisma

Singalong:
- Amazing Grace: fix G5 (too high) to E5, correct melody peak
- My Bonnie Lies Over the Ocean: fix G5 (too high) to E5, correct chorus range

https://claude.ai/code/session_01MhCcEPfX3JqAk8zmvLXZ1g
2026-03-31 11:22:41 +00:00
Claude fd14076173 Fix missing 'baa' variable in NURSERY_PIECES causing all genres to disappear
The NURSERY_PIECES IIFE referenced 'baa' (Baa Baa Black Sheep) in its return
array but the variable was never defined — it was lost during the Prime genre
merge. This ReferenceError crashed the script on load, preventing all genre
tabs and rhythm lists from rendering.

https://claude.ai/code/session_01MhCcEPfX3JqAk8zmvLXZ1g
2026-03-31 04:22:40 +00:00
Outis 9ce0ee34e7 Merge pull request #21 from outis1one/claude/fix-classical-pieces-abgA3
Remove Prime genre (merged into Nursery Rhymes), add missing genre icons
2026-03-31 00:16:40 -04:00
Outis 50a9a6fd99 Merge branch 'main' into claude/fix-classical-pieces-abgA3 2026-03-31 00:16:32 -04:00
Claude 5b01002707 Remove Prime genre (merged into Nursery Rhymes), add missing genre icons
- Remove "Prime":PRIME_PIECES from SYNTH_GENRES (fixes ReferenceError crash)
- Add Nursery Rhymes 🧒 and Ragtime 🎹 icons to synthIcons map

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 04:12:28 +00:00
Outis 26433eda1a Merge pull request #20 from outis1one/claude/fix-classical-pieces-abgA3
Add gamepad auto-detection, keyboard remapping, and smart lane enabling
2026-03-31 00:01:30 -04:00
Claude af7b27dd41 Add gamepad auto-detection, keyboard remapping, and smart lane enabling
Gamepad auto-detection:
- First gamepad connect counts buttons and auto-enables matching lanes
- 5 buttons = standard Rock Band kit (lanes 0-4, default)
- 6+ buttons = auto-enables extra lanes (crash, ride, tom3)
- Shows button count in gamepad status: "🎮 Controller (9 buttons)"
- User can still manually toggle lanes on/off (overrides auto)
- Only runs once per session (doesn't re-detect on reconnect)

Keyboard remapping:
- New "⌨ Remap Keys" button in the sticky start bar
- Full-screen overlay walks through each lane: "Press key for RED"
- 300ms cooldown between steps to prevent double-triggers
- Escape cancels the remap flow
- Saved to localStorage ("drgameKeyMap") and restored on page load
- Reset All Data also resets keyboard mappings to defaults

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 04:00:12 +00:00
Outis 6d0acf42e8 Delete O Fortuna.pdf 2026-03-30 23:58:38 -04:00
Outis 8cab9fcf82 Delete Free Lead Sheets for All Instruments and Voices!_files directory 2026-03-30 23:57:49 -04:00
Outis f17e6a8d06 Merge pull request #19 from outis1one/claude/update-readme-genre-O5h9H
Update README for 8-lane support with Crash, Ride, and Tom 3
2026-03-30 23:56:14 -04:00
Claude 77c55a5bec Update README for 8-lane support with Crash, Ride, and Tom 3
- Add 3 new keyboard mappings (D, K, L) to How to Play
- Update pad toggles to describe 8-lane system
- Add Crash and Ride to synthesizer table

https://claude.ai/code/session_01FNZw4curZbJp38HFUaPXwR
2026-03-31 03:55:18 +00:00
Outis 9d913a8587 Merge pull request #18 from outis1one/claude/fix-classical-pieces-abgA3
Add 8-lane support, kick notes now fall from top of screen
2026-03-30 23:51:55 -04:00
Claude 266444104c Add 8-lane support, kick notes now fall from top of screen
Lane system expanded to 8:
- Original 5: Red (F), Yellow (G), Blue (H), Green (J), Kick (Space)
- New 3: Crash (D), Ride (K), Tom 3 (L) — off by default
- New drum sounds: crash (long noise burst), ride (metallic ping),
  tom3 (deep 90Hz tom)

Kick lane visual overhaul:
- Kick notes now fall from the TOP of the screen at full speed,
  traveling through the pad lanes down to the kick hit zone
- Kick zone still centered at bottom with its own hit line
- Previously kick notes only appeared in the short bottom zone

Other changes:
- Remap system dynamically reads LANES array (supports any count)
- Gamepad default mapping extended for buttons 5-7
- laneFlash expanded to 8 lanes
- All existing songs/rhythms (lanes 0-4) work unchanged
- New lanes 5-7 are off by default, toggle on in Active Pads

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 03:50:16 +00:00
Outis c2587a8770 Merge pull request #17 from outis1one/claude/update-readme-genre-O5h9H
Merge Prime genre into Nursery Rhymes (15 songs combined)
2026-03-30 23:49:35 -04:00
Claude 2aebd38cc2 Merge Prime genre into Nursery Rhymes (15 songs combined)
Moved 6 Prime songs (Twinkle Twinkle, Mary Had a Little Lamb, Happy
Birthday, Chopsticks, Lavender's Blue, Shortnin' Bread) into the
Nursery Rhymes genre using the rhyme() helper. Dropped Baa Baa Black
Sheep since it's the same melody as Twinkle Twinkle. Updated README
to reflect 18 genres, 124 synth pieces.

https://claude.ai/code/session_01FNZw4curZbJp38HFUaPXwR
2026-03-31 03:48:34 +00:00
Outis eba94cf95d Merge pull request #16 from outis1one/claude/update-readme-genre-O5h9H
Update README with Nursery Rhymes, Ragtime, expanded Christmas, and n…
2026-03-30 23:43:35 -04:00
Claude 8a7374a23d Update README with Nursery Rhymes, Ragtime, expanded Christmas, and note density toggle
- Add Nursery Rhymes genre (10 songs)
- Add Ragtime genre (8 Scott Joplin pieces)
- Expand Christmas from 10 to 20 songs
- Add Simple/Full note density toggle to features
- Update counts: 19 genres, 125 synth pieces, ~4900 lines

https://claude.ai/code/session_01FNZw4curZbJp38HFUaPXwR
2026-03-31 03:41:10 +00:00
Outis a7742891cf Merge pull request #15 from outis1one/claude/fix-classical-pieces-abgA3
Add Nursery Rhymes & Ragtime genres, add Simple/Full note density toggle
2026-03-30 23:39:38 -04:00
Claude 1aab788c24 Add Nursery Rhymes & Ragtime genres, add Simple/Full note density toggle
New genres:
- Nursery Rhymes (10 songs): Baa Baa Black Sheep, London Bridge,
  Old MacDonald, Row Row Row Your Boat, Three Blind Mice,
  Itsy Bitsy Spider, Pop Goes the Weasel, Hot Cross Buns,
  Jack and Jill, Humpty Dumpty — all at slow tempos (65-85 BPM)
- Ragtime (8 songs): The Entertainer, Maple Leaf Rag,
  The Easy Winners, Elite Syncopations, Solace, Peacherine Rag,
  The Cascades, Pineapple Rag — all Scott Joplin (public domain)

Simple/Full mode:
- Toggle in Active Pads card switches between Full and Simple density
- Simple mode enforces 350ms minimum gap between notes, removing
  rapid passages while keeping the melody recognizable
- Works on both synth genres (classical/folk/etc) and rhythm patterns
- Lightweight: just a filter on the note array, no piece data changes

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 03:38:01 +00:00
Outis eb3ea000fe Merge pull request #14 from outis1one/claude/update-readme-genre-O5h9H
Add trademark disclaimer for Rock Band, Guitar Hero, and console names
2026-03-30 23:36:29 -04:00
Claude 051cb20cf0 Add trademark disclaimer for Rock Band, Guitar Hero, and console names
https://claude.ai/code/session_01FNZw4curZbJp38HFUaPXwR
2026-03-31 03:35:47 +00:00
Outis 9eb258c63d Merge pull request #13 from outis1one/claude/fix-classical-pieces-abgA3
Make Prime easier and expand Christmas to 20 carols
2026-03-30 23:29:06 -04:00
Claude 9513a28309 Make Prime easier and expand Christmas to 20 carols
Prime genre changes:
- Reduced tempos: Twinkle 100→75, Mary 110→80, Birthday 100→75,
  Chopsticks 140→95, Lavender 110→80, Shortnin' 130→95
- Reduced passes from 3-4 to 3 across the board
- Added longer held notes in durations for more breathing room
- Simplified Chopsticks from 48 to 36 notes
- Trimmed Twinkle/Mary/Lavender note counts

Christmas genre expansion (10→20 carols):
- O Come All Ye Faithful, God Rest Ye Merry Gentlemen,
  What Child Is This, Angels We Have Heard on High,
  O Holy Night, Rudolph the Red-Nosed Reindeer,
  Frosty the Snowman, Winter Wonderland,
  Good King Wenceslas, We Three Kings

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 03:27:44 +00:00
Outis 23e50d14ff Merge pull request #12 from outis1one/claude/fix-classical-pieces-abgA3
Fix 6 melodies across Christmas, Folk, Spirituals, and World genres
2026-03-30 23:25:59 -04:00
Claude c5ac0971d1 Fix 6 melodies across Christmas, Folk, Spirituals, and World genres
- O Christmas Tree: fixed Eb4→Eb5 (wrong octave in running passage)
- Danny Boy: complete rewrite with soaring Londonderry Air melody up to E5
- Swing Low Sweet Chariot: fixed "Swing low" to descend (was ascending)
- Michael Row the Boat Ashore: fixed ascending C-E-F-G-A for "row the boat"
- Hava Nagila: replaced G naturals with Ab/G# for correct Freygish scale
- O Sole Mio: rewrite with characteristic soaring Bb refrain

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 03:22:14 +00:00
Outis b9c1eadac0 Merge pull request #11 from outis1one/claude/update-readme-genre-O5h9H
Update README to include Prime genre and correct counts
2026-03-30 23:20:33 -04:00
Claude c7f800f321 Update README to include Prime genre and correct counts
- Add Prime genre section (6 beginner songs: Twinkle Twinkle, Mary Had a Little Lamb, Happy Birthday, Chopsticks, Lavender's Blue, Shortnin' Bread)
- Update genre count from 16 to 17
- Update synth piece count from 91 to 97
- Update line count from ~3000 to ~4500

https://claude.ai/code/session_01FNZw4curZbJp38HFUaPXwR
2026-03-31 03:19:50 +00:00
Outis e723297b7f Merge pull request #10 from outis1one/claude/fix-classical-pieces-abgA3
Claude/fix classical pieces abg a3
2026-03-30 23:19:24 -04:00
Claude 3bded9ad53 Fix 4 Singalong melodies for musical accuracy
- Amazing Grace: corrected to proper C major pentatonic melody (G-C-E-C-E-D)
- Auld Lang Syne: fixed second half to D5-D5-C5-A4, proper F major melody
- Scarborough Fair: changed Bb4 to B4 (D Dorian mode has B natural)
- My Bonnie: complete rewrite with characteristic leaping melody and chorus

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 03:13:11 +00:00
Claude b9f46feba9 Fix wrong notes in 7 classical pieces verified against actual scores
Hall of the Mountain King: Fix theme 2nd phrase to D-B-D-Db-A-Db
  (was using Eb where Db/C# belongs, wrong phrase structure)

Für Elise: Fix answer phrase G# note - C5 → Ab4 (G#4)
  (E-G#-B-A arpeggio, not E-C-B-A)

Toccata & Fugue in D Minor: Fix opening mordent A-G-A (whole step)
  (was A-Ab-A half step, standard editions use whole step)

Morning Mood: Complete melody rewrite to correct E major key
  (was in wrong key; real Grieg melody is G#-A-B-C#-B-A ascending)

Dance of the Sugar Plum Fairy: Fix celesta theme to E-D#-E-B-D-C-A
  (was repeating E-D#-E-B twice; real piece descends after trill)
  Fix answer phrase G4 → Ab4 (G#4)

The Blue Danube: Rewrite melody to match real waltz
  (ascending thirds C-E-G, G-B-D with oom-pah-pah bass pattern)

Canon in D: Fix violin melody to F#-E-D-C#-B-A-B-C# (var 1)
  then D-C#-B-A-G-F#-G-A (var 2) matching Pachelbel's actual score

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 02:53:23 +00:00
Outis cb1fd70c7b Merge pull request #9 from outis1one/claude/fix-classical-pieces-abgA3
Rewrite 10 classical pieces from template to conductor-style
2026-03-30 22:31:19 -04:00
Claude 4e93a628e2 Rewrite 10 classical pieces from template to conductor-style
Replace generic tp() template implementations with musically accurate,
section-by-section conductor-style arrangements for:
- William Tell Overture (Gallop): trumpet fanfare + galloping theme
- Bolero: snare drum rhythm + crescendo through 7 instrument statements
- Barber of Seville Overture: pizzicato opening + Rossini crescendo
- Sabre Dance: frantic D-D-D-Eb ostinato + contrasting lyrical middle
- Sorcerer's Apprentice: creeping bassoon theme + magical march buildup
- Morning Mood: gentle flute sunrise melody building to full orchestra
- Flight of the Bumblebee: rapid chromatic scales up and down
- Habanera (Carmen): descending chromatic melody + habanera bass rhythm
- Spring (Four Seasons): joyful ritornello + birdsong trills
- Ode to Joy: theme builds from solo cello to full orchestra + choir

Each piece now has proper harmonic beds, section-by-section structure,
instrument layering that builds over time, and accurate melody notes.

https://claude.ai/code/session_016nhMjrAqwWXKKgBm6EQuX1
2026-03-31 02:30:30 +00:00
Outis 2b674f4938 Merge pull request #8 from outis1one/claude/read-repo-uQDWQ
Claude/read repo u qdwq
2026-03-30 21:41:31 -04:00
Claude 8c50398f20 Rewrite Ride of the Valkyries in conductor-style
Replaced 5-line tp() call with full conductor-style arrangement:
- Continuous Bb major harmonic bed across 8 sections
- tutti() helper for full orchestral hits
- gallop() helper for the iconic 9/8 compound rhythm
- 8 sections: intro tremolo → first horn call (p) → second statement (f)
  → Eb major development → fff recapitulation → climax → power chords → coda
- Famous ascending Bb-D-F arpeggio as hittable melody
- Running string arpeggios as background texture
- Duration expanded from ~35s to ~88s

https://claude.ai/code/session_01TFVkxq4PYhkSFGYHEi4uqY
2026-03-31 01:28:33 +00:00
Claude 5dcd16c270 Rewrite O Fortuna in conductor-style matching Beethoven's 5th approach
Following the uploaded lead sheet, rewrote O Fortuna with:
- Continuous harmonic bed (sustained string chords throughout)
- tutti() and choir4() helpers for full orchestral/SATB choir hits
- Running string arpeggios as background texture (not hittable)
- 9 sections following the score structure with tempo changes
  (ff opening → pp verses → mp building → f marcato → ff climax → fff finale)
- Duration expanded from ~35s to ~95s
- Only main choral melody accents are hittable (conductor experience)

https://claude.ai/code/session_01TFVkxq4PYhkSFGYHEi4uqY
2026-03-31 01:14:09 +00:00
Outis a841874260 Add files via upload 2026-03-30 17:55:37 -04:00
Outis c4d8f91fcc Add files via upload 2026-03-30 17:54:16 -04:00
Outis 25cc538b45 Merge pull request #7 from outis1one/clDemoe/check-repo-access-HZnYh
Add Prime genre with 6 beginner songs from lead sheets
2026-03-30 17:01:32 -04:00
Claude 53a25caf7a Add Prime genre with 6 beginner songs from lead sheets
New "Prime" genre appears first in the genre tabs, designed for
beginners with easy, well-known melodies. All songs verified from
music-for-music-teachers.com lead sheet images and transposed to
C major for consistency.

Songs added:
- Twinkle Twinkle Little Star (from lead sheet in A major)
- Mary Had a Little Lamb (from lead sheet in C major)
- Happy Birthday (from lead sheet in D major)
- Chopsticks (from lead sheet in C major, alternating dyad notes)
- Lavender's Blue (from lead sheet in D major)
- Shortnin' Bread (from lead sheet in A major, chorus melody)

https://claude.ai/code/session_01ELEFwNKTnZvM39VK9wsYd4
2026-03-30 20:58:23 +00:00
Outis 6b54a5ba62 Merge pull request #6 from outis1one/clDemoe/check-repo-access-HZnYh
Fix melody note sequences for 6 songs verified against lead sheets
2026-03-30 16:55:51 -04:00
Claude 24e9f0ec3a Fix melody note sequences for 6 songs verified against lead sheets
Songs corrected:
- Amazing Grace: fixed C5→E5 errors in multiple positions, fixed missing
  G5 repeat, corrected phrase structure (was 31 notes, now correct 28)
- Greensleeves: fixed G3→Ab3 (G#3) at position 17 in the descending
  phrase (B3,G#3 pattern should match the B3,G#3 at position 14-15)
- Deck the Halls: fixed B4→Bb4 at position 1 (key is F major, all B's
  should be Bb except accidentals)
- When the Saints Go Marching In: removed duplicate F4 at index 25
  (standard has F4 whole note then E4, not F4-F4-E4)
- Auld Lang Syne: removed extra G4 at position 9 that shifted all
  subsequent notes, fixed garbled second half of verse
- Scarborough Fair: rewrote melody to correct register (standard melody
  reaches D5/E5, game was stuck below C5), now matches lead sheet

Verified correct (no changes needed): Jingle Bells, Silent Night, Oh! Susanna

Songs not in the PDF (need different reference): Red River Valley,
Home on the Range, Yankee Doodle, Turkey in the Straw, Danny Boy,
Bella Ciao, Clementine, Molly Malone, Whiskey in the Jar, First Noel,
Hark the Herald, 12 Days of Christmas, Wellerman, Drunken Sailor,
Skye Boat Song, Away in a Manger, Joy to the World

Reference: music-for-music-teachers.com lead sheet images

https://claude.ai/code/session_01ELEFwNKTnZvM39VK9wsYd4
2026-03-30 20:28:44 +00:00
Outis db7069336e Add files via upload 2026-03-30 15:40:54 -04:00
Outis 35e7fd173a Merge pull request #5 from outis1one/claude/explore-drum-game-cMTFm
Fix Camptown Races melody from lead sheet image
2026-03-30 15:14:47 -04:00
Claude 3a30ebe642 Fix Camptown Races melody from lead sheet image
Old version had the Doo-dah phrase completely wrong (D E F E D C)
and a truncated chorus. Now matches the D-major lead sheet:

Verse: G G E G A G E C | D D (Doo-dah!) | E E F E D C | C(held)
Chorus: C E G G | G E G A G E C | G A B A G E | D D C(held)

Reduced passes 5→3 since the theme is now a full verse+chorus.

https://claude.ai/code/session_01DXp3FLfbb8jFHvCJ29uWk1
2026-03-30 19:10:06 +00:00
Outis 51279b6bff Merge pull request #4 from outis1one/claude/explore-drum-game-cMTFm
Claude/explore drum game c mt fm
2026-03-30 14:35:01 -04:00
Claude cdb8322dd0 Remove tempo slider from game screen
Tempo can't affect pre-scheduled audio mid-song; keep it in the
Settings card on the menu only. Volume slider remains in the game
controls bar as it affects live pad hits.

https://claude.ai/code/session_01DXp3FLfbb8jFHvCJ29uWk1
2026-03-30 18:31:45 +00:00
Claude a92e1eb99a Fix early game-end, add double-click to start, bigger HUD sliders
- endTurn now fires from draw loop once all notes are hit/missed and
  past gameEndTime, instead of a tight fixed timeout; fallback setTimeout
  extended to 5s so the music always finishes before scoring
- Double-click any rhythm button to immediately start the game with
  current settings (delegated to rgrid to survive the onclick rebuild)
- Replace tiny 50px HUD sliders with a dedicated game-controls bar
  below the HUD: wider sliders (140px), labelled Tempo / Volume with
  live % readouts; syncSliders keeps both the menu and HUD in sync

https://claude.ai/code/session_01DXp3FLfbb8jFHvCJ29uWk1
2026-03-30 18:28:31 +00:00
Claude fb448270e7 Beethoven's 5th: full continuous orchestra, 88s to natural break
Complete rewrite with new architecture:
- CONTINUOUS HARMONIC BED: sustained string/woodwind/bass chords
  playing throughout all 88 seconds, changing with the harmony
  progression (Cm→Ab→Gm→Cm→G→Cm). Not hittable — just ambiance.
- Running 8th-note string passages between melody sections
  (background texture filling the spaces)
- 877 background nodes (was 565) creating a full orchestral sound
- 102 hittable melody notes (was 113) — only the STRONG accents
  (motif hits, chord downbeats, scalar peaks)
- Duration extended from 54s to 88s (~1:27) ending at the natural
  break where the exposition concludes before development

The player is now one voice IN the orchestra, hitting the famous
da-da-da-DUM moments while the full ensemble plays around them.

https://claude.ai/code/session_01GdFrFqAe9e2DaJ86jZPEZE
2026-03-30 16:46:08 +00:00
Claude 43e8e74f61 Fuller Beethoven's 5th orchestra: harmony voices, woodwinds, horns
Replaced thin orch() helper (strings + brass + bass) with tutti()
that creates 5 simultaneous voices per note:
- 1st violins (melody), trumpets (doubling), 2nd violins (5th
  below), clarinets (3rd below), cellos/basses (octave below)

Added between sections:
- Horn pad (sustained Eb+G brass) on held notes
- Woodwind countermelody (clarinets in 3rds) on soft restatement
- Viola parallel motion on scalar passages
- Bass walking on downbeats during runs
- Full 3-note chord voicings on power chord section (was 2-note)
- Choir with harmony voices (Eb+G+C) on recapitulation
- Brass + strings + choir triple-layered on final chord

Background nodes: 438 → 565 (29% more orchestral depth)
Same 113 hittable melody notes, same 54s duration.

https://claude.ai/code/session_01GdFrFqAe9e2DaJ86jZPEZE
2026-03-30 16:14:19 +00:00