Repository navigation
Installed patterns run faster and come back at once. The console is light and one thing. The audio path is rebuilt from the extension to the microphone.
Patterns
- Installed patterns run faster, and nobody has to edit one. Patterns are now compiled at
-O2with the maths they call most computed inline, and the results are bit-exact. The Basics pack is rebuilt this way for the first time since August: every one of its 33 patterns is faster, 1.11 to 2.36 times the frames a second, 1.52 at the median. On a second panel three of them went from 24.2, 18.5 and 33.0 ms a frame to 11.5, 11.0 and 12.8. - To get it: update the firmware first, then install the Basics pack again from the site. A pattern already on a panel keeps the build it was installed with. Community patterns are rebuilt the first time someone sends one again.
- The rebuilt pack needs firmware 3.5.1 or later (3.2.0 to 3.4.0 refuse all 33 of its patterns), and 3.10.5 or later for the largest ones on the Audio edition. Update first; reinstalling replaces files that load with files an old firmware will not.
- Going back to a pattern no longer loads it again. A pattern that has run stays parked in PSRAM, and picking it again resumes it in about 0.2 ms where the heavy ones took seconds (Branched Flow 3.3 s, Two Stream 4.1 s). Up to 16 stay parked; they give their memory back when a new load needs it.
- SELECT shows parked patterns live as the knob reaches them.
- What this takes away: a pattern that wants a fresh start every time it is picked does not get one.
setup()runs once per load. Restarting the panel, or any install, delete or reorder on the Patterns page, starts it again.
The console
- Light by default, with dark as a remembered toggle, and one look across its pages.
- The home page is the panel's control surface: now playing with its arrows, on/sleep, brightness and the four knobs, with the device's facts under them. The edition has a card of its own, with the pages it carries and the update notice.
- Knobs: set all four at once with the All row.
- The Status page shows the crash record when there is one.
Audio edition v0.7.0
- The Audio page is a console page. It says who has the knobs (the microphone listening, off or not fitted; the extension or the phone app), names the bands K1 to K4, and shows what each knob actually gets.
- It saves only what you changed. It reads the panel's mapping before it can write, so a failed read followed by one edit can no longer overwrite four bands, and two tabs no longer undo each other. The page is 17.2 KB where it was 19.9.
- A microphone that is not delivering no longer moves the knobs.
- The browser extension (0.2.0) holds the knobs through silence. A paused or quiet tab keeps each knob at its rest value instead of letting go after half a second.
- A knob set from the console's sliders, by MIDI CC 20-23 or by
/api/paramsstays where it was put until its encoder is turned; sound does not move it, and the Audio page does not show that yet. - Live means the panel is being driven. Audio-React switched off on the panel, a silent tab, a closed tab, a wrong address and a panel without the Audio edition each say so, where every failure used to read "WebSocket error".
- To update the extension, pull the repository and press Reload on
chrome://extensions; your mapping is kept.
Updating
- Standard firmware: the notice on the console's home page, or patternflow.work/update.
- Audio: patternflow.work/editions, the Audio card, Install to my panel; or drop
patternflow-audio.ino.binfrom this release on the panel's Update page. The link on an older panel's Update page goes to/update, which installs the standard firmware and would replace the edition. Your settings stay, and the Audio card puts it back. - Reflashing keeps your patterns, your Wi-Fi and your settings.
Editions
Audio v0.7.0 is cut on this core. Performance v0.4.0 is still the image on the shelf and is on core 3.10.4 until its maintainer re-cuts it: no parked patterns, no light console, and a pattern's code still lives in internal RAM there, so the rebuilt Basics pack installs but a large community pattern can be refused. The clock and MIDI try-out images are unchanged.
On the site
- An Audio guide joins Build, Play and Make at patternflow.work/guide: the edition, sound from a browser tab with the real editor to try, the on-board microphone, and the board as a MIDI port with Ableton.
How this was checked.
- Pattern speed: measured on two panels by its author, and three patterns measured again on a third.
- Parked patterns: measured on two panels with 12-13 modules parked.
- The console and the Audio page: on panels, light and dark, phone and desktop widths.
- The extension: run against a panel with the microphone. A tone moved K1, four seconds of silence left the knobs held, and Stop handed them back.
- Updates over Wi-Fi: done repeatedly on three panels between Core and Audio images.
- The Audio edition's Wi-Fi power (19.5 dBm, where it had been pinned at 17): the microphone's floor was read at both, alternating builds on one panel, and the two are indistinguishable.
- Not checked: the Audio page on a real phone or in the phone app, and the extension in a Chrome that asks for local-network permission. The Performance and MIDI images build and pass their checks but were not run on a panel for this release.
The full list is in CHANGELOG.md.