Hearing page: how a tone becomes something heard, at /hearing #83
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/landing-page!83
Loading…
Reference in a new issue
No description provided.
Delete branch "hearing-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/ROMAINE-56
Adds a page at romaine.life/hearing: three interactive sections, with sound, on how one wave of air becomes notes. It came out of a conversation about the difference between melody and harmony (JM-1).
Added
hearing/: plain JS + Vite + canvas 2D, built by a new Dockerfile stage intofrontend/hearing.hearing/src/dsp.jsholds the math with no browser APIs.npm test(Node's test runner, 13 tests: missing fundamental, residue pitch, pluck tuning on all six open strings, roughness dips at the fifth and octave only with overtones) andnpm run lint(ESLint) run in the web-app suite's check-test job, which picks up every package with a test script./hearing/; the landing page lists it; README describes it.Left alone: the other pages, the server's routing (static files already serve
/hearing/).Failure states are shown in each section: no Web Audio, microphone blocked, missing, busy or unplugged. The microphone feeds only the analyser, never the speakers. One section sounds at a time. Drawing runs only while sound is live; sections 2 and 3 redraw on change.
Checked:
ci-check(lint, tests); the built page driven in muted headless Chrome through every source, preset and interval, with no console errors.merge-queue stopped this at
44cc90e: CI failed: Suite web-app / check-test (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.