Repository navigation
Conversation
…the asset of the last build Co-authored-by: David Querg <Que2039@users.noreply.github.com>
…B), key hint The loops and Play loop move from above the device into the bar under it, with an Effect On/Off switch next to them (B key) that routes the loop around the effect (player/routing.js). The loop source is its own module (player/loops.js) behind a small interface, so a multi-layer source can take its slot. A one-line start strip over the device names the plugin and says what to press for effects, instruments and drum machines; a hint on the keys fades after the first note. Effects that take no notes hide octave, keyboard, MIDI and Notes off (data: notes: true keeps them). Phones get a labelled Play full screen button. Tour and tutorial texts now say the loops are below the device; --pages refreshes reused tours' step texts. Co-authored-by: David Querg <Que2039@users.noreply.github.com>
68 tasks
This branch has not been deployed
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.
Workstream 1 of the UX plan ("Player layout and first action"), covering review issues 3, 4 and 12 plus David's note that Play loop sat out of position.
What changes for the visitor
hintindata.mjs).notes: true.Bkeycap are hidden.For the mini mix (workstream 2)
player/routing.jshasEffectBus, the On/Off switch as a routing primitive.bus.createSend({ level, through })gives each source or layer a send.send.setThrough(on)is the per-layer "through effect" toggle.bus.setEnabled(on)is the global switch (the button and B call it), andbus.onChange(fn)keeps any other UI in sync.bus.setEffect(node)re-wires every send when the device changes.player/loops.jshasLoopSource, today's loops behind a small interface:el,setChoices(ids),toggle(),stop(),playing. Its header documents the interface. A multi-layer source with the same shape can replace it inmain.js. Its controls go in the bar's.player-sourceslot.createPlayer()returnsbar,sourceSlot,source,audio(start(),ctx,bus) andsetEffect.npm testrunsscripts/test-routing.mjs, which checks the send/switch logic against a stand-in audio graph.Build note (separate commit)
The pages-only build (
build.mjs --pages) used to crash without thenative-nxscheckout next to this repo. When those files are missing,model.mjsnow takes the local devices' assets fromsite/play/build.json, anddata.mjsskips their preset state. I checked it on unchangedmain: it rebuilt every device page byte for byte. Full builds still need the checkout. Also,--pagesnow refreshes reused tours' step texts fromdata.mjs, which is how the "below the device" wording reachedsite/tours/*.json.The site was rebuilt with
A_PLUGINS_DATE=2026-11-30, the same date asmain, and the share images were left untouched, so the diff contains only this change.Verification
npm run build -- --pagespasses andnpm testpasses.node --checkpasses on all player and script files. The repo has no linter.Human checklist
/, Tape Saturator): the start line reads "PLUGIN OF THE DAY Tape Saturator · … — Press Play loop, …" on one line. Play loop, the three loops and Effect On [B] sit at the left of the bar below the device. There are no Octave, Keyboard, MIDI or Notes off controls./dome/or/tape/): Play loop plays. Then Effect Off, and B with the focus on the page and again after clicking into the device: the effect goes away, the device dims, and switching causes no click. Use the arrows or a menu to move to another effect: the loop keeps playing and the effect is On again./teeth/): the note controls are still there (key tracking)./quack/): the line reads "Click a key or type A S D F to play". The key hint sits over the keys and fades on the first note (mouse, typing or MIDI) and doesn't come back after navigating. Octave, Keyboard and MIDI are as before./lmdrum/): "Hit a key or type A S D F to play the drums". On/beatbox8/: "Press any key to start the pattern, then turn the knobs."/learn/vocoder-free/: the embedded player has no start line, and Play loop is in the bar within the frame height.