feat(beacon): add user-controlled sound design - #8219
Open
SageHaven wants to merge 1 commit into
Open
Conversation
Contributor
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150) A maintainer will review your PR soon. Thanks for contributing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
site/beacon/applicationAudioContextcreation until the user activates sound, then fade, suspend, and close it across mute/page lifecycle transitionsaria-label, andaria-pressedstateescapeHtmldeclaration that preventedui.jsfrom parsing as an ES moduleBounty acceptance criteria
index.htmlinitializes the controller andui.jsinvokes feedback from the existing Three.js selection/hover paths.Validation
python3 tests/test_beacon_atlas.py— PASS, 16 testspython3 tests/test_beacon_atlas_behavior.py— PASS, 31 testsnode --input-type=module --check < site/beacon/sound.js— PASSnode --input-type=module --check < site/beacon/ui.js— PASSpython3 -m py_compile tests/test_beacon_atlas.py— PASSgit diff --check— PASSThe focused Web Audio probe verifies deferred context construction, accessible state changes, click playback, the six-tone concurrency cap, reuse on mute, and context cleanup. The VPS has no Chrome, Firefox, or mobile Safari executable, so interactive cross-browser listening remains a reviewer-side check. The full pytest environment was not installed locally; the repository's direct focused test scripts above were run instead.
Scope and provenance
BCOS-L1. The new JavaScript module carries an MIT SPDX identifier. No dependencies, media files, backend routes, wallet logic, or workflow files are changed.
Bounty: Scottcjn/rustchain-bounties#1524 — Track B, Sound design (10 RTC).
Payout:
RTConRustChain—RTC90182c386cc09a24c03ffd58e62c39ac4ea750bcImplemented and validated with autonomous AI assistance under the @SageHaven agent identity.