site 1.10.0: flash bar in the builder, Browse info and Divide hold, phase meter V2

- builder: a bar under the mods shows the player's flash: Pioneer's firmware,
  the ticked mods and what stays free; every mod shows its packed share
  (measured by tools/make_builder_data.py, cached in tools/flash_sizes.json)
- new mods: browseinfo 0.1.0, divhold 0.1.0 (cards, docs, builder)
- phasemeter V2, quicksearch 0.6.0, usbautoload 0.2.0, cuenames 0.1.2,
  beatjump 1.0.2; boot screen 1.10.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thiemo TizianiandClaude Opus 5.5 committed 2026-11-15 15:22:44 +01:00
1 parent 9eedbe5e5f
commit 04f123fbfe
19 files changed
+319 -50

No files matched your search

+46 -5
View File
@@ -6,7 +6,7 @@
{ id: 'extended_bpm', name: 'Extended BPM', by: 'arnoldasr', state: 'stable',
what: 'BPM with two decimals: the tenths as a small digit above, the hundredths below.' },
{ id: 'phasemeter', name: 'Phase meter', by: 'arnoldasr', state: 'experimental',
what: 'Two-line phase meter instead of the four boxes; UTILITY › PHASE METER (was SLIP FLASHING): OFF, ON or REVERSE. The bar countdown moved clear of the lines.' },
what: 'UTILITY › PHASE METER (was SLIP FLASHING): STOCK (the four boxes), V1 (two lines), V1 REVERSE or V2 (beat rulers running past a centre line, as on the newer players). The bar countdown moved clear of the lines.' },
{ id: 'advanced_waveforms', name: 'Advanced waveforms', by: 'ours', state: 'experimental',
what: 'The big waveform in rekordbox’s RGB colours, the overview as a red-to-white gradient; UTILITY › WAVEFORM: BLUE, RGB or 3BAND (lows, mids, highs).' },
{ id: 'beatjump', name: 'Beat jump', by: 'ours', state: 'experimental', needs: 'hotcuekeys',
@@ -26,13 +26,17 @@
{ id: 'endwarn', name: 'End warning', by: 'ours', state: 'experimental',
what: 'The bar under the overview blinks red instead of white in the last 30 seconds.' },
{ id: 'quicksearch', name: 'Quick search', by: 'ours', state: 'experimental',
what: 'BROWSE held: SEARCH; BROWSE twice: the list the playing track came from, the track picked.' },
what: 'BROWSE held: SEARCH; BROWSE twice: the list the playing track came from, the track picked. The screen stands still while the player finds its way there.' },
{ id: 'usbautoload', name: 'USB auto load', by: 'ours', state: 'experimental',
what: 'MY SETTINGS on a stick loaded the moment the player finds them. UTILITY › USB AUTO LOAD.' },
what: 'MY SETTINGS on a stick loaded the moment the player finds them, without the MY SETTINGS menu showing. UTILITY › USB AUTO LOAD.' },
{ id: 'wide_waveform', name: 'Wide waveform', by: 'ours', state: 'experimental',
what: 'The big waveform runs on to the right edge where the ZOOM/GRID wheel was; a small grey box over the BPM display says ZOOM or GRID.' },
{ id: 'browseinfo', name: 'Browse info', by: 'ours', state: 'experimental',
what: 'BPM and key on the right of every track row in BROWSE, read from the stick’s rekordbox export (the key in KEY NOTATION’s colours).' },
{ id: 'divhold', name: 'Divide hold', by: 'ours', state: 'experimental',
what: 'A BEAT DIVIDE key held down keeps its divide only while it is held; a short press turns it on and off as before. UTILITY › DIVIDE HOLD.' },
{ id: 'credit', name: 'Boot text', by: 'ours', state: 'stable',
what: 'The boot screen says “Pionaarr Mods 1.9.4” instead of “Ver 1.31”.' }
what: 'The boot screen says “Pionaarr Mods 1.10.0” instead of “Ver 1.31”.' }
];
var chosen = {};
MODS.forEach(function (m) { chosen[m.id] = true; }); // every mod ticked at the start
@@ -91,14 +95,51 @@
'<span class="pick-what">' + m.what + '</span>' +
'<span class="pick-by">' + (m.by === 'ours' ? 'Pionaarr mod · made with Claude Code' : 'by arnoldasr') +
(m.needs ? ' · needs <code>' + m.needs + '</code>' : '') + '</span></span>' +
'<span class="state ' + m.state + '">' + m.state + '</span>';
'<span class="pick-side"><span class="state ' + m.state + '">' + m.state + '</span>' +
(share(m.id) !== null ? '<span class="pick-size" title="about what this mod takes of the player’s flash (packed)">≈ ' + kb(share(m.id)) + '</span>' : '') + '</span>';
row.querySelector('input').disabled = stock;
row.querySelector('input').addEventListener('change', function (e) { toggle(m.id, e.target.checked); });
box.appendChild(row);
});
flashBar();
ready();
}
// The flash bar: the application is stored packed in 7.6 MiB of the
// player's flash; the firmware itself, the mods ticked and what is left.
var FL = window.BUILDER_DATA && window.BUILDER_DATA.flash;
function share(id) { return FL && FL.mods[id] !== undefined ? FL.mods[id] : null; }
function kb(n) { return n < 103 ? '< 0.1 KB' : (n / 1024).toFixed(n < 10240 ? 1 : 0) + ' KB'; }
function mb(n) { return (n / 1048576).toFixed(2) + ' MB'; }
function flashBar() {
var el = byId('flash');
if (!el || !FL) return;
var picked = MODS.filter(function (m) { return chosen[m.id] && share(m.id) !== null; });
var common = picked.length ? (FL.common || 0) : 0; // what every build with mods brings once
var mods = common + picked.reduce(function (a, m) { return a + share(m.id); }, 0);
var used = FL.stock + mods, free = FL.size - used;
var pct = function (n) { return (100 * n / FL.size).toFixed(3) + '%'; };
var segs = '<span class="fl-seg fl-fw" style="width:' + pct(FL.stock) + '" title="Pioneer’s firmware ' + mb(FL.stock) + '"></span>' +
(common ? '<span class="fl-seg fl-mod fl-common" style="width:' + pct(common) + '" title="shared by the mods ' + kb(common) + '"></span>' : '');
picked.forEach(function (m, i) {
segs += '<span class="fl-seg fl-mod fl-c' + (i % 4) + '" style="width:' + pct(share(m.id)) + '" title="' + m.name + ' ' + kb(share(m.id)) + '"></span>';
});
var zoom = '';
picked.slice().sort(function (a, b) { return share(b.id) - share(a.id); }).forEach(function (m) {
zoom += '<span class="fl-row"><span class="fl-name">' + m.name + '</span><span class="fl-track"><span class="fl-fill" style="width:' +
(100 * share(m.id) / Math.max.apply(null, picked.map(function (x) { return share(x.id); }))).toFixed(1) + '%"></span></span><span class="fl-kb">' + kb(share(m.id)) + '</span></span>';
});
el.innerHTML =
'<div class="fl-head"><strong>Flash</strong><span>' + mb(used) + ' of ' + mb(FL.size) + ' used · <strong>' + mb(free) + ' free</strong> (' + (100 * free / FL.size).toFixed(1) + ' %)</span></div>' +
'<div class="fl-bar" role="img" aria-label="Flash: firmware ' + mb(FL.stock) + ', mods ' + kb(mods) + ', free ' + mb(free) + '">' + segs + '</div>' +
'<div class="fl-legend"><span><i class="fl-fw"></i>Pioneer firmware ' + mb(FL.stock) + '</span><span><i class="fl-mod fl-c0"></i>Mods ' + kb(mods) +
' (' + picked.length + ')</span><span><i class="fl-free"></i>Free ' + mb(free) + '</span></div>' +
(picked.length ? '<details class="fl-zoom"><summary>What each mod takes</summary>' + zoom +
'<span class="fl-row"><span class="fl-name">Shared by all</span><span class="fl-track"><span class="fl-fill fl-common" style="width:' +
(100 * common / Math.max.apply(null, picked.map(function (x) { return share(x.id); }).concat([common]))).toFixed(1) + '%"></span></span><span class="fl-kb">' + kb(common) + '</span></span></details>' : '') +
'<p class="hint">Sizes as the player stores the firmware (packed), about: the packer shares a lot between mods. Exact with none and with all; the build’s checks give the exact total.</p>';
}
function ready() {
var why = !file ? 'Choose the update file first.'
: !byId('agree-risk').checked || !byId('agree-ai').checked ? 'Confirm both points above to build.' : '';