Commit graph

23 commits

Author SHA1 Message Date
Michael Winter f3a5dda4bc Add ramp-to-chord with per-voice tracking and configurable siren IP 2026-04-04 21:46:15 +02:00
Michael Winter 90f00e56c6 Add chord number labels with click-to-siren
- Add label nodes at top of each chord column
- Modify xforce layout to skip label nodes
- Click label to play entire chord on siren
- Use chordIndex/nodeIndex (server calculates frequency)
- Fix server to support both calling conventions
- Fix client to use proper JSON headers for kill-siren
2026-04-04 19:56:39 +02:00
Michael Winter 1a56c35276 Add cents/frequency toggle for node labels
- Add toggle button and 'f' keyboard shortcut
- Calculate frequencies on-demand using fundamental * fraction
- Use direct style updates for reliable label refresh
2026-04-04 13:56:42 +02:00
Michael Winter 2a17339edc Add octave offset for play-freq, adjustable via UI input 2026-04-01 18:39:13 +02:00
Michael Winter 990e59b1d6 Fix edge bug: add broke flag to match Python for-else behavior 2026-04-01 18:01:09 +02:00
Michael Winter 7259cd67bd Add weighted cross-chord edges: 100x weaker than regular edges 2026-04-01 17:48:47 +02:00
Michael Winter b4d6ea81a1 Fix: use change event instead of input for spinner buttons 2026-04-01 17:02:08 +02:00
Michael Winter c1f11184af Add input listener back for spinner buttons 2026-04-01 16:57:00 +02:00
Michael Winter e819c374e4 Fix fundamental setting: remove input listener that spams server, only send on Enter/arrows 2026-04-01 16:55:29 +02:00
Michael Winter 8f332fac52 Add batch API endpoints for cents calculation, client fetches cents from server 2026-04-01 16:44:20 +02:00
Michael Winter c6bb3a12ce Move graph computation from server to client 2026-04-01 16:37:45 +02:00
Michael Winter 79e1259f5b Add filepath input for loading any JSON file via API 2026-04-01 16:33:13 +02:00
Michael Winter a93ade34b4 Simplify UI: remove file dropdown, auto-send fundamental on keypress 2026-04-01 13:18:09 +02:00
Michael Winter 94b34b4dc4 Add Shift+click for siren and k/K for kill
- Add /api/play-siren endpoint for Shift+click
- Add /api/kill-siren endpoint for k/K keys
- Add set_chords method to OSCSender for dynamic voice count
- Update soft kill to 20Hz in osc_sender.py
- Refactor CLI to use send_kill method
- Fix kill to send to all voices regardless of count
2026-04-01 13:01:50 +02:00
Michael Winter 6ab162003e Add OSC playback to path navigator webapp
- Add /api/set-fundamental and /api/play-freq endpoints to server.py
- Add send_single method to osc_sender.py for sending single frequencies
- Add fundamental frequency input and click handler to path_navigator.html
- Distinguish between click (play) and drag (move) on nodes
- Add osc_receiver.scd for SuperCollider to receive /freq messages
2026-04-01 11:23:24 +02:00
Michael Winter dff8a4e6c2 Add all-chords continuous canvas with xforce bounds and pan navigation 2026-04-01 09:59:30 +02:00
Michael Winter 2b7c882bc9 Fix column width in chord panel tables 2026-04-01 09:18:39 +02:00
Michael Winter e0bacce10a Apply sleek black theme and table format for chord panels 2026-03-31 19:17:37 +02:00
Michael Winter 00cfac2e5c Add Cytoscape.js with custom xforce layout for chord visualization 2026-03-31 18:44:47 +02:00
Michael Winter 88a9528e12 Add Flask server with Python backend for Path Navigator
- Server calculates graph edges and ratios using src/pitch.py
- Frontend fetches computed graph from API
- Supports loading different output files via dropdown
- All pitch calculations now in Python, JS only for rendering
2026-03-30 22:38:52 +02:00
Michael Winter 2a027ba552 Add prev/current/next graph panels to Path Navigator 2026-03-30 22:17:01 +02:00
Michael Winter 6924c85d19 Add vertical node positioning by frequency in Path Navigator 2026-03-30 22:09:07 +02:00
Michael Winter 27d34fdafc Add Path Navigator webapp for visualizing chord paths 2026-03-30 21:06:14 +02:00