Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
<!DOCTYPE html>
<!--
VolAnti landing page. Single file, no build step.
Replace agamrossen/VolAnti with the repository path before publishing.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/svg+xml" href="assets/icons/favicon.svg">
<link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-touch-icon.png">
<title>VolAnti | Open-source acoustic drone detection</title>
<meta name="description" content="VolAnti is an open-source acoustic drone detector that hears propellers, not radio. Four microphones, an ESP32-S3 and a harmonic-comb detector. Finds fibre-optic FPV drones that emit no radio signal at all.">
<meta property="og:title" content="VolAnti: it hears the propellers, not the radio">
<meta property="og:description" content="Open-source acoustic drone detection and early warning. Finds fibre-optic FPV drones that radio-frequency detectors cannot see.">
<meta property="og:type" content="website">
<meta name="theme-color" content="#EFEDE6">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
:root{
--paper:#EFEDE6; --paper2:#E4E1D7; --card:#F7F5EF;
--ink:#16181A; --ink2:#3E4247; --ink3:#71767C; --rule:#CFCBBE;
--guard:#1F7A45; --guard2:#3FA168; --guard-soft:#E3EFE7;
--alert:#D93A2B; --alert-soft:#FAE7E4;
--derive:#B5760F; --derive-soft:#F7EDDC;
--deep:#12140F;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);
font-family:'Space Grotesk',system-ui,sans-serif;font-size:17px;line-height:1.62;
-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{line-height:1.08;letter-spacing:-.02em;margin:0}
h1{font-size:clamp(2.1rem,5vw,3.9rem);font-weight:600}
h2{font-size:clamp(1.8rem,3.5vw,2.9rem);font-weight:600}
h3{font-size:1.12rem;font-weight:600}
p{margin:0 0 1.05rem}
a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.hl{font-style:normal;font-weight:600;background:linear-gradient(transparent 62%,#CFE6D9 62%);padding:0 .1em}
.hl-r{font-style:normal;font-weight:600;background:linear-gradient(transparent 62%,#F6D3CE 62%);padding:0 .1em}
.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:.7rem;letter-spacing:.18em;
text-transform:uppercase;color:var(--ink3);margin:0 0 14px}
.lede{font-size:clamp(1rem,1.5vw,1.22rem);color:var(--ink2);max-width:64ch}
.tag{font-family:'IBM Plex Mono',monospace;font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;
padding:2px 7px;border-radius:3px;background:var(--guard-soft);color:#186238}
.tag.d{background:var(--derive-soft);color:#8F5C08}
/* brand */
.mark{display:flex;align-items:center;text-decoration:none}
.wm{height:34px;width:auto;display:block}
.mark{display:flex;align-items:baseline;gap:8px;text-decoration:none}
.mtech{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:25px;color:var(--ink);line-height:1;position:relative;top:-3.6px;letter-spacing:-.02em}
.wm-big{width:clamp(250px,36vw,430px);height:auto;display:block}
header{position:sticky;top:0;z-index:200;background:rgba(239,237,230,.93);position:sticky;
backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
.hd{display:flex;align-items:center;gap:12px;height:62px;max-width:1180px;margin:0 auto;padding:0 24px}
nav{margin-left:auto;display:flex;gap:20px;align-items:center;font-size:.88rem}
nav a{text-decoration:none;color:var(--ink2)}nav a:hover{color:var(--ink)}
.gh{display:inline-flex;align-items:center;gap:7px;background:var(--ink);color:var(--paper);padding:7px 14px;border-radius:5px;font-size:.85rem;font-weight:500;text-decoration:none}
nav a.active{color:var(--ink);font-weight:600;position:relative}
nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-19px;height:2px;background:var(--guard)}
.prog{position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--guard);transition:width .1s linear}
@media(max-width:880px){nav a:not(.gh){display:none}}
/* hero */
.hero{padding:56px 0 34px;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;z-index:0;
background-image:radial-gradient(var(--rule) .9px,transparent .9px);background-size:26px 26px;opacity:.4;
-webkit-mask-image:radial-gradient(circle at 70% 34%,#000,transparent 72%);
mask-image:radial-gradient(circle at 70% 34%,#000,transparent 72%)}
.hero .wrap{position:relative;z-index:1}
.hgrid{display:grid;grid-template-columns:1.02fr .98fr;gap:48px;align-items:center}
@media(max-width:940px){.hgrid{grid-template-columns:1fr;gap:30px}}
.brand{margin-bottom:18px}
.tagline{font-family:'IBM Plex Mono',monospace;font-size:.72rem;letter-spacing:.2em;
text-transform:uppercase;color:var(--guard);margin:0 0 26px;padding-left:2px}
.hero h1{max-width:16ch;margin-bottom:18px}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-block;padding:12px 22px;border-radius:6px;text-decoration:none;font-weight:500;font-size:.94rem;transition:transform .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-p{background:var(--ink);color:var(--paper)}
.btn-g{border:1px solid var(--ink);color:var(--ink)}
.film{border:1px solid var(--rule);border-radius:10px;background:var(--card);overflow:hidden;margin-bottom:14px}
.filmsvg{display:block;width:100%;height:auto}
.film{border:1px solid var(--rule);border-radius:10px;background:var(--card);overflow:hidden;margin-bottom:14px}
.filmsvg{display:block;width:100%;height:auto}
@keyframes zoomout{0%,9%{transform:translate(-150px,-60px) scale(1.8)}26%,100%{transform:none}}
.world{transform-origin:0 0;animation:zoomout 18s cubic-bezier(.4,0,.2,1) infinite}
@keyframes flyin{0%{transform:translate(110px,106px)}10%,44%{transform:translate(150px,106px)}52%,100%{transform:translate(168px,112px)}}
.drone{transform:translate(110px,106px);animation:flyin 18s ease-in-out infinite}
@keyframes propspin{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.2)}}
.props{transform-box:fill-box;transform-origin:center;animation:propspin .34s linear infinite}
.p2{animation-delay:.17s}
@keyframes fibrefade{0%,4%{opacity:0}9%,30%{opacity:1}38%,100%{opacity:0}}
.fibre{animation:fibrefade 18s ease-in-out infinite}
@keyframes ringout{0%{r:12;opacity:0}6%{opacity:.85}40%{r:190;opacity:0}100%{r:190;opacity:0}}
.rings circle{animation:ringout 18s ease-out infinite}
.rings circle:nth-child(2){animation-delay:1.1s}.rings circle:nth-child(3){animation-delay:2.2s}
.unitA{transform:translate(282px,222px)}
@keyframes lampred{0%,32%{fill:#5FBE85}36%,78%{fill:#D93A2B}84%,100%{fill:#5FBE85}}
.lamp{animation:lampred 18s linear infinite}
@keyframes hitpop{0%,32%{opacity:0;transform:scale(.4)}37%,50%{opacity:1;transform:scale(1)}58%,100%{opacity:0}}
.hit{transform-box:fill-box;transform-origin:center;animation:hitpop 18s ease-out infinite}
@keyframes f0fade{0%,33%{opacity:0}38%,62%{opacity:1}70%,100%{opacity:0}}
.f0{animation:f0fade 18s ease-in-out infinite}
@keyframes rangelbl{0%,30%{opacity:0}36%,60%{opacity:1}66%,100%{opacity:0}}
.range{animation:rangelbl 18s ease-in-out infinite}
@keyframes meshline{0%,43%{stroke-dasharray:0 400;opacity:0}46%{opacity:1}56%,80%{stroke-dasharray:400 0;opacity:1}88%,100%{opacity:0}}
@keyframes meshshine{0%,56%{stroke-dashoffset:0}80%{stroke-dashoffset:-400}100%{stroke-dashoffset:-400}}
.mesh path{stroke-dasharray:0 400;animation:meshline 18s ease-out infinite}
.mesh .m2{animation-delay:.35s}.mesh .m3{animation-delay:.7s}.mesh .m4{animation-delay:1.05s}.mesh .m5{animation-delay:1.4s}.mesh .m6{animation-delay:1.75s}
@keyframes lampon{0%,50%{fill:#3E4247}56%,86%{fill:#D93A2B}92%,100%{fill:#3E4247}}
.lamp2{animation:lampon 18s linear infinite}
.u2 .lamp2{animation-delay:.5s}.u3 .lamp2{animation-delay:1s}
@keyframes shielddraw{0%,58%{stroke-dashoffset:700;opacity:0}64%{opacity:1}78%,92%{stroke-dashoffset:0;opacity:1}98%,100%{opacity:0}}
.shield{stroke-dashoffset:700;animation:shielddraw 18s ease-out infinite}
@keyframes shieldlbl{0%,72%{opacity:0}78%,92%{opacity:1}97%,100%{opacity:0}}
.shieldlbl{animation:shieldlbl 18s ease-in-out infinite}
@keyframes capfade{0%,2%{opacity:0}5%,16%{opacity:1}20%,100%{opacity:0}}
.cap{opacity:0;animation:capfade 18s linear infinite}
.c2{animation-delay:3.4s}.c3{animation-delay:6.2s}.c4{animation-delay:9.4s}.c5{animation-delay:12.6s}
.inst{border:1px solid var(--ink);border-radius:10px;background:#12140F;overflow:hidden;
box-shadow:0 22px 48px -30px rgba(0,0,0,.6);display:flex;flex-direction:column}
.inst-hd,.inst-ft{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;
font-family:'IBM Plex Mono',monospace;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:#7E857D}
.inst-hd{border-bottom:1px solid #262A22}.inst-ft{border-top:1px solid #262A22;flex-wrap:wrap;gap:6px}
.lamp{display:inline-flex;align-items:center;gap:7px;color:#5FBE85}
.lamp i{width:7px;height:7px;border-radius:50%;background:#5FBE85;display:inline-block}
.inst.hot{border-color:var(--alert)}.inst.hot .lamp{color:#FF7A68}.inst.hot .lamp i{background:#FF7A68}
canvas{display:block;width:100%;height:clamp(220px,30vh,300px)}
@media(max-width:940px){canvas{height:240px}}
.readout b{color:#D8DCD4}
section{padding:64px 0}
.rule{height:1px;background:var(--rule)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center}
@media(max-width:940px){.two{grid-template-columns:1fr;gap:30px}}
/* signature */
.sig{border:1px solid var(--rule);border-radius:10px;background:var(--card);overflow:hidden}
.sig svg{width:100%;height:auto;display:block}
.sig-hd{display:flex;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--rule);
font-family:'IBM Plex Mono',monospace;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink3)}
.reasons{display:grid;gap:12px;margin-top:22px}
.reason{border-left:2px solid var(--guard);padding:2px 0 2px 15px}
.reason b{display:block;font-size:.97rem}
.reason span{font-size:.89rem;color:var(--ink2)}
/* signal rail */
.rail{margin-top:34px}
.stage{display:grid;grid-template-columns:1fr 320px;gap:30px;align-items:center;
padding:18px 0 18px 34px;position:relative;border-bottom:1px solid var(--rule)}
.stage:before{content:"";position:absolute;left:8px;top:0;bottom:0;width:2px;background:var(--rule)}
.stage:after{content:"";position:absolute;left:3px;top:30px;width:12px;height:12px;border-radius:50%;
background:var(--paper);border:2px solid var(--guard)}
.stage:first-child:before{top:30px}
.stage h3{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.chip{font-family:'IBM Plex Mono',monospace;font-size:.68rem;padding:2px 8px;border-radius:20px;
background:var(--guard-soft);color:#186238;font-weight:500}
.chip.r{background:var(--alert-soft);color:#A33224}
.stage p{margin:6px 0 0;color:var(--ink2);max-width:62ch;font-size:.94rem}
.fig{border:1px solid var(--rule);border-radius:9px;background:var(--card);padding:8px}
.fig svg{display:block;width:100%;height:112px}
.fig-tall svg{height:140px}
.stage.wide{grid-template-columns:1fr;gap:18px}
.fig-wide svg{height:auto;max-height:250px}
.branchset{position:relative;margin-left:34px;padding-left:36px}
.tier-row{padding-left:0}
.tier-row:before,.tier-row:after{display:none}
.branchsvg{position:absolute;left:-36px;top:0;width:44px;height:100%;overflow:visible;pointer-events:none}
.tn{font-family:'IBM Plex Mono',monospace;font-size:.7rem;letter-spacing:.14em;color:var(--ink3);text-transform:uppercase}
.tn b{color:var(--guard);font-weight:500}
.tier-row h3{margin:5px 0 0}
.tier-row .lat{display:inline-block;margin-top:10px;font-family:'IBM Plex Mono',monospace;font-size:.78rem;color:var(--guard)}
.tfig{background:#131611;border:1px solid #262A22;border-radius:9px;padding:10px;overflow:hidden}
.tfig svg{overflow:hidden}
.tfig svg{display:block;width:100%;height:132px}
@media(max-width:860px){.branchset{margin-left:0;padding-left:26px}.tier-row:before{left:-20px;width:20px}}
@media(max-width:860px){
.stage{grid-template-columns:1fr;gap:16px;padding-left:28px}
.fig svg{height:130px}
}
/* per step animations */
@keyframes dotin{0%,4%{opacity:0;transform:scale(.2)}9%,80%{opacity:1;transform:scale(1)}92%,100%{opacity:0}}
.sd{transform-box:fill-box;transform-origin:center;animation:dotin 4s linear infinite}
@keyframes fftb{0%{transform:scaleY(0)}10%{transform:scaleY(1)}100%{transform:scaleY(1)}}
@keyframes fftglow{0%,100%{fill:#3E6B52}50%{fill:#5FBE85}}
.fb{transform-box:fill-box;transform-origin:center bottom;animation:fftb 4s ease-out infinite,fftglow 4s ease-in-out infinite}
@keyframes nzrise{0%{transform:translateY(0)}45%,100%{transform:translateY(-18px)}}
@keyframes nzburst{0%,55%{transform:scaleY(1)}60%,70%{transform:scaleY(2.6)}76%,100%{transform:scaleY(1)}}
@keyframes nzfloorj{0%{transform:translateY(0)}45%{transform:translateY(-18px)}58%{transform:translateY(-18px)}62%,72%{transform:translateY(-58px)}80%,100%{transform:translateY(-22px)}}
@keyframes nzfade{0%,50%{opacity:0}62%,80%{opacity:1}86%,100%{opacity:0}}
@keyframes nzlblf{0%,44%{opacity:1}52%,100%{opacity:0}}
.nz{transform-box:fill-box;transform-origin:center bottom;animation:nzburst 7s ease-in-out infinite}
.nzfloor{animation:nzfloorj 7s ease-in-out infinite}
.nzburst{animation:nzfade 7s ease-in-out infinite}
.nzlbl{animation:nzlblf 7s ease-in-out infinite}
@keyframes scan{0%{transform:translateX(0) scaleX(.55)}40%{transform:translateX(10px) scaleX(1.55)}52%,66%{transform:translateX(57px) scaleX(1)}80%{transform:translateX(120px) scaleX(.7)}100%{transform:translateX(0) scaleX(.55)}}
.comb,.comb2{transform-box:view-box;transform-origin:0 0;animation:scan 8s ease-in-out infinite}
@keyframes meter{0%,6%{transform:scaleY(.12)}30%{transform:scaleY(.3)}44%{transform:scaleY(.22)}52%,66%{transform:scaleY(.86)}74%{transform:scaleY(.4)}88%,100%{transform:scaleY(.12)}}
.meter{transform-box:fill-box;transform-origin:center bottom;animation:meter 8s ease-in-out infinite}
@keyframes trk{0%,50%{fill:#C6C2B4}var(--k),100%{fill:#1F7A45}}
@keyframes lockf{0%,64%{opacity:0}67%,84%{opacity:1}88%,100%{opacity:0}}
.lockflag{animation:lockf 8s ease-in-out infinite}
@keyframes scanl{0%,48%{opacity:1}54%,68%{opacity:0}74%,100%{opacity:1}}
.scanlbl{animation:scanl 8s ease-in-out infinite}
@keyframes drawin{0%{stroke-dashoffset:var(--L)}45%,80%{stroke-dashoffset:0}100%{stroke-dashoffset:var(--L)}}
.draw{stroke-dasharray:var(--L);animation:drawin 6s ease-in-out infinite}
@keyframes popin{0%,40%{opacity:0;transform:scale(.2)}48%,80%{opacity:1;transform:scale(1)}100%{opacity:0}}
.pop{transform-box:fill-box;transform-origin:center;animation:popin 6s ease-in-out infinite}
@keyframes slidex{0%{transform:translateX(0)}100%{transform:translateX(-150px)}}
.slide{animation:slidex 3s linear infinite}
@keyframes teethup{0%,10%{transform:scaleY(.15)}45%,80%{transform:scaleY(1)}100%{transform:scaleY(.15)}}
.tup{transform-box:fill-box;transform-origin:center bottom;animation:teethup 5s ease-in-out infinite}
@keyframes wavepulse{0%{r:8;opacity:.85}100%{r:120;opacity:0}}
.wv{animation:wavepulse 2.8s linear infinite}
.wv:nth-of-type(2){animation-delay:.93s}.wv:nth-of-type(3){animation-delay:1.86s}
@keyframes micblink{0%,72%{fill:#B9B5A8}80%,100%{fill:#1F7A45}}
.mic1{animation:micblink 2.8s linear infinite}
.mic2{animation:micblink 2.8s linear infinite .06s}
.mic3{animation:micblink 2.8s linear infinite .12s}
.mic4{animation:micblink 2.8s linear infinite .18s}
@keyframes stack{0%,20%{opacity:.35;transform:translateY(var(--o))}55%,100%{opacity:1;transform:translateY(0)}}
.sm{animation:stack 3.2s ease-in-out infinite}
@keyframes grow{0%,12%{transform:scaleY(.12)}45%,72%{transform:scaleY(1)}100%{transform:scaleY(.12)}}
.gb{transform-origin:center bottom;animation:grow 3s ease-in-out infinite}
@keyframes floorrise{0%,15%{transform:translateY(0)}70%,100%{transform:translateY(-26px)}}
.fl{animation:floorrise 4s ease-in-out infinite}
@keyframes spike{0%,30%{transform:scaleY(.1);opacity:.4}45%,60%{transform:scaleY(1);opacity:1}80%,100%{transform:scaleY(.1);opacity:.4}}
.sp{transform-origin:center bottom;animation:spike 4s ease-in-out infinite}
@keyframes teethon{0%,30%{opacity:.25}50%,100%{opacity:1}}
.tt{animation:teethon 3s ease-in-out infinite}
@keyframes gapdim{0%,30%{opacity:.9}50%,100%{opacity:.2}}
.gp{animation:gapdim 3s ease-in-out infinite}
@keyframes lockseq{0%,var(--s){fill:#C6C2B4}calc(var(--s) + 4%),100%{fill:#1F7A45}}
@keyframes dotseq{0%{fill:#C6C2B4}100%{fill:#1F7A45}}
.dt{animation:dotseq 3.6s steps(1,end) infinite}
@keyframes lockbox{0%,68%{opacity:0}74%,100%{opacity:1}}
.lk{animation:lockbox 3.6s ease-in-out infinite}
@keyframes holdgrow{0%,8%{transform:scaleX(0)}62%,100%{transform:scaleX(1)}}
.hold{transform-origin:40px 84px;animation:holdgrow 3.6s ease-out infinite}
@keyframes cntfade{0%,66%{opacity:1}72%,100%{opacity:0}}
.cnt{animation:cntfade 3.6s ease-in-out infinite}
@keyframes pipe{0%{stroke-dashoffset:400}100%{stroke-dashoffset:0}}
.pl0{stroke-dasharray:400;animation:pipe 3s linear infinite}
@keyframes lampon{0%,50%{opacity:.2}58%,88%{opacity:1}100%{opacity:.2}}
@keyframes scr{0%,20%{stroke-dashoffset:320}70%,100%{stroke-dashoffset:0}}
.scr{stroke-dasharray:320;animation:scr 5s ease-in-out infinite}
@keyframes floslow{0%,20%{transform:translateY(0)}75%,100%{transform:translateY(-18px)}}
.flo{animation:floslow 5s ease-in-out infinite}
/* exploded */
.xp-sticky{position:sticky;top:0;height:100vh;display:grid;grid-template-columns:var(--cw,380px) 1fr;
align-items:center;gap:22px;max-width:1400px;margin:0 auto;padding:0 22px}
.xp-copy h2{margin-bottom:12px;font-size:clamp(1.5rem,2.3vw,2.2rem)}
.xp-copy p{font-size:.94rem;color:var(--ink2)}
.xp-stage{position:relative;height:94vh;overflow:hidden}
.xp-roll{position:absolute;inset:0}
.exploded.seen .xp-roll{animation:rollin 1s cubic-bezier(.22,1,.36,1) both}
@keyframes rollin{from{transform:translateX(-9%) rotate(-15deg);opacity:0}to{transform:none;opacity:1}}
.xp-inner{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.xl{position:absolute;inset:0;will-change:transform;z-index:15}
.xl.bf{z-index:15}
.exploded.spread .xl.bf{z-index:12}
.xl svg{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.xl-cal{opacity:0;transition:opacity .35s ease}
.exploded.open .xl-cal{opacity:1}
@media(max-width:980px){
#xpScroll{height:auto!important}
.exploded{padding:0}
.xp-sticky{grid-template-columns:1fr;height:auto;position:static;padding:54px 22px}
.xp-stage{height:auto;aspect-ratio:9/7;overflow:visible}
.xl-cal{opacity:1}
}
/* reach */
.scale{margin-top:30px;border:1px solid var(--rule);border-radius:10px;background:var(--card);padding:24px 24px 12px}
.srow{display:grid;grid-template-columns:196px 1fr 126px;gap:16px;align-items:center;padding:11px 0}
.srow .lab b{display:block;font-size:.94rem}
.srow .lab span{font-size:.79rem;color:var(--ink3);font-family:'IBM Plex Mono',monospace}
.srow .val{font-family:'IBM Plex Mono',monospace;font-size:.85rem;color:var(--ink);text-align:right;font-weight:500}
.axis{position:relative;height:26px}
.axis .base{position:absolute;left:0;top:9px;height:8px;border-radius:20px;background:#E2DED1;width:0;
transition:width .9s cubic-bezier(.22,1,.36,1)}
.axis .band{position:absolute;top:5px;height:16px;border-radius:20px;background:var(--guard);width:0;
transition:width 1s cubic-bezier(.22,1,.36,1) .1s,left 1s cubic-bezier(.22,1,.36,1) .1s}
.ticks{position:relative;height:32px;margin-top:6px;border-top:1px solid var(--rule)}
.ticks span{position:absolute;top:6px;transform:translateX(-50%);font-family:'IBM Plex Mono',monospace;font-size:.73rem;color:var(--ink3)}
.ticks span:before{content:"";position:absolute;left:50%;top:-7px;width:1px;height:6px;background:var(--rule)}
.slegend{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px;font-size:.79rem;color:var(--ink3);font-family:'IBM Plex Mono',monospace}
.slegend i{display:inline-block;width:20px;height:8px;border-radius:6px;vertical-align:middle;margin-right:7px}
@media(max-width:760px){.srow{grid-template-columns:1fr;gap:4px}.srow .val{text-align:left}}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:30px}
@media(max-width:860px){.grid3{grid-template-columns:1fr}}
.mcard{border:1px solid var(--rule);border-radius:8px;padding:18px;background:var(--card)}
.mcard .k{font-family:'IBM Plex Mono',monospace;font-size:1.85rem;letter-spacing:-.02em}
.mcard .l{font-size:.87rem;color:var(--ink2);margin-top:5px}
.proof{padding:34px 0 26px}
.pricebar{display:flex;gap:36px;flex-wrap:wrap;padding-bottom:30px}
.pricebar div{display:flex;align-items:baseline;gap:10px}
.pricebar b{font-size:1.5rem;letter-spacing:-.02em}
.pricebar span{font-family:'IBM Plex Mono',monospace;font-size:.76rem;color:var(--ink3);max-width:34ch;line-height:1.45}
@media(max-width:700px){.pricebar{gap:16px}.pricebar div{flex-direction:column;gap:2px}}
#rig{padding:56px 0 40px}
.rig{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}
.rig figure{margin:0}.rig img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;display:block;border:1px solid var(--rule)}
.rig figcaption{font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:var(--ink3);margin-top:8px;line-height:1.4}
@media(max-width:800px){.rig{grid-template-columns:1fr 1fr}}
#simov{position:fixed;inset:0;z-index:500;background:var(--paper);display:flex;flex-direction:column;visibility:hidden;pointer-events:none}
#simov.open{visibility:visible;pointer-events:auto}
#simfr{flex:1;width:100%;border:0;background:var(--paper)}
.proofwrap{display:grid;grid-template-columns:260px 1fr;gap:34px;align-items:center}
@media(max-width:700px){.proofwrap{grid-template-columns:1fr}}
.loop{width:260px;height:260px;border-radius:12px;display:block;object-fit:cover;border:1px solid var(--rule);background:#111}
.field3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
@media(max-width:900px){.field3{grid-template-columns:1fr}}
.fcard{margin:0;border:1px solid var(--rule);border-radius:10px;overflow:hidden;background:var(--card)}
.fcard video,.fcard img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;background:#111}
.fcard figcaption{padding:10px 13px;font-size:.84rem;color:var(--ink2)}
.meas{position:absolute;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none}
.meas i{width:12px;height:12px;border-radius:50%;background:var(--alert);border:2px solid var(--paper);box-shadow:0 0 0 2px var(--alert)}
.meas em{font-style:normal;font-family:'IBM Plex Mono',monospace;font-size:.66rem;color:var(--alert);white-space:nowrap;margin-top:6px}
.mcard .c{font-size:.75rem;color:var(--ink3);margin-top:9px;font-family:'IBM Plex Mono',monospace}
.chans{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin-top:30px}
@media(max-width:1000px){.chans{grid-template-columns:repeat(2,1fr)}}
.chan{border:1px solid var(--rule);border-radius:8px;padding:17px;background:var(--card);transition:border-color .25s,background .25s}
.chan svg{width:30px;height:30px;display:block;margin-bottom:11px}
.chan h4{margin:0 0 5px;font-size:.98rem}
.chan p{margin:0;font-size:.84rem;color:var(--ink2)}
.chan.fire{border-color:var(--alert);background:var(--alert-soft)}
.story{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:32px}
@media(max-width:1000px){.story{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.story{grid-template-columns:1fr}}
.sc{border:1px solid var(--rule);border-radius:9px;background:var(--card);overflow:hidden;display:flex;flex-direction:column;text-decoration:none;transition:border-color .2s,transform .2s}
.sc:hover{border-color:var(--guard);transform:translateY(-2px)}
.sc .im{aspect-ratio:4/3;background:#E2DED1;position:relative;overflow:hidden}
.sc .im img{width:100%;height:100%;object-fit:cover;display:block}
.sc .n{position:absolute;left:9px;top:9px;background:var(--ink);color:var(--paper);font-family:'IBM Plex Mono',monospace;font-size:.66rem;padding:2px 7px;border-radius:3px;z-index:2}
.sc .b{padding:12px 13px}
.sc .d{font-family:'IBM Plex Mono',monospace;font-size:.68rem;color:var(--ink3);letter-spacing:.06em}
.sc h4{margin:3px 0 5px;font-size:.98rem}
.sc p{margin:0;font-size:.85rem;color:var(--ink2)}
.gal{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:30px}
@media(max-width:1000px){.gal{grid-template-columns:repeat(4,1fr)}}
@media(max-width:620px){.gal{grid-template-columns:repeat(3,1fr);gap:5px}}
.gc{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:6px;background:#E2DED1}
.gc img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.gc:hover img{transform:scale(1.04)}
.gc span{position:absolute;left:0;right:0;bottom:0;padding:3px 7px;background:linear-gradient(transparent,rgba(22,24,26,.6));color:#fff;font-family:'IBM Plex Mono',monospace;font-size:.62rem;letter-spacing:.08em}
/* build */
.build{background:var(--deep);color:#E8E6DE}
.build h2{color:#F4F2EA}.build .lede{color:#9BA096}
.routes{display:grid;grid-template-columns:1fr 54px 1fr;margin-top:32px;align-items:stretch}
@media(max-width:900px){.routes{grid-template-columns:1fr;gap:12px}.joinarrow{display:none}}
.route{display:block;text-decoration:none;background:#1B1E18;border:1px solid #2E322A;border-radius:11px;
padding:24px;transition:border-color .2s,transform .2s}
.route:hover{border-color:#5FBE85;transform:translateY(-2px)}
.route .pn{font-family:'IBM Plex Mono',monospace;font-size:.69rem;letter-spacing:.14em;color:#7E857D}
.route b{display:block;color:#F4F2EA;font-size:1.28rem;margin:8px 0;font-weight:600}
.route span{display:block;color:#A8ADA3;font-size:.9rem}
.route .price{display:block;margin-top:14px;font-family:'IBM Plex Mono',monospace;font-size:.77rem;color:#5FBE85}
.joinarrow{display:flex;align-items:center;justify-content:center;color:#5FBE85}
.joinnote{margin-top:16px;font-size:.88rem;color:#8A9086;font-family:'IBM Plex Mono',monospace}
.ghlink{display:inline-flex;align-items:center;gap:10px;margin-top:26px;padding:13px 20px;border:1px solid #3A3F36;
border-radius:7px;text-decoration:none;color:#F4F2EA;font-family:'IBM Plex Mono',monospace;font-size:.85rem}
.ghlink:hover{border-color:#5FBE85}
.scope{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);background:var(--paper2);padding:24px 0}
.scope p{margin:0;font-size:clamp(1rem,1.4vw,1.18rem);color:var(--ink2);max-width:80ch}
.scope b{color:var(--ink)}
footer{background:var(--deep);color:#8A9086;padding:42px 0 56px;font-size:.86rem;border-top:1px solid #2A2E26}
footer a{color:#B8BDB3}footer strong{color:#E8E6DE}
:focus-visible{outline:2px solid var(--guard);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
</style>
</head>
<body>
<header>
<div class="prog" id="prog"></div>
<div class="hd">
<a class="mark" href="#" aria-label="VolAnti"><svg class="wm" xmlns="http://www.w3.org/2000/svg" viewBox="-6 -100 366 112" role="img" aria-label="VolAnti"><path d="M19.6 0.0 1.8 -70.0H15.4L30.200000000000003 -8.5H31.6L46.400000000000006 -70.0H60.0L42.2 0.0Z M86.9 1.4000000000000001Q79.5 1.4000000000000001 73.6 -1.6Q67.7 -4.6000000000000005 64.30000000000001 -10.3Q60.900000000000006 -16.0 60.900000000000006 -24.0V-25.6Q60.900000000000006 -33.6 64.30000000000001 -39.3Q67.7 -45.0 73.6 -48.0Q79.5 -51.0 86.9 -51.0Q94.30000000000001 -51.0 100.20000000000002 -48.0Q106.10000000000001 -45.0 109.5 -39.3Q112.9 -33.6 112.9 -25.6V-24.0Q112.9 -16.0 109.5 -10.3Q106.10000000000001 -4.6000000000000005 100.20000000000002 -1.6Q94.30000000000001 1.4000000000000001 86.9 1.4000000000000001ZM86.9 -9.8Q92.7 -9.8 96.5 -13.55Q100.30000000000001 -17.3 100.30000000000001 -24.3V-25.3Q100.30000000000001 -32.300000000000004 96.55000000000001 -36.050000000000004Q92.80000000000001 -39.800000000000004 86.9 -39.800000000000004Q81.10000000000001 -39.800000000000004 77.30000000000001 -36.050000000000004Q73.5 -32.300000000000004 73.5 -25.3V-24.3Q73.5 -17.3 77.30000000000001 -13.55Q81.10000000000001 -9.8 86.9 -9.8Z M119.0 0.0V-70.0H131.6V0.0Z " fill="#D93A2B"/><path d="M148.43,-3.77 L148.30,-4.05 L148.08,-4.48 L147.85,-4.90 L147.60,-5.31 L147.34,-5.72 L147.06,-6.11 L146.77,-6.50 L146.47,-6.87 L146.16,-7.23 L145.83,-7.59 L145.49,-7.93 L145.13,-8.26 L144.77,-8.57 L144.40,-8.87 L144.01,-9.16 L143.62,-9.44 L143.21,-9.70 L142.80,-9.95 L142.38,-10.18 L141.95,-10.40 L141.51,-10.61 L141.07,-10.79 L140.62,-10.97 L140.16,-11.12 L139.70,-11.26 L139.24,-11.39 L138.77,-11.50 L138.30,-11.59 L137.82,-11.67 L137.34,-11.72 L136.99,-11.75 L133.90,0.00 L147.50,0.00 L148.43,-3.77 Z M151.30,-15.40 L156.28,-15.40 L155.82,-15.93 L155.18,-16.62 L154.52,-17.28 L153.83,-17.92 L153.13,-18.53 L152.40,-19.12 L151.65,-19.68 L150.89,-20.22 L150.10,-20.73 L149.30,-21.21 L148.48,-21.66 L147.65,-22.09 L146.80,-22.48 L145.94,-22.85 L145.07,-23.18 L144.18,-23.49 L143.29,-23.76 L142.38,-24.00 L141.47,-24.21 L140.55,-24.39 L140.32,-24.43 L138.63,-18.01 L138.66,-18.01 L138.77,-18.00 L139.35,-17.90 L139.46,-17.88 L140.05,-17.77 L140.15,-17.75 L140.73,-17.61 L140.84,-17.59 L141.41,-17.43 L141.52,-17.40 L142.09,-17.23 L142.20,-17.19 L142.76,-17.00 L142.86,-16.96 L143.42,-16.75 L143.52,-16.71 L144.06,-16.48 L144.17,-16.43 L144.70,-16.18 L144.81,-16.13 L145.33,-15.86 L145.43,-15.81 L145.95,-15.52 L146.05,-15.47 L146.56,-15.16 L146.65,-15.10 L147.15,-14.78 L147.24,-14.71 L147.73,-14.37 L147.82,-14.31 L148.29,-13.95 L148.38,-13.88 L148.84,-13.51 L148.93,-13.44 L149.37,-13.05 L149.46,-12.97 L149.89,-12.57 L149.97,-12.49 L150.39,-12.07 L150.46,-12.00 L151.30,-15.40 Z M171.69,-15.40 L171.67,-15.45 L171.04,-16.68 L170.37,-17.90 L169.65,-19.09 L168.90,-20.26 L168.10,-21.39 L167.26,-22.50 L166.39,-23.58 L165.48,-24.63 L164.53,-25.65 L163.55,-26.63 L162.53,-27.58 L162.50,-27.60 L154.40,-27.60 L155.64,-32.56 L154.58,-33.14 L153.35,-33.77 L152.09,-34.36 L150.81,-34.90 L149.51,-35.40 L148.20,-35.85 L146.87,-36.26 L145.53,-36.62 L144.17,-36.93 L143.63,-37.03 L141.95,-30.64 L142.75,-30.49 L142.86,-30.46 L143.88,-30.23 L143.99,-30.20 L145.00,-29.93 L145.10,-29.90 L146.11,-29.59 L146.21,-29.56 L147.20,-29.22 L147.31,-29.18 L148.28,-28.80 L148.39,-28.76 L149.35,-28.35 L149.45,-28.31 L150.40,-27.86 L150.50,-27.82 L151.44,-27.34 L151.54,-27.29 L152.45,-26.78 L152.55,-26.72 L153.45,-26.18 L153.54,-26.13 L154.42,-25.55 L154.51,-25.49 L155.37,-24.89 L155.46,-24.83 L156.30,-24.20 L156.38,-24.13 L157.20,-23.47 L157.28,-23.40 L158.07,-22.71 L158.16,-22.63 L158.92,-21.92 L159.00,-21.84 L159.74,-21.10 L159.82,-21.02 L160.53,-20.26 L160.61,-20.17 L161.30,-19.38 L161.37,-19.30 L162.03,-18.48 L162.10,-18.40 L162.73,-17.56 L162.79,-17.47 L163.39,-16.61 L163.45,-16.52 L164.03,-15.64 L164.08,-15.55 L164.17,-15.40 L171.69,-15.40 Z M193.70,0.00 L175.30,-70.00 L152.30,-70.00 L145.27,-43.24 L145.45,-43.20 L145.56,-43.18 L147.02,-42.84 L147.13,-42.81 L148.58,-42.43 L148.69,-42.39 L150.12,-41.96 L150.23,-41.92 L151.65,-41.43 L151.75,-41.39 L153.15,-40.86 L153.26,-40.81 L154.64,-40.23 L154.74,-40.18 L156.10,-39.55 L156.20,-39.50 L157.24,-38.97 L162.90,-61.70 L164.70,-61.70 L173.20,-27.60 L171.37,-27.60 L172.27,-26.49 L172.34,-26.40 L173.24,-25.20 L173.31,-25.11 L174.17,-23.88 L174.23,-23.79 L175.05,-22.53 L175.11,-22.43 L175.88,-21.15 L175.94,-21.05 L176.67,-19.74 L176.72,-19.64 L177.40,-18.30 L177.45,-18.20 L178.08,-16.84 L178.13,-16.74 L178.71,-15.36 L178.76,-15.25 L179.29,-13.85 L179.33,-13.75 L179.82,-12.33 L179.86,-12.22 L180.29,-10.79 L180.33,-10.68 L180.71,-9.23 L180.74,-9.12 L181.08,-7.66 L181.10,-7.55 L181.39,-6.08 L181.41,-5.97 L181.64,-4.49 L181.66,-4.37 L181.84,-2.88 L181.85,-2.77 L181.98,-1.28 L181.99,-1.17 L182.05,0.00 L193.70,0.00 Z " fill="#16181A" fill-rule="evenodd"/><path d="M202.5 0.0V-49.6H214.9V-43.1H216.7Q217.9 -45.7 221.2 -48.050000000000004Q224.5 -50.400000000000006 231.2 -50.400000000000006Q237.0 -50.400000000000006 241.35 -47.75Q245.7 -45.1 248.1 -40.45Q250.5 -35.800000000000004 250.5 -29.6V0.0H237.9V-28.6Q237.9 -34.2 235.15 -37.0Q232.4 -39.800000000000004 227.3 -39.800000000000004Q221.5 -39.800000000000004 218.3 -35.95Q215.1 -32.1 215.1 -25.200000000000003V0.0Z M283.1 0.0Q278.20000000000005 0.0 275.15000000000003 -3.0500000000000003Q272.1 -6.1000000000000005 272.1 -11.200000000000001V-39.2H259.70000000000005V-49.6H272.1V-65.0H284.70000000000005V-49.6H298.3V-39.2H284.70000000000005V-13.4Q284.70000000000005 -10.4 287.5 -10.4H297.1V0.0Z M309.70000000000005 0.0V-49.6H322.30000000000007V0.0Z " fill="#16181A"/><circle cx="316.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-44.0" r="6.8" fill="#16181A"/></svg><span class="mtech">tech</span></a>
<nav>
<a href="#unit">The unit</a>
<a href="#reach">Reach</a>
<a href="#why">The signature</a>
<a href="#hear">How it hears</a>
<a href="#algorithms">The detectors</a>
<a href="#story">The build</a>
<a href="#simulator" id="simlink">Live simulator</a>
<a class="gh" href="https://github.com/agamrossen/VolAnti"><svg width="15" height="15" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>GitHub</a>
</nav>
</div>
</header>
<div class="hero">
<div class="wrap">
<div class="hgrid">
<div>
<div class="brand"><svg class="wm-big" xmlns="http://www.w3.org/2000/svg" viewBox="-6 -100 366 112" role="img" aria-label="VolAnti"><path d="M19.6 0.0 1.8 -70.0H15.4L30.200000000000003 -8.5H31.6L46.400000000000006 -70.0H60.0L42.2 0.0Z M86.9 1.4000000000000001Q79.5 1.4000000000000001 73.6 -1.6Q67.7 -4.6000000000000005 64.30000000000001 -10.3Q60.900000000000006 -16.0 60.900000000000006 -24.0V-25.6Q60.900000000000006 -33.6 64.30000000000001 -39.3Q67.7 -45.0 73.6 -48.0Q79.5 -51.0 86.9 -51.0Q94.30000000000001 -51.0 100.20000000000002 -48.0Q106.10000000000001 -45.0 109.5 -39.3Q112.9 -33.6 112.9 -25.6V-24.0Q112.9 -16.0 109.5 -10.3Q106.10000000000001 -4.6000000000000005 100.20000000000002 -1.6Q94.30000000000001 1.4000000000000001 86.9 1.4000000000000001ZM86.9 -9.8Q92.7 -9.8 96.5 -13.55Q100.30000000000001 -17.3 100.30000000000001 -24.3V-25.3Q100.30000000000001 -32.300000000000004 96.55000000000001 -36.050000000000004Q92.80000000000001 -39.800000000000004 86.9 -39.800000000000004Q81.10000000000001 -39.800000000000004 77.30000000000001 -36.050000000000004Q73.5 -32.300000000000004 73.5 -25.3V-24.3Q73.5 -17.3 77.30000000000001 -13.55Q81.10000000000001 -9.8 86.9 -9.8Z M119.0 0.0V-70.0H131.6V0.0Z " fill="#D93A2B"/><path d="M148.43,-3.77 L148.30,-4.05 L148.08,-4.48 L147.85,-4.90 L147.60,-5.31 L147.34,-5.72 L147.06,-6.11 L146.77,-6.50 L146.47,-6.87 L146.16,-7.23 L145.83,-7.59 L145.49,-7.93 L145.13,-8.26 L144.77,-8.57 L144.40,-8.87 L144.01,-9.16 L143.62,-9.44 L143.21,-9.70 L142.80,-9.95 L142.38,-10.18 L141.95,-10.40 L141.51,-10.61 L141.07,-10.79 L140.62,-10.97 L140.16,-11.12 L139.70,-11.26 L139.24,-11.39 L138.77,-11.50 L138.30,-11.59 L137.82,-11.67 L137.34,-11.72 L136.99,-11.75 L133.90,0.00 L147.50,0.00 L148.43,-3.77 Z M151.30,-15.40 L156.28,-15.40 L155.82,-15.93 L155.18,-16.62 L154.52,-17.28 L153.83,-17.92 L153.13,-18.53 L152.40,-19.12 L151.65,-19.68 L150.89,-20.22 L150.10,-20.73 L149.30,-21.21 L148.48,-21.66 L147.65,-22.09 L146.80,-22.48 L145.94,-22.85 L145.07,-23.18 L144.18,-23.49 L143.29,-23.76 L142.38,-24.00 L141.47,-24.21 L140.55,-24.39 L140.32,-24.43 L138.63,-18.01 L138.66,-18.01 L138.77,-18.00 L139.35,-17.90 L139.46,-17.88 L140.05,-17.77 L140.15,-17.75 L140.73,-17.61 L140.84,-17.59 L141.41,-17.43 L141.52,-17.40 L142.09,-17.23 L142.20,-17.19 L142.76,-17.00 L142.86,-16.96 L143.42,-16.75 L143.52,-16.71 L144.06,-16.48 L144.17,-16.43 L144.70,-16.18 L144.81,-16.13 L145.33,-15.86 L145.43,-15.81 L145.95,-15.52 L146.05,-15.47 L146.56,-15.16 L146.65,-15.10 L147.15,-14.78 L147.24,-14.71 L147.73,-14.37 L147.82,-14.31 L148.29,-13.95 L148.38,-13.88 L148.84,-13.51 L148.93,-13.44 L149.37,-13.05 L149.46,-12.97 L149.89,-12.57 L149.97,-12.49 L150.39,-12.07 L150.46,-12.00 L151.30,-15.40 Z M171.69,-15.40 L171.67,-15.45 L171.04,-16.68 L170.37,-17.90 L169.65,-19.09 L168.90,-20.26 L168.10,-21.39 L167.26,-22.50 L166.39,-23.58 L165.48,-24.63 L164.53,-25.65 L163.55,-26.63 L162.53,-27.58 L162.50,-27.60 L154.40,-27.60 L155.64,-32.56 L154.58,-33.14 L153.35,-33.77 L152.09,-34.36 L150.81,-34.90 L149.51,-35.40 L148.20,-35.85 L146.87,-36.26 L145.53,-36.62 L144.17,-36.93 L143.63,-37.03 L141.95,-30.64 L142.75,-30.49 L142.86,-30.46 L143.88,-30.23 L143.99,-30.20 L145.00,-29.93 L145.10,-29.90 L146.11,-29.59 L146.21,-29.56 L147.20,-29.22 L147.31,-29.18 L148.28,-28.80 L148.39,-28.76 L149.35,-28.35 L149.45,-28.31 L150.40,-27.86 L150.50,-27.82 L151.44,-27.34 L151.54,-27.29 L152.45,-26.78 L152.55,-26.72 L153.45,-26.18 L153.54,-26.13 L154.42,-25.55 L154.51,-25.49 L155.37,-24.89 L155.46,-24.83 L156.30,-24.20 L156.38,-24.13 L157.20,-23.47 L157.28,-23.40 L158.07,-22.71 L158.16,-22.63 L158.92,-21.92 L159.00,-21.84 L159.74,-21.10 L159.82,-21.02 L160.53,-20.26 L160.61,-20.17 L161.30,-19.38 L161.37,-19.30 L162.03,-18.48 L162.10,-18.40 L162.73,-17.56 L162.79,-17.47 L163.39,-16.61 L163.45,-16.52 L164.03,-15.64 L164.08,-15.55 L164.17,-15.40 L171.69,-15.40 Z M193.70,0.00 L175.30,-70.00 L152.30,-70.00 L145.27,-43.24 L145.45,-43.20 L145.56,-43.18 L147.02,-42.84 L147.13,-42.81 L148.58,-42.43 L148.69,-42.39 L150.12,-41.96 L150.23,-41.92 L151.65,-41.43 L151.75,-41.39 L153.15,-40.86 L153.26,-40.81 L154.64,-40.23 L154.74,-40.18 L156.10,-39.55 L156.20,-39.50 L157.24,-38.97 L162.90,-61.70 L164.70,-61.70 L173.20,-27.60 L171.37,-27.60 L172.27,-26.49 L172.34,-26.40 L173.24,-25.20 L173.31,-25.11 L174.17,-23.88 L174.23,-23.79 L175.05,-22.53 L175.11,-22.43 L175.88,-21.15 L175.94,-21.05 L176.67,-19.74 L176.72,-19.64 L177.40,-18.30 L177.45,-18.20 L178.08,-16.84 L178.13,-16.74 L178.71,-15.36 L178.76,-15.25 L179.29,-13.85 L179.33,-13.75 L179.82,-12.33 L179.86,-12.22 L180.29,-10.79 L180.33,-10.68 L180.71,-9.23 L180.74,-9.12 L181.08,-7.66 L181.10,-7.55 L181.39,-6.08 L181.41,-5.97 L181.64,-4.49 L181.66,-4.37 L181.84,-2.88 L181.85,-2.77 L181.98,-1.28 L181.99,-1.17 L182.05,0.00 L193.70,0.00 Z " fill="#16181A" fill-rule="evenodd"/><path d="M202.5 0.0V-49.6H214.9V-43.1H216.7Q217.9 -45.7 221.2 -48.050000000000004Q224.5 -50.400000000000006 231.2 -50.400000000000006Q237.0 -50.400000000000006 241.35 -47.75Q245.7 -45.1 248.1 -40.45Q250.5 -35.800000000000004 250.5 -29.6V0.0H237.9V-28.6Q237.9 -34.2 235.15 -37.0Q232.4 -39.800000000000004 227.3 -39.800000000000004Q221.5 -39.800000000000004 218.3 -35.95Q215.1 -32.1 215.1 -25.200000000000003V0.0Z M283.1 0.0Q278.20000000000005 0.0 275.15000000000003 -3.0500000000000003Q272.1 -6.1000000000000005 272.1 -11.200000000000001V-39.2H259.70000000000005V-49.6H272.1V-65.0H284.70000000000005V-49.6H298.3V-39.2H284.70000000000005V-13.4Q284.70000000000005 -10.4 287.5 -10.4H297.1V0.0Z M309.70000000000005 0.0V-49.6H322.30000000000007V0.0Z " fill="#16181A"/><circle cx="316.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-44.0" r="6.8" fill="#16181A"/></svg></div>
<p class="tagline">Open hardware / acoustic early warning</p>
<h1>It hears the propellers before you do.</h1>
<p class="lede">Drone detection almost always means listening for radio. A <em class="hl">fibre-optic FPV drone</em> trails a glass thread back to its pilot and transmits <em class="hl-r">nothing at all</em>, so there is no signal to find and nothing to decode.<br><br>VolAnti ignores the radio entirely. It listens for the <em class="hl">harmonic comb</em> that four spinning propellers cannot switch off, and when it hears one it beeps, flashes red, buzzes, writes the time to a screen that survives a power cut, and tells every other unit on the network.</p>
<div class="cta">
<a class="btn btn-p" href="#build">Make your own</a>
<a class="btn btn-g simopen" href="#simulator">Run the live simulator</a>
<a class="btn btn-g" href="https://github.com/agamrossen/VolAnti">Read the documentation</a>
</div>
</div>
<div>
<div class="film" aria-label="How a detection spreads across a site">
<svg viewBox="0 0 700 320" class="filmsvg" aria-hidden="true">
<defs>
<linearGradient id="sky" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#E4ECEF"/><stop offset="1" stop-color="#F3F1EA"/></linearGradient>
<radialGradient id="dome" cx="50%" cy="100%" r="70%"><stop offset="0" stop-color="#1F7A45" stop-opacity=".26"/><stop offset=".8" stop-color="#1F7A45" stop-opacity=".07"/><stop offset="1" stop-color="#1F7A45" stop-opacity="0"/></radialGradient>
<filter id="glow" x="-20%" y="-20%" width="140%" height="140%"><feGaussianBlur stdDeviation="2.2" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter>
<symbol id="unitSprite" viewBox="-14 -46 28 52"><rect x="-2" y="-8" width="4" height="14" fill="#4A4E53"/><rect x="-13" y="-40" width="26" height="30" rx="4" fill="#26292C"/><g fill="#0F110D"><circle cx="-6.5" cy="-33" r="2.3"/><circle cx="6.5" cy="-33" r="2.3"/><circle cx="-6.5" cy="-17" r="2.3"/><circle cx="6.5" cy="-17" r="2.3"/></g><rect x="-6" y="-27" width="12" height="4" fill="#EFEDE6"/></symbol>
</defs>
<rect width="700" height="320" fill="url(#sky)"/>
<g class="world">
<path d="M0 236 C90 218 160 228 230 222 C300 215 350 228 430 221 C510 215 600 226 700 218 L700 320 L0 320 Z" fill="#DBD7C9"/>
<path d="M0 254 C120 246 220 258 340 252 C470 246 580 258 700 251 L700 320 L0 320 Z" fill="#D2CEBE"/>
<g fill="#C3BFAF"><path d="M120 254 l15-26 15 26z"/><rect x="133" y="252" width="4" height="10"/><path d="M640 250 l13-22 13 22z"/><rect x="651" y="248" width="4" height="10"/></g>
<g class="village">
<rect x="346" y="226" width="44" height="28" fill="#C9C5B5"/><path d="M344 226 l22-14 22 14z" fill="#B4B0A0"/>
<rect x="398" y="232" width="36" height="22" fill="#CFCBBB"/><path d="M396 232 l18-12 18 12z" fill="#BAB6A6"/>
<rect x="442" y="229" width="32" height="25" fill="#C4C0B0"/><path d="M440 229 l16-12 16 12z" fill="#B0AC9C"/>
<rect x="484" y="234" width="30" height="20" fill="#CDC9B9"/><path d="M482 234 l15-10 15 10z" fill="#B8B4A4"/>
<rect x="358" y="238" width="7" height="9" fill="#EFEDE6"/><rect x="410" y="241" width="6" height="8" fill="#EFEDE6"/><rect x="494" y="242" width="6" height="7" fill="#EFEDE6"/>
</g>
<path class="shield" d="M250 254 A200 190 0 0 1 650 254" fill="url(#dome)" stroke="#1F7A45" stroke-width="2.4" stroke-dasharray="700"/>
<text class="shieldlbl" x="450" y="86" text-anchor="middle" font-size="15" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#1F7A45">site alerted</text>
<g class="mesh" fill="none" stroke="#D93A2B" stroke-width="2" stroke-linecap="round" filter="url(#glow)">
<path class="m1" d="M282 214 L372 206"/><path class="m2" d="M282 214 L470 228"/><path class="m3" d="M282 214 L586 202"/>
<path class="m4" d="M372 206 L470 228"/><path class="m5" d="M470 228 L586 202"/><path class="m6" d="M372 206 L586 202"/>
</g>
<g class="fibre"><path d="M-40 84 C40 90 100 98 146 108" fill="none" stroke="#B5760F" stroke-width="1.6" stroke-dasharray="3 4"/>
<text x="4" y="72" font-size="11" font-family="IBM Plex Mono, monospace" fill="#B5760F">fibre to the pilot, no radio</text></g>
<g class="drone">
<g class="rings"><circle cx="0" cy="0" r="12" fill="none" stroke="#1F7A45" stroke-width="2"/><circle cx="0" cy="0" r="12" fill="none" stroke="#1F7A45" stroke-width="2"/><circle cx="0" cy="0" r="12" fill="none" stroke="#1F7A45" stroke-width="2"/></g>
<path d="M-11 0 L-30 -10 M11 0 L30 -10" stroke="#16181A" stroke-width="3" stroke-linecap="round"/>
<rect x="-14" y="-6" width="28" height="12" rx="3.5" fill="#16181A"/>
<rect x="-6" y="-9" width="12" height="4" rx="1" fill="#3E4247"/>
<g class="props"><ellipse cx="-30" cy="-12" rx="14" ry="3" fill="#3E4247" opacity=".85"/><ellipse cx="30" cy="-12" rx="14" ry="3" fill="#3E4247" opacity=".85"/></g>
<g class="props p2"><ellipse cx="-30" cy="-12" rx="14" ry="3" fill="#3E4247" opacity=".35"/><ellipse cx="30" cy="-12" rx="14" ry="3" fill="#3E4247" opacity=".35"/></g>
</g>
<g class="unitA"><use href="#unitSprite" x="-14" y="-46" width="28" height="52"/><circle class="lamp" cx="0" cy="-25" r="3.2" fill="#5FBE85"/>
<g class="hit"><circle cx="0" cy="-25" r="16" fill="none" stroke="#D93A2B" stroke-width="2"/><circle cx="0" cy="-25" r="28" fill="none" stroke="#D93A2B" stroke-width="1.6" opacity=".6"/></g>
<text class="f0" x="0" y="-56" text-anchor="middle" font-size="12" font-family="IBM Plex Mono, monospace" fill="#D93A2B">f0 423 Hz</text></g>
<g class="unitB u1" transform="translate(372,214) scale(.72)"><use href="#unitSprite" x="-14" y="-46" width="28" height="52"/><circle class="lamp2" cx="0" cy="-25" r="3.6" fill="#3E4247"/></g>
<g class="unitB u2" transform="translate(470,236) scale(.72)"><use href="#unitSprite" x="-14" y="-46" width="28" height="52"/><circle class="lamp2" cx="0" cy="-25" r="3.6" fill="#3E4247"/></g>
<g class="unitB u3" transform="translate(586,210) scale(.72)"><use href="#unitSprite" x="-14" y="-46" width="28" height="52"/><circle class="lamp2" cx="0" cy="-25" r="3.6" fill="#3E4247"/></g>
<text class="range" x="215" y="196" text-anchor="middle" font-size="11" font-family="IBM Plex Mono, monospace" fill="#3E4247">heard at 120 m</text>
</g>
<text class="cap c1" x="20" y="306" font-size="12" font-family="IBM Plex Mono, monospace" fill="#71767C">1. it transmits nothing at all</text>
<text class="cap c2" x="20" y="306" font-size="12" font-family="IBM Plex Mono, monospace" fill="#71767C">2. but the propellers are loud</text>
<text class="cap c3" x="20" y="306" font-size="12" font-family="IBM Plex Mono, monospace" fill="#71767C">3. one unit hears the comb and alerts</text>
<text class="cap c4" x="20" y="306" font-size="12" font-family="IBM Plex Mono, monospace" fill="#71767C">4. the mesh carries it to every other unit</text>
<text class="cap c5" x="20" y="306" font-size="12" font-family="IBM Plex Mono, monospace" fill="#71767C">5. the whole site is alerted at once</text>
</svg>
</div>
<div class="inst" id="inst">
<div class="inst-hd"><span class="lamp"><i></i><span id="state">Listening</span></span><span>Live detector</span></div>
<canvas id="scope" width="700" height="600"></canvas>
<div class="inst-ft readout">
<span>score <b id="rScore">0.00</b> / thr 1.70</span>
<span>f0 <b id="rF0">---</b> Hz</span>
<span>frame <b>32 ms</b></span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="scope">
<div class="wrap">
<p><b>Detection and alert only.</b> VolAnti listens and raises the alarm. It will never include jamming, spoofing, interception, targeting or any other countermeasure, in this project or in any fork of it.</p>
</div>
</div>
<div class="rule"></div>
<div class="proof">
<div class="wrap proofwrap">
<video class="loop" autoplay muted loop playsinline poster="assets/field/in-hand-poster.jpg"><source src="assets/field/in-hand.mp4" type="video/mp4"></video>
<div><p class="eyebrow">Deployed</p><h2 style="font-size:clamp(1.5rem,2.6vw,2.1rem)">A real product, already in the field.</h2><p class="lede" style="margin-top:10px">Several units, designed and built by hand in a month, now deployed at the site they were built for.</p></div>
</div>
</div>
<div class="wrap pricebar">
<div><b>£50–80</b><span>the full unit: assembled board, printed enclosure, screen, radio, cell</span></div>
<div><b>£35–45</b><span>on a breadboard: dev board and four microphone breakouts, same firmware</span></div>
</div>
<div class="rule"></div>
<section id="unit" class="exploded">
<div style="height:420vh" id="xpScroll">
<div class="xp-sticky">
<div class="xp-copy">
<p class="eyebrow">The unit</p>
<h2>91 millimetres square</h2>
<p>Four printed parts, one four-layer board, a screen, a cell and a mount that clips to a belt. The printable files, gerbers and bill of materials with part numbers are all public.</p>
<p>The microphone ports are 45 degree cones and the microphones sit at fixed positions on the board. The geometry is doing acoustic work.</p>
<a class="btn btn-p" style="margin-top:6px" href="https://github.com/agamrossen/VolAnti/blob/main/hardware/pcb/bom.csv">Full parts list</a>
</div>
<div class="xp-stage">
<div class="xp-roll">
<div class="xp-inner" id="xpStage">
<div class="xl" data-dz="-44" style="--z:10;z-index:10"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="662.8,758.5 862.3,873.8 862.3,886.0 663.6,852.0" fill="#26292C"/><polygon points="1098.8,737.2 862.3,873.8 862.3,886.0 1098.8,749.5" fill="#101214"/><polygon points="900.0,715.5 1098.8,749.5 862.3,886.0 663.6,852.0" fill="#15171A"/><polygon points="1098.8,737.2 862.3,873.8 862.3,878.2 1098.8,741.8" fill="#151719"/><polygon points="662.8,758.5 862.3,873.8 862.3,878.2 662.8,763.0" fill="#22262A"/><polygon points="899.2,622.0 1098.8,737.2 862.3,873.8 662.8,758.5" fill="#33373A"/><polygon points="1098.2,729.8 861.8,866.2 861.8,873.5 1098.2,737.0" fill="#22262A"/><polygon points="836.9,851.9 861.8,866.2 861.8,873.5 836.9,859.0" fill="#3A3F44"/><polygon points="1073.3,715.4 1098.2,729.8 861.8,866.2 836.9,851.9" fill="#5D6268"/><polygon points="963.1,651.8 726.7,788.2 726.7,795.5 963.1,659.0" fill="#22262A"/><polygon points="701.8,773.9 726.7,788.2 726.7,795.5 701.8,781.0" fill="#3A3F44"/><polygon points="938.2,637.4 963.1,651.8 726.7,788.2 701.8,773.9" fill="#5D6268"/><polygon points="1098.8,731.9 862.3,868.4 862.3,873.8 1098.8,737.2" fill="#181B1D"/><polygon points="856.4,864.9 862.3,868.4 862.3,873.8 856.4,870.3" fill="#262A2E"/><polygon points="1092.8,728.4 1098.8,731.9 862.3,868.4 856.4,864.9" fill="#3A3E42"/><polygon points="899.2,547.0 662.8,683.5 662.8,763.0 899.2,626.5" fill="#161819"/><polygon points="655.0,679.0 662.8,683.5 662.8,763.0 655.0,758.5" fill="#26292D"/><polygon points="891.4,542.5 899.2,547.0 662.8,683.5 655.0,679.0" fill="#3A3E42"/><polygon points="881.0,545.5 644.6,682.0 644.6,819.1 881.0,682.6" fill="#08090A"/><polygon points="881.0,536.5 644.6,673.0 644.6,825.5 881.0,689.0" fill="#232629"/><polygon points="638.4,669.5 644.6,673.0 644.6,825.5 638.4,821.9" fill="#3C4146"/><polygon points="874.8,533.0 881.0,536.5 644.6,673.0 638.4,669.5" fill="#5D6268"/><polygon points="899.2,547.0 662.8,683.5 662.8,692.5 899.2,556.0" fill="#191C1E"/><polygon points="644.6,673.0 662.8,683.5 662.8,692.5 644.6,682.0" fill="#2C3034"/><polygon points="881.0,536.5 899.2,547.0 662.8,683.5 644.6,673.0" fill="#43474B"/><polygon points="638.4,821.9 644.6,825.5 648.0,835.8 641.8,832.2" fill="#31353A"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="864" cy="851" r="5.5" fill="#1F7A45"/><path d="M864,851 L800,948 L560,948" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="941" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Rails</text><text x="544" y="976" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">the base slides between them</text><circle cx="680" cy="689" r="5.5" fill="#1F7A45"/><path d="M680,689 L616,1058 L560,1058" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="1051" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Belt clip</text><text x="544" y="1086" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">on the back, clips to a belt</text></svg></div>
<div class="xl" data-dz="0" style="--z:11;z-index:11"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="900.0,547.5 1136.4,684.0 900.0,820.5 663.6,684.0" fill="#0A0B0C"/><polygon points="1120.8,754.8 900.0,882.3 900.0,885.0 1120.8,757.5" fill="#0B0C0D"/><polygon points="679.2,754.8 900.0,882.3 900.0,885.0 679.2,757.5" fill="#0F1113"/><polygon points="900.0,627.3 1120.8,754.8 900.0,882.3 679.2,754.8" fill="#141618"/><path d="M889.3,865.8 A10.7,6.2 0 0 0 910.7,865.8 L910.7,819.0 A10.7,6.2 0 0 1 889.3,819.0 Z" fill="#1E2124"/><ellipse cx="900.0" cy="819.0" rx="10.65" ry="6.15" fill="#31353A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="818.9" rx="4.78" ry="2.76" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M697.1,754.8 A10.7,6.2 0 0 0 718.4,754.8 L718.4,708.0 A10.7,6.2 0 0 1 697.1,708.0 Z" fill="#1E2124"/><ellipse cx="707.7" cy="708.0" rx="10.65" ry="6.15" fill="#31353A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="707.7" cy="707.9" rx="4.78" ry="2.76" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M1081.6,754.8 A10.7,6.2 0 0 0 1102.9,754.8 L1102.9,708.0 A10.7,6.2 0 0 1 1081.6,708.0 Z" fill="#1E2124"/><ellipse cx="1092.3" cy="708.0" rx="10.65" ry="6.15" fill="#31353A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1092.3" cy="707.9" rx="4.78" ry="2.76" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M889.3,643.8 A10.7,6.2 0 0 0 910.7,643.8 L910.7,597.0 A10.7,6.2 0 0 1 889.3,597.0 Z" fill="#1E2124"/><ellipse cx="900.0" cy="597.0" rx="10.65" ry="6.15" fill="#31353A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="596.9" rx="4.78" ry="2.76" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M884.6,879.3 A15.4,8.9 0 0 0 915.4,879.3 L915.4,808.5 A15.4,8.9 0 0 1 884.6,808.5 Z" fill="#191C1E"/><ellipse cx="900.0" cy="808.5" rx="15.43" ry="8.91" fill="#26292C" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="808.4" rx="9.55" ry="5.52" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M668.9,754.8 A15.4,8.9 0 0 0 699.8,754.8 L699.8,684.0 A15.4,8.9 0 0 1 668.9,684.0 Z" fill="#191C1E"/><ellipse cx="684.4" cy="684.0" rx="15.43" ry="8.91" fill="#26292C" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="684.4" cy="683.9" rx="9.55" ry="5.52" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M1100.2,754.8 A15.4,8.9 0 0 0 1131.1,754.8 L1131.1,684.0 A15.4,8.9 0 0 1 1100.2,684.0 Z" fill="#191C1E"/><ellipse cx="1115.6" cy="684.0" rx="15.43" ry="8.91" fill="#26292C" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1115.6" cy="683.9" rx="9.55" ry="5.52" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M884.6,630.3 A15.4,8.9 0 0 0 915.4,630.3 L915.4,559.5 A15.4,8.9 0 0 1 884.6,559.5 Z" fill="#191C1E"/><ellipse cx="900.0" cy="559.5" rx="15.43" ry="8.91" fill="#26292C" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="559.4" rx="9.55" ry="5.52" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"></svg></div>
<div class="xl bf" data-dz="0" style="--z:15"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="1136.4,684.0 900.0,820.5 900.0,895.5 1136.4,759.0" fill="#111315"/><polygon points="663.6,684.0 900.0,820.5 900.0,895.5 663.6,759.0" fill="#1C1F22"/><path d="M 900.0,547.5 L 1136.4,684.0 L 900.0,820.5 L 663.6,684.0 Z M 1110.4,678.0 L 1110.4,690.0 L 910.4,805.5 L 889.6,805.5 L 689.6,690.0 L 689.6,678.0 L 889.6,562.5 L 910.4,562.5 Z" fill="#2A2D30" fill-rule="evenodd"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="992" cy="803" r="5.5" fill="#1F7A45"/><path d="M992,803 L928,950 L560,950" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="943" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Base</text><text x="544" y="978" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">91 x 91 x 29 mm, PETG</text></svg></div>
<div class="xl" data-dz="34" style="--z:13;z-index:13"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="1033.3,736.0 922.6,800.0 922.6,824.0 1033.3,760.0" fill="#767B80"/><polygon points="766.7,710.0 922.6,800.0 922.6,824.0 766.7,734.0" fill="#9DA2A7"/><polygon points="877.4,646.0 1033.3,736.0 922.6,800.0 766.7,710.0" fill="#C3C7CB"/><polygon points="876.6,655.4 1016.9,736.4 923.4,790.4 783.1,709.4" fill="#D8DCE0"/><polygon points="876.6,655.3 928.6,685.3 835.0,739.3 783.1,709.3" fill="#E6E9EC" opacity=".6"/><polygon points="1000.0,777.8 992.2,782.2 992.2,789.8 1000.0,785.2" fill="#6E211D"/><polygon points="981.8,776.2 992.2,782.2 992.2,789.8 981.8,783.8" fill="#8E2C27"/><polygon points="989.6,771.8 1000.0,777.8 992.2,782.2 981.8,776.2" fill="#C0403A"/><polygon points="984.4,786.8 976.6,791.2 976.6,798.8 984.4,794.2" fill="#111314"/><polygon points="966.3,785.2 976.6,791.2 976.6,798.8 966.3,792.8" fill="#1C1E20"/><polygon points="974.0,780.8 984.4,786.8 976.6,791.2 966.3,785.2" fill="#2B2E31"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="952" cy="753" r="5.5" fill="#1F7A45"/><path d="M952,753 L1016,974 L1230,974" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="967" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">2500 mAh cell</text><text x="1246" y="1002" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">fitted even on mains power</text></svg></div>
<div class="xl" data-dz="80" style="--z:14;z-index:14"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="1102.6,699.0 1102.6,717.0 915.6,825.0 884.4,825.0 697.4,717.0 697.4,699.0 884.4,591.0 915.6,591.0" fill="#146038"/><polygon points="1102.6,694.2 1102.6,712.2 915.6,820.2 884.4,820.2 697.4,712.2 697.4,694.2 884.4,586.2 915.6,586.2" fill="#1E7A4E"/><polygon points="1102.6,712.2 915.6,820.2 915.6,825.0 1102.6,717.0" fill="#0C3A25"/><polygon points="697.4,712.2 884.4,820.2 884.4,825.0 697.4,717.0" fill="#146038"/><polygon points="915.6,820.2 884.4,820.2 884.4,825.0 915.6,825.0" fill="#0F4A2E"/><ellipse cx="900.0" cy="814.1" rx="6.61" ry="3.82" fill="#C9A227" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="814.1" rx="4.23" ry="2.44" fill="#0B2E1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="707.7" cy="703.1" rx="6.61" ry="3.82" fill="#C9A227" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="707.7" cy="703.1" rx="4.23" ry="2.44" fill="#0B2E1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1092.3" cy="703.1" rx="6.61" ry="3.82" fill="#C9A227" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1092.3" cy="703.1" rx="4.23" ry="2.44" fill="#0B2E1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="592.1" rx="6.61" ry="3.82" fill="#C9A227" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="592.1" rx="4.23" ry="2.44" fill="#0B2E1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="618.7" rx="12.86" ry="7.42" fill="none" stroke="#C9A227" stroke-width="1.0" opacity="1"/><ellipse cx="899.2" cy="618.7" rx="9.19" ry="5.30" fill="#2A2216" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="618.7" rx="5.14" ry="2.97" fill="#000" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="786.7" rx="12.86" ry="7.42" fill="none" stroke="#C9A227" stroke-width="1.0" opacity="1"/><ellipse cx="899.2" cy="786.7" rx="9.19" ry="5.30" fill="#2A2216" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="786.7" rx="5.14" ry="2.97" fill="#000" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="702.7" rx="12.86" ry="7.42" fill="none" stroke="#C9A227" stroke-width="1.0" opacity="1"/><ellipse cx="753.7" cy="702.7" rx="9.19" ry="5.30" fill="#2A2216" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="702.7" rx="5.14" ry="2.97" fill="#000" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="702.7" rx="12.86" ry="7.42" fill="none" stroke="#C9A227" stroke-width="1.0" opacity="1"/><ellipse cx="1044.7" cy="702.7" rx="9.19" ry="5.30" fill="#2A2216" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="702.7" rx="5.14" ry="2.97" fill="#000" stroke="none" stroke-width="0" opacity="1"/><polygon points="1036.4,731.5 1000.0,752.5 1000.0,758.0 1036.4,737.0" fill="#8D9093"/><polygon points="963.7,731.5 1000.0,752.5 1000.0,758.0 963.7,737.0" fill="#B3B6B9"/><polygon points="1000.0,710.5 1036.4,731.5 1000.0,752.5 963.7,731.5" fill="#DDE0E2"/><polygon points="1000.0,715.0 1028.6,731.5 1000.0,748.0 971.4,731.5" fill="#C6C9CC"/><polygon points="1034.1,745.8 1026.3,750.3 1026.3,752.1 1034.1,747.6" fill="#7E651A"/><polygon points="1018.0,745.5 1026.3,750.3 1026.3,752.1 1018.0,747.3" fill="#A18021"/><polygon points="1025.7,741.0 1034.1,745.8 1026.3,750.3 1018.0,745.5" fill="#C9A227"/><polyline points="1020.8,747.5 1022.5,749.3 1023.5,750.8 1023.4,751.7 1021.9,751.7 1019.4,751.1 1016.1,750.2 1012.8,749.2 1010.3,748.6 1008.8,748.7 1008.7,749.5 1009.7,751.0 1011.4,752.9 1013.1,754.8 1014.1,756.3 1014.0,757.1 1012.5,757.2 1009.9,756.6 1006.7,755.6 1003.4,754.6 1000.8,754.0 999.4,754.1 999.3,755.0 1000.3,756.4 1002.0,758.3 1003.7,760.2 1004.7,761.7 1004.6,762.5 1003.1,762.6 1000.5,762.0 997.3,761.0 994.0,760.1 991.4,759.5 990.0,759.6 989.9,760.4 990.9,761.9 992.6,763.8 994.2,765.6 995.3,767.1 995.1,768.0 993.7,768.0 991.1,767.5 987.8,766.5 984.6,765.5 982.0,764.9 980.6,765.0 980.4,765.8 981.5,767.3 983.1,769.2 984.8,771.1 985.8,772.6 985.7,773.4 984.3,773.5 981.7,772.9 978.4,771.9 975.2,770.9 972.6,770.4 971.1,770.4 971.0,771.3 972.0,772.8 973.7,774.6 975.4,776.5 976.4,778.0 976.3,778.8 974.9,778.9 972.3,778.3 969.0,777.4 965.8,776.4 963.2,775.8 961.7,775.9 961.6,776.7 962.6,778.2 964.3,780.1 966.0,782.0 967.0,783.4 966.9,784.3 965.4,784.4 962.8,783.8 959.6,782.8 956.3,781.8 953.7,781.2 952.3,781.3 952.2,782.1 953.2,783.6 954.9,785.5 956.6,787.4 957.6,788.9 957.5,789.7 956.0,789.8 953.4,789.2 950.2,788.2 946.9,787.3 944.3,786.7 942.9,786.7 942.8,787.6 943.8,789.1 945.5,791.0" fill="none" stroke="#E0BC3C" stroke-width="3.2" stroke-linecap="round"/><polyline points="1020.8,747.5 1022.5,749.3 1023.5,750.8 1023.4,751.7 1021.9,751.7 1019.4,751.1 1016.1,750.2 1012.8,749.2 1010.3,748.6 1008.8,748.7 1008.7,749.5 1009.7,751.0 1011.4,752.9 1013.1,754.8 1014.1,756.3 1014.0,757.1 1012.5,757.2 1009.9,756.6 1006.7,755.6 1003.4,754.6 1000.8,754.0 999.4,754.1 999.3,755.0 1000.3,756.4 1002.0,758.3 1003.7,760.2 1004.7,761.7 1004.6,762.5 1003.1,762.6 1000.5,762.0 997.3,761.0 994.0,760.1 991.4,759.5 990.0,759.6 989.9,760.4 990.9,761.9 992.6,763.8 994.2,765.6 995.3,767.1 995.1,768.0 993.7,768.0 991.1,767.5 987.8,766.5 984.6,765.5 982.0,764.9 980.6,765.0 980.4,765.8 981.5,767.3 983.1,769.2 984.8,771.1 985.8,772.6 985.7,773.4 984.3,773.5 981.7,772.9 978.4,771.9 975.2,770.9 972.6,770.4 971.1,770.4 971.0,771.3 972.0,772.8 973.7,774.6 975.4,776.5 976.4,778.0 976.3,778.8 974.9,778.9 972.3,778.3 969.0,777.4 965.8,776.4 963.2,775.8 961.7,775.9 961.6,776.7 962.6,778.2 964.3,780.1 966.0,782.0 967.0,783.4 966.9,784.3 965.4,784.4 962.8,783.8 959.6,782.8 956.3,781.8 953.7,781.2 952.3,781.3 952.2,782.1 953.2,783.6 954.9,785.5 956.6,787.4 957.6,788.9 957.5,789.7 956.0,789.8 953.4,789.2 950.2,788.2 946.9,787.3 944.3,786.7 942.9,786.7 942.8,787.6 943.8,789.1 945.5,791.0" fill="none" stroke="#8A6F1C" stroke-width="1.1" opacity=".55"/><polygon points="889.6,708.0 881.8,712.5 881.8,737.7 889.6,733.2" fill="#0A0B0C"/><polygon points="840.2,688.5 881.8,712.5 881.8,737.7 840.2,713.7" fill="#141618"/><polygon points="848.0,684.0 889.6,708.0 881.8,712.5 840.2,688.5" fill="#1D2023"/><polygon points="851.4,685.6 846.7,688.4 846.7,690.5 851.4,687.8" fill="#8A7429"/><polygon points="844.4,687.0 846.7,688.4 846.7,690.5 844.4,689.1" fill="#B08F33"/><polygon points="849.1,684.3 851.4,685.6 846.7,688.4 844.4,687.0" fill="#E0C158"/><polygon points="856.4,688.5 851.7,691.2 851.7,693.3 856.4,690.6" fill="#8A7429"/><polygon points="849.3,689.9 851.7,691.2 851.7,693.3 849.3,692.0" fill="#B08F33"/><polygon points="854.0,687.1 856.4,688.5 851.7,691.2 849.3,689.9" fill="#E0C158"/><polygon points="861.3,691.4 856.6,694.0 856.6,696.1 861.3,693.5" fill="#8A7429"/><polygon points="854.3,692.7 856.6,694.0 856.6,696.1 854.3,694.8" fill="#B08F33"/><polygon points="859.0,690.0 861.3,691.4 856.6,694.0 854.3,692.7" fill="#E0C158"/><polygon points="866.2,694.2 861.5,696.9 861.5,699.0 866.2,696.3" fill="#8A7429"/><polygon points="859.2,695.5 861.5,696.9 861.5,699.0 859.2,697.6" fill="#B08F33"/><polygon points="863.9,692.9 866.2,694.2 861.5,696.9 859.2,695.5" fill="#E0C158"/><polygon points="871.2,697.0 866.5,699.8 866.5,701.9 871.2,699.1" fill="#8A7429"/><polygon points="864.1,698.4 866.5,699.8 866.5,701.9 864.1,700.5" fill="#B08F33"/><polygon points="868.8,695.7 871.2,697.0 866.5,699.8 864.1,698.4" fill="#E0C158"/><polygon points="876.1,699.9 871.4,702.6 871.4,704.7 876.1,702.0" fill="#8A7429"/><polygon points="869.1,701.2 871.4,702.6 871.4,704.7 869.1,703.4" fill="#B08F33"/><polygon points="873.8,698.5 876.1,699.9 871.4,702.6 869.1,701.2" fill="#E0C158"/><polygon points="881.0,702.8 876.4,705.5 876.4,707.5 881.0,704.9" fill="#8A7429"/><polygon points="874.0,704.1 876.4,705.5 876.4,707.5 874.0,706.2" fill="#B08F33"/><polygon points="878.7,701.4 881.0,702.8 876.4,705.5 874.0,704.1" fill="#E0C158"/><polygon points="886.0,705.6 881.3,708.3 881.3,710.4 886.0,707.7" fill="#8A7429"/><polygon points="879.0,707.0 881.3,708.3 881.3,710.4 879.0,709.0" fill="#B08F33"/><polygon points="883.6,704.2 886.0,705.6 881.3,708.3 879.0,707.0" fill="#E0C158"/><path d="M913.6,643.2 A22.8,13.2 0 0 0 959.2,643.2 L959.2,618.6 A22.8,13.2 0 0 1 913.6,618.6 Z" fill="#141618"/><ellipse cx="936.4" cy="618.6" rx="22.78" ry="13.15" fill="#2A2D30" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="936.4" cy="618.5" rx="5.14" ry="2.97" fill="#050506" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="936.4" cy="618.5" rx="16.90" ry="9.76" fill="none" stroke="#4A4E53" stroke-width="1.4" opacity="1"/><path d="M837.1,635.7 A18.7,10.8 0 0 0 874.6,635.7 L874.6,626.1 A18.7,10.8 0 0 1 837.1,626.1 Z" fill="#1B1E21"/><ellipse cx="855.8" cy="626.1" rx="18.74" ry="10.82" fill="#33373B" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="855.8" cy="626.0" rx="12.49" ry="7.21" fill="#4A4E53" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="855.8" cy="626.0" rx="4.41" ry="2.55" fill="#6E737A" stroke="none" stroke-width="0" opacity="1"/><polygon points="859.7,649.0 854.5,652.0 854.5,653.9 859.7,650.9" fill="#6E211D"/><polygon points="832.5,639.3 854.5,652.0 854.5,653.9 832.5,641.1" fill="#8A2A25"/><polygon points="837.6,636.3 859.7,649.0 854.5,652.0 832.5,639.3" fill="#C4433B"/><polygon points="852.2,653.4 847.0,656.4 847.0,658.2 852.2,655.2" fill="#17254A"/><polygon points="824.9,643.6 847.0,656.4 847.0,658.2 824.9,645.5" fill="#22355F"/><polygon points="830.1,640.6 852.2,653.4 847.0,656.4 824.9,643.6" fill="#3358A8"/><polygon points="852.2,736.5 837.6,744.9 837.6,747.6 852.2,739.2" fill="#A8A69F"/><polygon points="823.1,736.5 837.6,744.9 837.6,747.6 823.1,739.2" fill="#CBC9C2"/><polygon points="837.6,728.1 852.2,736.5 837.6,744.9 823.1,736.5" fill="#F4F2EC"/><ellipse cx="837.6" cy="736.4" rx="6.98" ry="4.03" fill="#8FE0B0" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="837.6" cy="736.4" rx="3.67" ry="2.12" fill="#FFFFFF" stroke="none" stroke-width="0" opacity="1"/><path d="M958.4,664.2 A9.2,5.3 0 0 0 976.7,664.2 L976.7,658.2 A9.2,5.3 0 0 1 958.4,658.2 Z" fill="#2A2D31"/><ellipse cx="967.5" cy="658.2" rx="9.19" ry="5.30" fill="#D8D5CC" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="967.5" cy="658.1" rx="6.25" ry="3.61" fill="#A9ACB0" stroke="none" stroke-width="0" opacity="1"/><path d="M852.4,750.5 A12.5,7.2 0 0 0 877.4,750.5 L877.4,739.6 A12.5,7.2 0 0 1 852.4,739.6 Z" fill="#8A8D90"/><ellipse cx="864.9" cy="739.6" rx="12.49" ry="7.21" fill="#C6C9CC" stroke="none" stroke-width="0" opacity="1"/><path d="M907.0,653.0 A12.5,7.2 0 0 0 932.0,653.0 L932.0,642.1 A12.5,7.2 0 0 1 907.0,642.1 Z" fill="#8A8D90"/><ellipse cx="919.5" cy="642.1" rx="12.49" ry="7.21" fill="#B8A9C6" stroke="none" stroke-width="0" opacity="1"/><polygon points="787.5,738.5 775.6,745.4 775.6,749.2 787.5,742.4" fill="#7E681A"/><polygon points="763.1,738.1 775.6,745.4 775.6,749.2 763.1,742.0" fill="#A98B22"/><polygon points="775.0,731.2 787.5,738.5 775.6,745.4 763.1,738.1" fill="#D8B84A"/><polygon points="764.1,725.0 752.2,731.9 752.2,735.8 764.1,728.9" fill="#7E681A"/><polygon points="739.7,724.6 752.2,731.9 752.2,735.8 739.7,728.5" fill="#A98B22"/><polygon points="751.6,717.8 764.1,725.0 752.2,731.9 739.7,724.6" fill="#D8B84A"/><polygon points="863.9,794.0 855.6,798.8 855.6,802.4 863.9,797.5" fill="#83868A"/><polygon points="842.6,791.2 855.6,798.8 855.6,802.4 842.6,794.9" fill="#A9ACB0"/><polygon points="850.9,786.5 863.9,794.0 855.6,798.8 842.6,791.2" fill="#D2D5D8"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="1000" cy="732" r="5.5" fill="#1F7A45"/><path d="M1000,732 L1064,702 L1230,702" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="695" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Ra-01H LoRa</text><text x="1246" y="730" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">18 byte alert to every unit</text><circle cx="981" cy="771" r="5.5" fill="#1F7A45"/><path d="M981,771 L1045,802 L1230,802" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="795" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Spring antenna</text><text x="1246" y="830" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">lies flat along the board</text><circle cx="838" cy="736" r="5.5" fill="#1F7A45"/><path d="M838,736 L902,902 L1230,902" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="895" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">RGB LED</text><text x="1246" y="930" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">green alive, red alert</text><circle cx="899" cy="619" r="5.5" fill="#1F7A45"/><path d="M899,619 L835,722 L560,722" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="715" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">4 microphones</text><text x="544" y="750" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">79 mm corner to corner</text><circle cx="936" cy="619" r="5.5" fill="#1F7A45"/><path d="M936,619 L872,832 L560,832" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="825" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Beeper</text><text x="544" y="860" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">carries through a wall</text><circle cx="856" cy="626" r="5.5" fill="#1F7A45"/><path d="M856,626 L792,942 L560,942" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="935" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Vibration motor</text><text x="544" y="970" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">haptic alert channel</text></svg></div>
<div class="xl" data-dz="134" style="--z:16;z-index:16"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><path d="M890.1,868.5 A9.9,5.7 0 0 0 909.9,868.5 L909.9,808.5 A9.9,5.7 0 0 1 890.1,808.5 Z" fill="#1D2023"/><ellipse cx="900.0" cy="808.5" rx="9.92" ry="5.73" fill="#2E3134" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="808.4" rx="4.59" ry="2.65" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M674.4,744.0 A9.9,5.7 0 0 0 694.3,744.0 L694.3,684.0 A9.9,5.7 0 0 1 674.4,684.0 Z" fill="#1D2023"/><ellipse cx="684.4" cy="684.0" rx="9.92" ry="5.73" fill="#2E3134" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="684.4" cy="683.9" rx="4.59" ry="2.65" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M1105.7,744.0 A9.9,5.7 0 0 0 1125.6,744.0 L1125.6,684.0 A9.9,5.7 0 0 1 1105.7,684.0 Z" fill="#1D2023"/><ellipse cx="1115.6" cy="684.0" rx="9.92" ry="5.73" fill="#2E3134" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1115.6" cy="683.9" rx="4.59" ry="2.65" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><path d="M890.1,619.5 A9.9,5.7 0 0 0 909.9,619.5 L909.9,559.5 A9.9,5.7 0 0 1 890.1,559.5 Z" fill="#1D2023"/><ellipse cx="900.0" cy="559.5" rx="9.92" ry="5.73" fill="#2E3134" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="900.0" cy="559.4" rx="4.59" ry="2.65" fill="#0A0B0C" stroke="none" stroke-width="0" opacity="1"/><polygon points="1136.4,672.0 900.0,808.5 900.0,820.5 1136.4,684.0" fill="#111315"/><polygon points="663.6,672.0 900.0,808.5 900.0,820.5 663.6,684.0" fill="#1C1F22"/><polygon points="900.0,535.5 1136.4,672.0 900.0,808.5 663.6,672.0" fill="#2A2D30"/><ellipse cx="899.2" cy="587.5" rx="42.25" ry="24.39" fill="#1C1F22" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="589.7" rx="35.46" ry="20.47" fill="#171A1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="591.9" rx="28.66" ry="16.55" fill="#121417" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="594.2" rx="21.86" ry="12.62" fill="#0D0F11" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="596.4" rx="15.06" ry="8.70" fill="#08090A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="598.6" rx="8.27" ry="4.77" fill="#050506" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="755.5" rx="42.25" ry="24.39" fill="#1C1F22" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="757.7" rx="35.46" ry="20.47" fill="#171A1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="759.9" rx="28.66" ry="16.55" fill="#121417" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="762.2" rx="21.86" ry="12.62" fill="#0D0F11" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="764.4" rx="15.06" ry="8.70" fill="#08090A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="766.6" rx="8.27" ry="4.77" fill="#050506" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="671.5" rx="42.25" ry="24.39" fill="#1C1F22" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="673.7" rx="35.46" ry="20.47" fill="#171A1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="675.9" rx="28.66" ry="16.55" fill="#121417" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="678.2" rx="21.86" ry="12.62" fill="#0D0F11" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="680.4" rx="15.06" ry="8.70" fill="#08090A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="682.6" rx="8.27" ry="4.77" fill="#050506" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="671.5" rx="42.25" ry="24.39" fill="#1C1F22" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="673.7" rx="35.46" ry="20.47" fill="#171A1D" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="675.9" rx="28.66" ry="16.55" fill="#121417" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="678.2" rx="21.86" ry="12.62" fill="#0D0F11" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="680.4" rx="15.06" ry="8.70" fill="#08090A" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="682.6" rx="8.27" ry="4.77" fill="#050506" stroke="none" stroke-width="0" opacity="1"/><polygon points="880.5,609.7 1007.8,683.2 919.5,734.2 792.2,660.7" fill="#0E1012"/><polygon points="880.5,616.0 1000.0,685.0 919.5,731.5 800.0,662.5" fill="#191C1F"/><ellipse cx="967.5" cy="632.9" rx="18.74" ry="10.82" fill="#33373B" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="967.5" cy="631.4" rx="18.74" ry="10.82" fill="#3F4348" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="967.5" cy="631.3" rx="11.76" ry="6.79" fill="#4A4E53" stroke="none" stroke-width="0" opacity="1"/><path d="M823.0,711.0 A9.5,5.5 0 0 0 841.9,711.0 L841.9,700.8 A9.5,5.5 0 0 1 823.0,700.8 Z" fill="#DEDBD0"/><ellipse cx="832.5" cy="700.8" rx="9.48" ry="5.47" fill="#F4F2EA" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="832.5" cy="700.7" rx="5.51" ry="3.18" fill="#FFFFFF" stroke="none" stroke-width="0" opacity="0.8"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="832" cy="701" r="5.5" fill="#1F7A45"/><path d="M832,701 L896,594 L1230,594" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="587" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Light pipe</text><text x="1246" y="622" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">acrylic rod over the LED</text><circle cx="1116" cy="714" r="5.5" fill="#1F7A45"/><path d="M1116,714 L1180,704 L1230,704" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="697" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Screw posts</text><text x="1246" y="732" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">self tappers up from below</text><circle cx="754" cy="678" r="5.5" fill="#1F7A45"/><path d="M754,678 L690,564 L560,564" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="557" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">45 degree cones</text><text x="544" y="592" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">23 mm mouth down to 4.5 mm</text><circle cx="968" cy="631" r="5.5" fill="#1F7A45"/><path d="M968,631 L904,674 L560,674" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="667" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Snooze button</text><text x="544" y="702" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">outputs quiet, detector on</text></svg></div>
<div class="xl" data-dz="164" style="--z:17;z-index:17"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><polygon points="1005.2,683.2 919.5,732.8 919.5,740.9 1005.2,691.4" fill="#0F1113"/><polygon points="794.8,660.8 919.5,732.8 919.5,740.9 794.8,668.9" fill="#1B1D20"/><polygon points="880.5,611.2 1005.2,683.2 919.5,732.8 794.8,660.8" fill="#2A2D31"/><polygon points="880.5,618.7 992.2,683.2 919.5,725.2 807.8,660.7" fill="#F7F5EE"/><polygon points="877.9,630.6 955.9,675.6 949.6,679.2 871.7,634.2" fill="#22262A" opacity="0.90"/><polygon points="861.8,639.9 916.4,671.4 910.1,675.0 855.6,643.5" fill="#22262A" opacity="0.74"/><polygon points="845.7,649.2 913.3,688.2 907.0,691.8 839.5,652.8" fill="#22262A" opacity="0.58"/><polygon points="829.6,658.5 868.6,681.0 862.3,684.6 823.4,662.1" fill="#22262A" opacity="0.42"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="825" cy="652" r="5.5" fill="#1F7A45"/><path d="M825,652 L761,510 L560,510" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="544" y="503" text-anchor="end" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">1.54 in e-paper</text><text x="544" y="538" text-anchor="end" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">keeps the alert unpowered</text></svg></div>
<div class="xl" data-dz="176" style="--z:18;z-index:18"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><defs><pattern id="mesh" width="7" height="7" patternUnits="userSpaceOnUse"><rect width="7" height="7" fill="#16181B"/><circle cx="3.5" cy="3.5" r="1.6" fill="#33373C"/></pattern></defs><ellipse cx="899.2" cy="587.5" rx="45.93" ry="26.52" fill="url(#mesh)" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="587.5" rx="45.93" ry="26.52" fill="none" stroke="#0C0E10" stroke-width="1.4" opacity="1"/><ellipse cx="899.2" cy="755.5" rx="45.93" ry="26.52" fill="url(#mesh)" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="899.2" cy="755.5" rx="45.93" ry="26.52" fill="none" stroke="#0C0E10" stroke-width="1.4" opacity="1"/><ellipse cx="753.7" cy="671.5" rx="45.93" ry="26.52" fill="url(#mesh)" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="753.7" cy="671.5" rx="45.93" ry="26.52" fill="none" stroke="#0C0E10" stroke-width="1.4" opacity="1"/><ellipse cx="1044.7" cy="671.5" rx="45.93" ry="26.52" fill="url(#mesh)" stroke="none" stroke-width="0" opacity="1"/><ellipse cx="1044.7" cy="671.5" rx="45.93" ry="26.52" fill="none" stroke="#0C0E10" stroke-width="1.4" opacity="1"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="754" cy="672" r="5.5" fill="#1F7A45"/><path d="M754,672 L818,648 L1230,648" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="641" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Grille cloth</text><text x="1246" y="676" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">woven, 0.4 mm or thinner</text></svg></div>
<div class="xl" data-dz="186" style="--z:19;z-index:19"><svg class="xl-art" viewBox="0 0 1800 1400" aria-hidden="true"><path d="M847.8,586.4 A51.4,29.7 0 0 0 950.7,586.4 L950.7,583.4 A51.4,29.7 0 0 1 847.8,583.4 Z" fill="#C6C3B9"/><path d="M857.7,586.4 A41.5,24.0 0 0 0 940.7,586.4 L940.7,583.4 A41.5,24.0 0 0 1 857.7,583.4 Z" fill="#8F8C84"/><path d="M847.8,583.3 A51.4,29.7 0 1 0 950.7,583.3 A51.4,29.7 0 1 0 847.8,583.3 Z M857.7,583.3 A41.5,24.0 0 1 0 940.7,583.3 A41.5,24.0 0 1 0 857.7,583.3 Z" fill="#E3E0D6" fill-rule="evenodd" opacity="1"/><path d="M847.8,754.4 A51.4,29.7 0 0 0 950.7,754.4 L950.7,751.4 A51.4,29.7 0 0 1 847.8,751.4 Z" fill="#C6C3B9"/><path d="M857.7,754.4 A41.5,24.0 0 0 0 940.7,754.4 L940.7,751.4 A41.5,24.0 0 0 1 857.7,751.4 Z" fill="#8F8C84"/><path d="M847.8,751.3 A51.4,29.7 0 1 0 950.7,751.3 A51.4,29.7 0 1 0 847.8,751.3 Z M857.7,751.3 A41.5,24.0 0 1 0 940.7,751.3 A41.5,24.0 0 1 0 857.7,751.3 Z" fill="#E3E0D6" fill-rule="evenodd" opacity="1"/><path d="M702.3,670.4 A51.4,29.7 0 0 0 805.2,670.4 L805.2,667.4 A51.4,29.7 0 0 1 702.3,667.4 Z" fill="#C6C3B9"/><path d="M712.2,670.4 A41.5,24.0 0 0 0 795.2,670.4 L795.2,667.4 A41.5,24.0 0 0 1 712.2,667.4 Z" fill="#8F8C84"/><path d="M702.3,667.3 A51.4,29.7 0 1 0 805.2,667.3 A51.4,29.7 0 1 0 702.3,667.3 Z M712.2,667.3 A41.5,24.0 0 1 0 795.2,667.3 A41.5,24.0 0 1 0 712.2,667.3 Z" fill="#E3E0D6" fill-rule="evenodd" opacity="1"/><path d="M993.3,670.4 A51.4,29.7 0 0 0 1096.2,670.4 L1096.2,667.4 A51.4,29.7 0 0 1 993.3,667.4 Z" fill="#C6C3B9"/><path d="M1003.2,670.4 A41.5,24.0 0 0 0 1086.2,670.4 L1086.2,667.4 A41.5,24.0 0 0 1 1003.2,667.4 Z" fill="#8F8C84"/><path d="M993.3,667.3 A51.4,29.7 0 1 0 1096.2,667.3 A51.4,29.7 0 1 0 993.3,667.3 Z M1003.2,667.3 A41.5,24.0 0 1 0 1086.2,667.3 A41.5,24.0 0 1 0 1003.2,667.3 Z" fill="#E3E0D6" fill-rule="evenodd" opacity="1"/></svg><svg class="xl-cal" viewBox="0 0 1800 1400" aria-hidden="true"><circle cx="1045" cy="667" r="5.5" fill="#1F7A45"/><path d="M1045,667 L1109,600 L1230,600" fill="none" stroke="#1F7A45" stroke-width="2.2" opacity=".65"/><text x="1246" y="593" text-anchor="start" font-size="36" font-weight="600" font-family="Space Grotesk, sans-serif" fill="#16181A">Retaining rings</text><text x="1246" y="628" text-anchor="start" font-size="28" font-family="IBM Plex Mono, monospace" fill="#71767C">printed, clamp the cloth</text></svg></div>
</div>
</div>
</div>
</div>
</div>
</section>
<div class="rule"></div>
<section id="reach">
<div class="wrap">
<p class="eyebrow">Reach <span class="tag" style="margin-left:8px">measured</span> <span class="tag d" style="margin-left:6px">predicted</span></p>
<h2>104 metres, measured.</h2>
<p class="lede" style="margin-top:14px">A single unit on a brick-walled street, traffic passing, detected a hovering four-motor airframe at <b>104.2 m</b>, 114 yards on the map. Nothing fired on the cars.</p>
<div class="field3">
<figure class="fcard">
<video controls playsinline preload="metadata" poster="assets/field/104m-poster.jpg"><source src="assets/field/104m-test.mp4" type="video/mp4"></video>
<figcaption>Sped up. The unit is in the hand, the airframe is at the far end of the street.</figcaption>
</figure>
<figure class="fcard"><img src="assets/field/104m-map.jpg" alt="Google Maps distance measurement, 114 yards"><figcaption>114 yd, 104.2 m, from where the unit stood to where the airframe hovered.</figcaption></figure>
<figure class="fcard"><img src="assets/field/104m-unit.jpg" alt="The unit showing its test screen after the detection"><figcaption>The test screen right after. The star marks the tier that fired: tier 4, 31.9 over 30.5.</figcaption></figure>
</div>
<h3 style="margin-top:46px">What the physics predicts for other conditions</h3>
<p style="font-size:.95rem;color:var(--ink2);margin-top:8px;max-width:74ch">Wind moves the range by an order of magnitude. Green is what to expect in each condition, the red dot is the measurement.</p>
<div class="scale" id="scale">
<div class="srow"><div class="lab"><b>Still air, quiet site</b><span>under 2 m/s</span></div>
<div class="axis"><span class="base"></span><span class="band" data-min="100" data-max="200"></span><span class="meas" data-at="104.2"><i></i><em>104 m measured</em></span></div>
<div class="val">100 to 200 m</div></div>
<div class="srow"><div class="lab"><b>Light breeze</b><span>2 to 5 m/s</span></div>
<div class="axis"><span class="base"></span><span class="band" data-min="50" data-max="120"></span></div>
<div class="val">50 to 120 m</div></div>
<div class="srow"><div class="lab"><b>Breezy</b><span>5 to 8 m/s</span></div>
<div class="axis"><span class="base"></span><span class="band" data-min="15" data-max="50"></span></div>
<div class="val">15 to 50 m</div></div>
<div class="srow"><div class="lab"><b>Strong wind, upwind</b><span>above 8 m/s</span></div>
<div class="axis"><span class="base"></span><span class="band" data-min="5" data-max="25"></span></div>
<div class="val">5 to 25 m</div></div>
<div class="ticks" id="ticks"></div>
<div class="slegend">
<span><i style="background:var(--guard)"></i>range to expect</span>
<span><i style="background:#E2DED1"></i>comfortably inside reach</span>
<span><i style="background:var(--alert);border-radius:50%"></i>measured</span>
</div>
</div>
<h3 style="margin-top:46px">Also measured</h3>
<div class="grid3" style="margin-top:18px">
<div class="mcard"><div class="k" style="color:var(--alert)">104 m</div><div class="l">Detection range, single unit, roadside</div><div class="c">Field</div></div>
<div class="mcard"><div class="k" style="color:var(--guard)">0</div><div class="l">False alarms in the field, cars and people included</div><div class="c">Field</div></div>
<div class="mcard"><div class="k">423 Hz</div><div class="l">First real-rotor lock, inside the predicted band</div><div class="c">Bench</div></div>
<div class="mcard"><div class="k">29.4 ms</div><div class="l">Worst frame of 1938 against a 32 ms budget. No overruns.</div><div class="c">Bring-up</div></div>
<div class="mcard"><div class="k">bit-identical</div><div class="l">Golden vectors on the board matched the laptop reference</div><div class="c">Bring-up</div></div>
</div>
<p style="margin-top:28px;font-size:.93rem;color:var(--ink2);max-width:72ch"><b>Caveats.</b> Range drops with wind. It cannot tell whose drone it is. It is not a life-safety product.</p>
</div>
</section>
<section id="rig">
<div class="wrap">
<p class="eyebrow">The test rig</p>
<h2>What it is tested against</h2>
<p class="lede" style="margin-top:14px;max-width:62ch">Four 2807-class motors with 7 in three-blade propellers on the same frame geometry as the FPV airframes flown over the Israel–Lebanon border. Each motor has its own ESC and hand throttle, so it idles, hovers or spins up on command and stays exactly where the tape says it is.</p>
<div class="rig">
<figure><img src="assets/field/rig-01.jpg" loading="lazy" alt="The four-motor rig from above, 7 in tri-blade propellers, servo testers and two batteries on the panel"><figcaption>Four motors, four throttles, two 1500 mAh packs.</figcaption></figure>
<figure><img src="assets/field/rig-02.jpg" loading="lazy" alt="A 50 m tape laid along the path from the unit to the rig"><figcaption>Measured with a 50 m tape.</figcaption></figure>
<figure><img src="assets/field/rig-03.jpg" loading="lazy" alt="The unit held up showing its test screen, the rig behind it"><figcaption>The unit's test screen after a run.</figcaption></figure>
<figure><img src="assets/field/rig-04.jpg" loading="lazy" alt="The rig on a bench with two units placed at different distances"><figcaption>Two units at two ranges in one session.</figcaption></figure>
</div>
<p style="margin-top:18px;font-family:'IBM Plex Mono',monospace;font-size:.8rem"><a href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md" style="color:var(--ink2)">More field-test video and photos are in the GitHub archive →</a></p>
</div>
</section>
<div class="rule"></div>
<section id="why">
<div class="wrap">
<p class="eyebrow">The signature</p>
<div class="two" style="align-items:start">
<div>
<h2>What a drone sounds like, exactly</h2>
<p class="lede" style="margin-top:16px">A propeller with <b>B blades</b> turning at <b>R revolutions per second</b> chops the air <b>B times R</b> times a second. That is the fundamental. Because the chopping is not a smooth sine wave, energy also lands at every whole multiple of it, and the result is a <em class="hl">comb</em>: sharp teeth at even spacing with quiet gaps between them.</p>
<div class="reasons">
<div class="reason"><b>No transmitter, no detection</b><span>Radio detectors need the aircraft to emit. A fibre spool means it never does.</span></div>
<div class="reason"><b>The spacing is a measurement</b><span>It measures a rate and checks that it holds still.</span></div>
<div class="reason"><b>Nothing outdoors looks like this</b><span>Wind, traffic and rain smear across the whole spectrum. Evenly spaced teeth do not.</span></div>
</div>
</div>
<div class="sig">
<div class="sig-hd"><span>spectrum</span><span>16 kHz, 2048-point FFT</span></div>
<svg viewBox="0 0 520 470" id="sigFig" role="img" aria-label="Spectrum showing evenly spaced harmonic teeth">
<g id="sigGrid"></g><g id="sigNoise"></g>
<path id="sigFloor" d="" fill="none" stroke="#B5760F" stroke-width="1.4" stroke-dasharray="4 4"/>
<g id="sigTeeth"></g><g id="sigLbl"></g>
<line x1="52" y1="406" x2="506" y2="406" stroke="#CFCBBE" stroke-width="1.3"/>
<g id="sigTicks"></g>
<text x="18" y="230" font-size="11" transform="rotate(-90 18 230)" text-anchor="middle" font-family="IBM Plex Mono, monospace" fill="#71767C">level, dB</text>
<text x="506" y="458" text-anchor="end" font-size="11" font-family="IBM Plex Mono, monospace" fill="#71767C">frequency, Hz</text>
<text x="52" y="458" font-size="11" font-family="IBM Plex Mono, monospace" fill="#B5760F">- - - adaptive noise floor</text>
</svg>
</div>
</div>
</div>
</section>
<div class="rule"></div>
<section id="hear" style="padding-bottom:26px">
<div class="wrap">
<p class="eyebrow">Signal chain</p>
<h2>How it hears</h2>
<p class="lede" style="margin-top:14px">Seven steps, running end to end every <b>32 milliseconds</b>, on a microcontroller that costs about four pounds. Everything below is also running in <a class="simopen" href="#simulator">the live simulator</a>, where you can put a drone at a distance, add wind or a voice, and watch each stage react.</p>
<div class="rail" id="rail">
<div class="stage">
<div><h3>Sampling <span class="chip">4 microphones</span><span class="chip">16,000 samples a second</span></h3>
<p>Four digital microphones, clocked from one source, turn the air into numbers sixteen thousand times a second each. The four streams are added: sound arriving from any direction adds up, and each capsule's own noise does not. That is where the array's 6 dB comes from.</p></div>
<div class="fig"><svg viewBox="0 0 300 120" aria-hidden="true">
<path d="M12 60 C24 18 36 18 48 60 S72 102 84 60 S108 18 120 60 S144 102 156 60 S180 18 192 60 S216 102 228 60 S252 18 264 60 S288 102 300 60" fill="none" stroke="#9FB8A9" stroke-width="1.6"/>
<g id="sampdots"></g>
<line x1="12" y1="60" x2="288" y2="60" stroke="#E2DED1"/>
<text x="14" y="112" font-size="10" font-family="IBM Plex Mono, monospace" fill="#9A9689">one sample every 62.5 microseconds</text>
</svg></div>
</div>
<div class="stage">
<div><h3>Fast Fourier transform <span class="chip">2048 points</span><span class="chip">every 32 ms</span></h3>
<p>Every 512 new samples, the last 2048 are turned from a waveform into a spectrum: how much sound there is at each frequency, in bins 7.8 Hz wide. A propeller comb shows up as a row of evenly spaced spikes.</p></div>
<div class="fig"><svg viewBox="0 0 300 120" aria-hidden="true">
<path d="M10 60q8-30 16 0t16 0 16 0 16 0 16 0" stroke="#9FB8A9" stroke-width="1.6" fill="none"/>
<path d="M104 60h18m0 0l-6-5m6 5l-6 5" stroke="#71767C" stroke-width="1.6" fill="none"/>
<g id="fftbars"></g>
<line x1="132" y1="100" x2="292" y2="100" stroke="#CFCBBE"/>
<text x="132" y="114" font-size="10" font-family="IBM Plex Mono, monospace" fill="#9A9689">each frequency, one bin</text>
</svg></div>
</div>
<div class="stage">
<div><h3>Noise floor <span class="chip">learned, bin by bin</span><span class="chip">6 s up, 0.8 s down</span></h3>
<p>The detector keeps a running picture of what the site normally sounds like at every frequency and subtracts it. Quiet changes are learned slowly, so a new tone stands proud for seconds. Loud broadband bursts, wind gusts, a lorry, are learned in under a second, so they cannot fake a comb.</p></div>
<div class="fig"><svg viewBox="0 0 300 120" aria-hidden="true">
<g id="nzbars"></g>
<g class="nzteeth" fill="#1F7A45">
<rect x="58" y="24" width="7" height="78"/><rect x="118" y="38" width="7" height="64"/><rect x="178" y="50" width="7" height="52"/><rect x="238" y="60" width="7" height="42"/>
</g>
<path class="nzfloor" d="M12 96 H292" stroke="#B5760F" stroke-width="1.8" stroke-dasharray="5 4" fill="none"/>
<line x1="12" y1="102" x2="292" y2="102" stroke="#CFCBBE"/>
<text class="nzlbl" x="14" y="16" font-size="10" font-family="IBM Plex Mono, monospace" fill="#B5760F">floor learning the site</text>
<text class="nzburst" x="290" y="16" text-anchor="end" font-size="10" font-family="IBM Plex Mono, monospace" fill="#A33224">gust: floor jumps, comb survives</text>
</svg></div>
</div>
<div class="stage">
<div><h3>Scoring <span class="chip">1931 candidate combs</span><span class="chip">6 frames to lock</span></h3>
<p>For every possible blade rate from 70 to 2000 Hz, add the energy sitting on that comb's teeth, subtract the energy in its gaps, and keep the best. Then hold: the same rate has to win six frames in a row, within 2 %, before anything is allowed to happen. Noise does not do that. A rotor does.</p></div>
<div class="fig fig-tall"><svg viewBox="0 0 300 150" aria-hidden="true">
<g fill="#C6C2B4"><rect x="12" y="82" width="4" height="8"/><rect x="22" y="78" width="4" height="12"/><rect x="32" y="84" width="4" height="6"/><rect x="42" y="80" width="4" height="10"/><rect x="72" y="83" width="4" height="7"/><rect x="92" y="79" width="4" height="11"/><rect x="102" y="85" width="4" height="5"/><rect x="132" y="82" width="4" height="8"/><rect x="152" y="80" width="4" height="10"/><rect x="162" y="84" width="4" height="6"/><rect x="192" y="83" width="4" height="7"/><rect x="212" y="81" width="4" height="9"/><rect x="232" y="85" width="4" height="5"/><rect x="242" y="80" width="4" height="10"/></g>
<g fill="#1F7A45"><rect x="54" y="34" width="6" height="56"/><rect x="114" y="46" width="6" height="44"/><rect x="174" y="56" width="6" height="34"/><rect x="234" y="64" width="6" height="26"/></g>
<line x1="12" y1="90" x2="256" y2="90" stroke="#CFCBBE"/>
<g class="comb" stroke="#B5760F" stroke-width="2"><line x1="0" y1="20" x2="0" y2="92"/><line x1="60" y1="20" x2="60" y2="92"/><line x1="120" y1="20" x2="120" y2="92"/><line x1="180" y1="20" x2="180" y2="92"/></g>
<g class="comb2" stroke="#B5760F" stroke-width="1" stroke-dasharray="2 3" opacity=".6"><line x1="30" y1="60" x2="30" y2="92"/><line x1="90" y1="60" x2="90" y2="92"/><line x1="150" y1="60" x2="150" y2="92"/><line x1="210" y1="60" x2="210" y2="92"/></g>
<text class="scanlbl" x="12" y="14" font-size="10" font-family="IBM Plex Mono, monospace" fill="#B5760F">candidate comb sliding across every rate</text>
<rect x="268" y="16" width="14" height="76" rx="3" fill="#E9E5D8"/>
<rect class="meter" x="268" y="92" width="14" height="76" rx="3" fill="#1F7A45"/>
<line x1="262" y1="44" x2="288" y2="44" stroke="#D93A2B" stroke-width="1.5" stroke-dasharray="3 3"/>
<text x="290" y="47" font-size="9" font-family="IBM Plex Mono, monospace" fill="#D93A2B">1.70</text>
<text x="275" y="106" text-anchor="middle" font-size="9" font-family="IBM Plex Mono, monospace" fill="#71767C">score</text>
<g id="trkdots"></g>
<g class="lockflag"><rect x="176" y="112" width="80" height="20" rx="4" fill="#1F7A45"/><text x="216" y="126" text-anchor="middle" font-size="10" font-family="IBM Plex Mono, monospace" fill="#F4F2EA">6 / 6 LOCKED</text></g>
<text x="12" y="126" font-size="10" font-family="IBM Plex Mono, monospace" fill="#9A9689">track and hold</text>
<text x="12" y="142" font-size="10" font-family="IBM Plex Mono, monospace" fill="#9A9689">same rate, six frames, within 2 %</text>
</svg></div>
</div>
<div class="stage wide" id="algorithms">
<div><h3>Four detectors <span class="chip">running in parallel</span></h3>
<p>One spectrum, four detectors running on it at once. One detector on its own would have to be tuned either for a drone that arrives or for one that hovers, so there are four, and the alert is the first of them to be sure. The 104 m detection above was tier 4.</p></div>
<div class="fig fig-wide"><svg viewBox="0 0 920 230" aria-hidden="true">
<g font-family="IBM Plex Mono, monospace" font-size="11" letter-spacing="1.4" fill="#71767C">
<text x="8" y="16">SAMPLING</text><text x="216" y="16">FAST FOURIER TRANSFORM</text>
<text x="428" y="16">NOISE FLOOR</text><text x="646" y="16">SCORING</text>
</g>
<rect x="4" y="24" width="190" height="150" rx="6" fill="#F2F0E8" stroke="#E1DDD0"/>
<path class="pl0" id="algoWave" d="" fill="none" stroke="#1F7A45" stroke-width="2"/>
<path d="M198 99 h14 m0 0l-5-4m5 4l-5 4" stroke="#B9B5A8" stroke-width="1.5" fill="none"/>
<rect x="216" y="24" width="190" height="150" rx="6" fill="#F2F0E8" stroke="#E1DDD0"/>
<g fill="#1F7A45" id="algoBars"></g>
<line x1="222" y1="166" x2="400" y2="166" stroke="#D8D4C6"/>
<path d="M410 99 h14 m0 0l-5-4m5 4l-5 4" stroke="#B9B5A8" stroke-width="1.5" fill="none"/>
<rect x="428" y="24" width="190" height="150" rx="6" fill="#F2F0E8" stroke="#E1DDD0"/>
<g id="algoWhite"></g>
<path class="flo" d="M434 140 H612" stroke="#B5760F" stroke-width="1.8" stroke-dasharray="5 4" fill="none"/>
<path d="M622 99 h14 m0 0l-5-4m5 4l-5 4" stroke="#B9B5A8" stroke-width="1.5" fill="none"/>
<rect x="640" y="24" width="276" height="150" rx="6" fill="#F2F0E8" stroke="#E1DDD0"/>
<line x1="656" y1="86" x2="900" y2="86" stroke="#D8D4C6" stroke-dasharray="4 4"/>
<text x="656" y="80" font-size="10" font-family="IBM Plex Mono, monospace" fill="#B9B5A8">threshold</text>
<path class="scr" d="M656 158 C700 156 730 150 764 132 C800 110 830 56 872 44" fill="none" stroke="#1F7A45" stroke-width="2.4"/>
<g id="algoLamps"></g>
<g font-family="IBM Plex Mono, monospace" font-size="10" fill="#71767C">
<text x="8" y="196">four microphones, summed, 32 ms frames</text>
<text x="428" y="196">learned slowly, unlearned fast</text>
<text x="646" y="196">comb score, then six frames to lock</text>
</g>
</svg></div>
</div>
<div class="branchset" id="branchset"><svg class="branchsvg" id="branchsvg" aria-hidden="true"></svg>
<div class="stage tier-row">
<div><span class="tn">TIER 1 <b>sealed</b></span><h3>Fast comb</h3>
<p>An aircraft that arrives, approaches or changes. Scored against the fast floor. Its behaviour is pinned by golden test vectors, so the same audio gives the same number to the last decimal place on a laptop and on the board.</p>
<span class="lat">0.23 s to alert</span></div>
<div class="tfig"><svg viewBox="0 0 320 140">
<line x1="10" y1="112" x2="310" y2="112" stroke="#2E322A"/>
<line x1="10" y1="62" x2="310" y2="62" stroke="#4A5044" stroke-dasharray="4 5"/>
<text x="14" y="56" font-size="10" font-family="IBM Plex Mono,monospace" fill="#6E756A">threshold 1.70</text>
<path class="draw" style="--L:340" d="M10 108 C70 106 100 102 140 96 C180 88 205 36 240 22 C270 12 290 14 310 14" fill="none" stroke="#5FBE85" stroke-width="3"/>
<circle class="pop" cx="212" cy="62" r="5" fill="#5FBE85"/>
<text x="196" y="132" font-size="10" font-family="IBM Plex Mono,monospace" fill="#5FBE85">crosses in 0.23 s</text>
</svg></div>
</div>
<div class="stage tier-row">
<div><span class="tn">TIER 2 <b>on</b></span><h3>Slow comb</h3>
<p>An aircraft that arrives and then <b>hovers</b>. A steady sound is exactly what a fast adaptive floor learns and erases, so this tier scores against a floor that has not caught up yet.</p>
<span class="lat">1.4 to 4 s</span></div>
<div class="tfig"><svg viewBox="0 0 320 140">
<path d="M10 36 H310" stroke="#5FBE85" stroke-width="3" fill="none"/>
<text x="12" y="26" font-size="10" font-family="IBM Plex Mono,monospace" fill="#5FBE85">hovering drone, steady</text>
<path class="draw" style="--L:360" d="M10 112 C60 112 80 56 130 44 C180 38 240 37 310 36.5" fill="none" stroke="#C05B4D" stroke-width="2.6"/>
<text x="150" y="86" font-size="10" font-family="IBM Plex Mono,monospace" fill="#C05B4D">fast floor swallows it</text>
<path class="draw" style="--L:320;animation-delay:.6s" d="M10 122 C90 122 150 118 310 112" fill="none" stroke="#7FCB9C" stroke-width="2.6"/>
<text x="150" y="136" font-size="10" font-family="IBM Plex Mono,monospace" fill="#7FCB9C">30 s floor does not</text>
</svg></div>
</div>
<div class="stage tier-row">
<div><span class="tn">TIER 3 <b>on</b></span><h3>Envelope wash</h3>
<p>Loaded, close, high-thrust flight, where the giveaway is not a clean comb but a broadband roar modulated above 3 kHz. It works when the comb is smeared.</p>
<span class="lat">1 to 3 s</span></div>
<div class="tfig"><svg viewBox="0 0 320 140">
<path id="t3Car" d="" fill="none" stroke="#3A4B3F" stroke-width="1"/>
<g class="slide"><path d="M10 70 C40 18 70 122 100 36 C130 112 160 22 190 90 C220 30 250 104 280 48 C310 18 340 122 370 36 C400 112 430 22 460 90" fill="none" stroke="#5FBE85" stroke-width="2.8"/></g>
<text x="12" y="18" font-size="10" font-family="IBM Plex Mono,monospace" fill="#6E756A">amplitude above 3 kHz</text>
<text x="12" y="132" font-size="10" font-family="IBM Plex Mono,monospace" fill="#5FBE85">modulated by the blades</text>
</svg></div>
</div>
<div class="stage tier-row last">
<div><span class="tn">TIER 4 <b>on</b></span><h3>No-floor comb</h3>
<p>Two seconds of spectrum, whitened across frequency rather than against a floor, then the same comb score. Nothing is learned into a floor, so a drone that hovers for a long time in a place that never goes quiet is still a comb. The slowest tier and the most sensitive. It is the one that fired at 104 m.</p></div>
<div class="tfig"><svg viewBox="0 0 320 110" aria-hidden="true">
<g stroke="#6FB9CE" stroke-width="3">
<line class="tup" x1="45" y1="88" x2="45" y2="40"/><line class="tup" style="animation-delay:.15s" x1="90" y1="88" x2="90" y2="20"/>
<line class="tup" style="animation-delay:.3s" x1="135" y1="88" x2="135" y2="48"/><line class="tup" style="animation-delay:.45s" x1="180" y1="88" x2="180" y2="28"/>
<line class="tup" style="animation-delay:.6s" x1="225" y1="88" x2="225" y2="56"/><line class="tup" style="animation-delay:.75s" x1="270" y1="88" x2="270" y2="38"/>
</g>
<line x1="10" y1="88" x2="310" y2="88" stroke="#3A4034"/>
<text x="10" y="104" font-size="10" font-family="IBM Plex Mono, monospace" fill="#6E756A">2 to 5 s, no floor, whitened across frequency</text>
</svg></div>
</div>
</div>
</div>
</div>
</section>
<div class="rule"></div>
<section id="alerts">
<div class="wrap">
<p class="eyebrow">When it fires</p>
<h2>Five channels, at once</h2>
<p class="lede" style="margin-top:14px">Between alerts the light blinks slow green, so you can tell a quiet unit from a dead one.</p>
<div class="chans" id="chans">
<div class="chan"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M3 10v4h4l5 4V6l-5 4H3z"/><path d="M16 8a5 5 0 010 8"/><path d="M19 5a9 9 0 010 14"/></svg><h4>Beeper</h4><p>Loud and patterned. The channel that carries through a wall and wakes people.</p></div>
<div class="chan"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><circle cx="12" cy="12" r="4"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2"/></svg><h4>Red light</h4><p>Solid red through the light pipe in the lid. Readable across a yard, day or night.</p></div>
<div class="chan"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><rect x="7" y="3" width="10" height="18" rx="2"/><path d="M3 9v6M21 9v6"/></svg><h4>Vibration motor</h4><p>A haptic channel for anyone holding or standing at the unit, and for noisy places.</p></div>
<div class="chan"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M7 9h10M7 13h7"/></svg><h4>E-paper screen</h4><p>Writes the alert and the time, and <b>holds it with the power off</b>.</p></div>
<div class="chan"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6"><path d="M12 20v-8"/><circle cx="12" cy="21" r="1"/><path d="M5 12a7 7 0 0114 0"/><path d="M2 12a10 10 0 0120 0"/></svg><h4>Radio</h4><p>An 18-byte packet over LoRa to every other unit in range, so one unit hearing something is heard everywhere.</p></div>
</div>
</div>
</section>
<section id="story">
<div class="wrap">
<p class="eyebrow">The build</p>
<h2>How it got made</h2>
<p class="lede" style="margin-top:14px">A month, in order. The full archive is on GitHub.</p>
<div class="story">
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">01</span><img src="assets/story/01-parts-on-the-desk.jpg" loading="lazy" alt="Parts on the desk"></div>
<div class="b"><h4>Parts on the desk</h4><p>Microphone breakouts, a dev board, a bag of passives.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">02</span><img src="assets/story/02-first-power-up.jpg" loading="lazy" alt="First power-up"></div>
<div class="b"><h4>First power-up</h4><p>The processor that would run everything.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">03</span><img src="assets/story/03-first-microphones-on-a-breadboard.jpg" loading="lazy" alt="First microphones on a breadboard"></div>
<div class="b"><h4>First microphones on a breadboard</h4><p>Four capsules and a signal for the first time.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">04</span><img src="assets/story/04-the-breadboard-grows.jpg" loading="lazy" alt="The breadboard grows"></div>
<div class="b"><h4>The breadboard grows</h4><p>Every part of the final unit ran here first.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">05</span><img src="assets/story/05-on-the-bench.jpg" loading="lazy" alt="On the bench"></div>
<div class="b"><h4>On the bench</h4><p>Scope, supply, and the detector on a laptop beside it.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">06</span><img src="assets/story/06-first-real-rotor.jpg" loading="lazy" alt="First real rotor"></div>
<div class="b"><h4>First real rotor</h4><p>The comb locking on a spinning propeller, 423 and 471 Hz.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">07</span><img src="assets/story/07-designing-the-pcb.jpg" loading="lazy" alt="Designing the PCB"></div>
<div class="b"><h4>Designing the PCB</h4><p>Four layers, 84 mm square, microphones where the array needs them.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">08</span><img src="assets/story/08-the-board-rendered.jpg" loading="lazy" alt="The board, rendered"></div>
<div class="b"><h4>The board, rendered</h4><p>What was about to be ordered.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">09</span><img src="assets/story/09-designing-the-case.jpg" loading="lazy" alt="Designing the case"></div>
<div class="b"><h4>Designing the case</h4><p>Base, lid and mount around the acoustics.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">10</span><img src="assets/story/10-building-the-drone-rig.jpg" loading="lazy" alt="Building the drone rig"></div>
<div class="b"><h4>Building the drone rig</h4><p>A panel to carry the microphones under a real airframe.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">11</span><img src="assets/story/11-the-drone-rig-takes-shape.jpg" loading="lazy" alt="The drone rig takes shape"></div>
<div class="b"><h4>The drone rig takes shape</h4><p>Capsules and cabling on the panel.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">12</span><img src="assets/story/12-the-drone-rig.jpg" loading="lazy" alt="The drone rig"></div>
<div class="b"><h4>The drone rig</h4><p>Identical to the four-motor FPV airframes it has to detect: same size, motors and propellers.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">13</span><img src="assets/story/13-first-outdoor-field-test.jpg" loading="lazy" alt="First outdoor field test"></div>
<div class="b"><h4>First outdoor field test</h4><p>On grass, in a breeze.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">14</span><img src="assets/story/14-all-the-enclosure-parts-arrive.jpg" loading="lazy" alt="All the enclosure parts arrive"></div>
<div class="b"><h4>All the enclosure parts arrive</h4><p>Everything that closes around the board.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">15</span><img src="assets/story/15-installing-grill-cloth.jpg" loading="lazy" alt="Installing grill cloth"></div>
<div class="b"><h4>Installing grill cloth</h4><p>Behind every cone before the lid goes on.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">16</span><img src="assets/story/16-first-batch-of-boards-arrive.jpg" loading="lazy" alt="First batch of boards arrive"></div>
<div class="b"><h4>First batch of boards arrive</h4><p>Straight from the fab.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">17</span><img src="assets/story/17-remaining-enclosure-parts-arrive.jpg" loading="lazy" alt="Remaining enclosure parts arrive"></div>
<div class="b"><h4>Remaining enclosure parts arrive</h4><p>The last of the printed set.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">18</span><img src="assets/story/18-parts-to-go-on-the-board.jpg" loading="lazy" alt="Parts to go on the board"></div>
<div class="b"><h4>Parts to go on the board</h4><p>Display, antenna, beeper and motor, waiting for the iron.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">19</span><img src="assets/story/19-soldering-of-extra-parts-on-the-pcb.jpg" loading="lazy" alt="Soldering of extra parts on the PCB"></div>
<div class="b"><h4>Soldering of extra parts on the PCB</h4><p>The few joints the fab could not place.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">20</span><img src="assets/story/20-in-the-lab.jpg" loading="lazy" alt="In the lab"></div>
<div class="b"><h4>In the lab</h4><p>Where all of it happened.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">21</span><img src="assets/story/21-printing-accessory-parts.jpg" loading="lazy" alt="Printing accessory parts"></div>
<div class="b"><h4>Printing accessory parts</h4><p>Rings and mounts on the bed.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">22</span><img src="assets/story/22-bring-up.jpg" loading="lazy" alt="Bring-up"></div>
<div class="b"><h4>Bring-up</h4><p>The board matching the laptop reference bit for bit.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">23</span><img src="assets/story/23-board-in-the-base-display-and-lid.jpg" loading="lazy" alt="Board in the base, display and lid"></div>
<div class="b"><h4>Board in the base, display and lid</h4><p>First fit.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">24</span><img src="assets/story/24-battery-foam-pad-in.jpg" loading="lazy" alt="Battery foam pad in"></div>
<div class="b"><h4>Battery foam pad in</h4><p>Before the cell.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">25</span><img src="assets/story/25-fitting-the-battery.jpg" loading="lazy" alt="Fitting the battery"></div>
<div class="b"><h4>Fitting the battery</h4><p>The cell under the board.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">26</span><img src="assets/story/26-unit-assembly.jpg" loading="lazy" alt="Unit assembly"></div>
<div class="b"><h4>Unit assembly</h4><p>Lid, cloth, screen, light pipe.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">27</span><img src="assets/story/27-the-face.jpg" loading="lazy" alt="The face"></div>
<div class="b"><h4>The face</h4><p>Four grilles, a screen, a light and a button.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">28</span><img src="assets/story/28-in-the-hand.jpg" loading="lazy" alt="In the hand"></div>
<div class="b"><h4>In the hand</h4><p>Sealed and running.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">29</span><img src="assets/story/29-more-units.jpg" loading="lazy" alt="More units"></div>
<div class="b"><h4>More units</h4><p>Built the same, tested against each other.</p></div></a>
<a class="sc" href="https://github.com/agamrossen/VolAnti/blob/main/docs/gallery.md"><div class="im"><span class="n">30</span><img src="assets/story/30-more-than-one-finished-unit.jpg" loading="lazy" alt="More than one finished unit"></div>
<div class="b"><h4>More than one finished unit</h4><p>Side by side.</p></div></a>
</div>
</div>
</section>
<div class="build" id="build">
<div class="wrap" style="padding-top:78px;padding-bottom:78px">
<p class="eyebrow" style="color:#7E857D">Build it</p>
<h2>Make your own</h2>
<p class="lede" style="margin-top:14px">Everything is public: firmware, gerbers, bill of materials with part numbers, printable enclosure files and a step-by-step build guide. Start on a breadboard and move up, or go straight to the board.</p>
<div class="routes">
<a class="route" href="https://github.com/agamrossen/VolAnti/blob/main/docs/breadboard-build.md">
<span class="pn">START HERE, OR SKIP IT</span>
<b>Breadboard version</b>
<span>A dev board and four microphone breakouts. No custom PCB, no enclosure, nothing to solder beyond header pins. Same firmware, same detector, and it will detect a drone. The quickest way to find out whether this works for you before spending anything.</span>
<span class="price">about 35 to 45 pounds / an evening</span>
</a>
<div class="joinarrow"><svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7"><path d="M4 12h15"/><path d="M13 6l6 6-6 6"/></svg></div>
<a class="route" href="https://github.com/agamrossen/VolAnti/blob/main/docs/pcb-build.md">
<span class="pn">THE FULL UNIT</span>
<b>PCB version</b>
<span>Order the four-layer board assembled, print four parts, solder the handful of joints, screw it together. This is the unit that was tested, the unit that goes on a wall, and the unit every number on this page came from.</span>
<span class="price">about 50 to 80 pounds / a weekend</span>
</a>
</div>
<p class="joinnote">The breadboard runs the same firmware and the same detector. Going from one to the other is a board order.</p>
<a class="ghlink simopen" href="#simulator" style="margin-right:12px">Try the detector first, in the live simulator</a>
<a class="ghlink" href="https://github.com/agamrossen/VolAnti">
<svg width="18" height="18" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
github.com/agamrossen/VolAnti
</a>
</div>
</div>
<footer>
<div class="wrap">
<p><strong>Detection and alert only.</strong> No jamming, spoofing, interception or targeting, ever.</p>
<p>Not a life-safety product. It will miss aircraft, and it must never be the only thing between people and harm. <a href="https://github.com/agamrossen/VolAnti/blob/main/LICENSE.md">Full disclaimer</a>.</p>
<p style="margin-top:20px">Designed and tested by Agam Rossen at the University of York.</p>
</div>
</footer>
<script>
const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
const NS='http://www.w3.org/2000/svg';
function el(t,a){const n=document.createElementNS(NS,t);for(const k in a)n.setAttribute(k,a[k]);return n;}
/* hero instrument */
(function(){
const c=document.getElementById('scope'), x=c.getContext('2d');
const inst=document.getElementById('inst'), stEl=document.getElementById('state');
const sEl=document.getElementById('rScore'), fEl=document.getElementById('rF0');
const N=190,F0=423,THR=1.70,FMAX=2350; let W=c.width,H=c.height;
let t=0,started=false;
const floor=new Array(N).fill(0).map((_,i)=>20+22*Math.exp(-i/60)+Math.random()*8);
function frame(){
W=c.width; H=c.height; t+=1; let p=0;
if(started){const k=t%460;
if(k<90)p=0; else if(k<250)p=(k-90)/160; else if(k<330)p=1; else p=Math.max(0,1-(k-330)/130);}
const score=p<=0?0.18+0.12*Math.sin(t/22):0.3+p*2.05, hot=score>=THR;
inst.classList.toggle('hot',hot);
stEl.textContent=hot?'Alert':'Listening';
sEl.textContent=score.toFixed(2);
fEl.textContent=p>0.25?(F0+Math.round(Math.sin(t/9)*3)):'---';
x.clearRect(0,0,W,H);
x.strokeStyle='#1E2219';x.lineWidth=1;
for(let g=1;g<7;g++){x.beginPath();x.moveTo(0,H*g/7);x.lineTo(W,H*g/7);x.stroke();}
const thrY=H-52-(THR/2.6)*(H-120);
x.strokeStyle=hot?'#D93A2B':'#3A4033';x.setLineDash([5,6]);
x.beginPath();x.moveTo(0,thrY);x.lineTo(W,thrY);x.stroke();x.setLineDash([]);
x.fillStyle=hot?'#D93A2B':'#4A5044';x.font=Math.round(H/26)+'px IBM Plex Mono, monospace';
x.fillText('threshold 1.70',12,thrY-8);
const bw=W/N;
for(let i=0;i<N;i++){
let m=floor[i]+Math.random()*9; const f=30+i*(FMAX/N);
for(let h=1;h<=11;h++){const hf=F0*h/2,d=Math.abs(f-hf);
if(d<44) m+=p*(155/Math.pow(h,.85))*Math.exp(-(d*d)/300);}
const bh=Math.min(H-40,m*(H/300)*1.6), tooth=(m>70&&p>0.15);
x.fillStyle=tooth?(hot?'#E2503F':'#5FBE85'):'#2E3529';
x.fillRect(i*bw,H-bh,bw-1.2,bh);
}
x.fillStyle=hot?'#FF7A68':'#5FBE85';
const sy=H-52-(Math.min(score,2.6)/2.6)*(H-120);
x.beginPath();x.arc(W-24,sy,5,0,7);x.fill();
if(!reduce) requestAnimationFrame(frame);
}
function fit(){const r=c.getBoundingClientRect();
c.width=Math.round(r.width);c.height=Math.round(r.height);}
addEventListener('resize',()=>{fit();});
fit();
if(reduce){started=true;t=300;frame();}
else{frame();new IntersectionObserver(e=>{if(e[0].isIntersecting){started=true;t=0;}},{threshold:.3}).observe(c);}
})();
/* signature comb figure */
(function(){
const noise=document.getElementById('sigNoise'),teeth=document.getElementById('sigTeeth'),
lbl=document.getElementById('sigLbl'),grid=document.getElementById('sigGrid'),
tk=document.getElementById('sigTicks'),floor=document.getElementById('sigFloor');
const base=406,x0=52,span=452,FMAX=2300,F0=423,top=40;
const fx=f=>x0+(f/FMAX)*span;
for(let g=1;g<=6;g++){const gy=base-g*58;
grid.appendChild(el('line',{x1:x0,y1:gy,x2:506,y2:gy,stroke:'#E3DFD2','stroke-width':1}));}
let fd='M'+x0+' '+(base-40);
for(let i=1;i<=110;i++){const px=x0+i*(span/110);
fd+=' L'+px.toFixed(1)+' '+(base-40-13*Math.exp(-i/32)-Math.sin(i/8)*2.4).toFixed(1);}
floor.setAttribute('d',fd);
for(let i=0;i<110;i++){const px=x0+i*(span/110),h=8+Math.random()*24;
noise.appendChild(el('rect',{x:px.toFixed(1),y:(base-h).toFixed(1),width:3.2,height:h.toFixed(1),fill:'#C6C2B4'}));}
[0,500,1000,1500,2000].forEach(f=>{
tk.appendChild(el('line',{x1:fx(f),y1:base,x2:fx(f),y2:base+5,stroke:'#CFCBBE','stroke-width':1}));
const t=el('text',{x:fx(f),y:base+20,'text-anchor':'middle','font-size':11,
'font-family':'IBM Plex Mono, monospace',fill:'#9A9689'});t.textContent=f;tk.appendChild(t);});
const amps=[292,244,202,164,130,100,74,52],names=['f0','2f0','3f0','4f0','5f0','6f0','7f0','8f0'];
amps.forEach((a2,i)=>{
const px=fx((i+1)*F0/2);
const bar=el('rect',{x:px-5,y:base-a2,width:10,height:a2,fill:'#1F7A45',rx:3});
bar.style.transformOrigin=px+'px '+base+'px';
if(!reduce){bar.style.transform='scaleY(0)';bar.style.transition='transform .55s cubic-bezier(.22,1,.36,1) '+(i*0.07)+'s';}
teeth.appendChild(bar);
const tx=el('text',{x:px,y:base-a2-9,'text-anchor':'middle','font-size':11,
'font-family':'IBM Plex Mono, monospace',fill:'#1F7A45'});tx.textContent=names[i];lbl.appendChild(tx);});
const p1=fx(F0/2),p2=fx(F0);
lbl.appendChild(el('path',{d:'M'+p1+' '+top+' H'+p2,stroke:'#B5760F','stroke-width':1.4}));
lbl.appendChild(el('path',{d:'M'+p1+' '+(top-4)+' V'+(top+4)+' M'+p2+' '+(top-4)+' V'+(top+4),stroke:'#B5760F','stroke-width':1.4}));
const sp=el('text',{x:p2+10,y:top+4,'font-size':11,'font-family':'IBM Plex Mono, monospace',fill:'#B5760F'});
sp.textContent='spacing = blades x rev/s';lbl.appendChild(sp);
if(!reduce) new IntersectionObserver(e=>{if(e[0].isIntersecting)
[...teeth.children].forEach(b=>b.style.transform='scaleY(1)');},{threshold:.3})
.observe(document.getElementById('sigFig'));
})();
/* tier 3 carrier */
(function(){const p=document.getElementById('t3Car'); if(!p) return;
let d='M10 70';
for(let i=1;i<=150;i++){const x=10+i*2,y=70+Math.sin(i/1.6)*40*Math.abs(Math.sin(i/26));
d+=' L'+x.toFixed(1)+' '+y.toFixed(1);}
p.setAttribute('d',d);})();
/* reach scale */
(function(){
const MAX=200,tk=document.getElementById('ticks');
[0,50,100,150,200].forEach(v=>{const sp=document.createElement('span');
sp.style.left=(v/MAX*100)+'%';sp.textContent=v+(v===MAX?' m':'');tk.appendChild(sp);});
new IntersectionObserver(e=>{if(!e[0].isIntersecting)return;
document.querySelectorAll('#scale .srow').forEach(r=>{
const b=r.querySelector('.band'),mn=+b.dataset.min,mx=+b.dataset.max;
r.querySelector('.base').style.width=(mn/MAX*100)+'%';
b.style.left=(mn/MAX*100)+'%';b.style.width=((mx-mn)/MAX*100)+'%';
const m=r.querySelector('.meas'); if(m) m.style.left=(m.dataset.at/MAX*100)+'%';});
},{threshold:.3}).observe(document.getElementById('scale'));
})();
/* alert channel sweep */
(function(){
const cs=[...document.querySelectorAll('#chans .chan')]; if(reduce||!cs.length) return;
let live=false;
new IntersectionObserver(e=>{live=e[0].isIntersecting;},{threshold:.4}).observe(document.getElementById('chans'));
setInterval(()=>{if(!live)return;
cs.forEach((c,i)=>setTimeout(()=>{c.classList.add('fire');
setTimeout(()=>c.classList.remove('fire'),820);},i*90));},2100);
})();
/* scroll driven: the exploded view zooms out, twists and separates */
(function(){
const xScroll=document.getElementById('xpScroll'),stage=document.getElementById('xpStage');
const layers=[...document.querySelectorAll('.xl')],sect=document.getElementById('unit');
const sticky=document.querySelector('.xp-sticky');
if(!layers.length) return;
const ART_SCALE=3.0, ZOOM=2.15;
const ease=p=>p<.5?4*p*p*p:1-Math.pow(-2*p+2,3)/2;
function prog(e){const r=e.getBoundingClientRect(),tot=r.height-innerHeight;
return tot<=0?0:Math.max(0,Math.min(1,-r.top/tot));}
new IntersectionObserver(e=>{if(e[0].isIntersecting)sect.classList.add('seen');},{threshold:.12}).observe(sect);
let ticking=false;
function tick(){
const wide=!matchMedia('(max-width:980px)').matches;
const p=wide?ease(Math.min(1,prog(xScroll)/0.84)):1;
const sc=Math.min(stage.clientWidth/1800,stage.clientHeight/1400);
const perMM=ART_SCALE*sc;
layers.forEach(l=>{const dz=parseFloat(l.dataset.dz)||0;
l.style.transform='translateY('+((36-dz)*perMM*p)+'px)';});
if(wide){
stage.style.transform='rotate('+(-(1-p)*4.5).toFixed(2)+'deg) scale('+(ZOOM-(ZOOM-1)*p).toFixed(3)+')';
sticky.style.setProperty('--cw',p>0.5?'250px':'380px');
} else { stage.style.transform=''; }
sect.classList.toggle('spread',p>0.04);
sect.classList.toggle('open',p>0.55);
ticking=false;
}
function onScroll(){if(!ticking){ticking=true;requestAnimationFrame(tick);}}
addEventListener('scroll',onScroll,{passive:true});
addEventListener('resize',onScroll);
tick();
})();
/* rail figures */
(function(){
const el2=(t,a)=>{const n=document.createElementNS(NS,t);for(const k in a)n.setAttribute(k,a[k]);return n;};
const sd=document.getElementById('sampdots');
if(sd){for(let i=0;i<24;i++){const x=12+i*12, ph=(i*12)/48*Math.PI*2*(1), y=60-42*Math.sin((i*12-12)/48*Math.PI);
const dot=el2('circle',{cx:x,cy:y.toFixed(1),r:3.2,fill:'#1F7A45'}); dot.setAttribute('class','sd'); dot.style.animationDelay=(i*0.11)+'s'; sd.appendChild(dot);
const st=el2('line',{x1:x,y1:y.toFixed(1),x2:x,y2:60,stroke:'#1F7A45','stroke-width':1,opacity:.5}); st.setAttribute('class','sd'); st.style.animationDelay=(i*0.11)+'s'; sd.appendChild(st);}}
const fb=document.getElementById('fftbars');
if(fb){[62,40,50,30,28,44,22,18,26,14,12,10].forEach((h,i)=>{const r=el2('rect',{x:136+i*13,y:100-h,width:9,height:h,rx:2,fill:'#3E6B52'}); r.setAttribute('class','fb'); r.style.animationDelay=(i*0.16)+'s'; fb.appendChild(r);});}
const nz=document.getElementById('nzbars');
if(nz){for(let i=0;i<34;i++){const x=14+i*8.2; if([5,12,20,27].includes(i))continue; const h=8+((i*7)%11); const r=el2('rect',{x:x,y:102-h,width:5,height:h,fill:'#C6C2B4'}); r.setAttribute('class','nz'); nz.appendChild(r);}}
const td=document.getElementById('trkdots');
if(td){for(let i=0;i<6;i++){const c=el2('circle',{cx:22+i*22,cy:108,r:5,fill:'#C6C2B4'}); c.style.animation='trk 8s linear infinite'; c.style.setProperty('--k',(52+i*2.2)+'%'); td.appendChild(c);}}
})();
/* connector from the four-detector node into the tier rows */
(function(){
const bs=document.getElementById('branchset'), svg=document.getElementById('branchsvg'); if(!bs||!svg) return;
function drawBranches(){
const rows=[...bs.querySelectorAll('.tier-row')]; const H=bs.offsetHeight; svg.setAttribute('viewBox','0 0 44 '+H); svg.setAttribute('height',H);
let d='', dots='';
const last=rows[rows.length-1]; const yEnd=last.offsetTop+30;
d+='M8 0 V'+yEnd;
rows.forEach(r=>{const y=r.offsetTop+30; d+=' M8 '+(y-22)+' C8 '+(y-6)+' 16 '+y+' 30 '+y; dots+='<circle cx="30" cy="'+y+'" r="5" fill="#EFEDE6" stroke="#1F7A45" stroke-width="2"/>';});
svg.innerHTML='<path d="'+d+'" fill="none" stroke="#CFCBBE" stroke-width="2"/>'+dots;
}
drawBranches(); addEventListener('resize',drawBranches); setTimeout(drawBranches,600); setTimeout(drawBranches,2000);
})();
/* section indicator and progress */
(function(){
const links=[...document.querySelectorAll('nav a[href^="#"]')]; const prog=document.getElementById('prog');
const secs=links.map(a=>document.querySelector(a.getAttribute('href'))).filter(Boolean);
function upd(){const y=scrollY+innerHeight*0.35; let cur=null; secs.forEach(s2=>{if(s2.offsetTop<=y)cur=s2;});
links.forEach(a=>a.classList.toggle('active',cur&&a.getAttribute('href')==='#'+cur.id));
const total=document.documentElement.scrollHeight-innerHeight; if(prog)prog.style.width=(100*Math.min(1,scrollY/Math.max(1,total)))+'%';}
addEventListener('scroll',upd,{passive:true}); addEventListener('resize',upd); upd();
})();
/* the algorithms pipeline figure */
(function(){
const w=document.getElementById('algoWave'); if(!w) return;
let d='M8 99';
for(let i=1;i<=190;i++){const x=8+i,
y=99+Math.sin(i/2.2)*26*Math.abs(Math.sin(i/34))+Math.sin(i/1.1)*4;
d+=' L'+x.toFixed(1)+' '+y.toFixed(1);}
w.setAttribute('d',d);
const bars=document.getElementById('algoBars');
[118,96,80,64,52,42,34,27,21,16].forEach((a,i)=>{
const r=el('rect',{x:228+i*17,y:166-a,width:9,height:a,rx:2});
r.setAttribute('class','gb'); r.style.animationDelay=(i*0.08)+'s'; bars.appendChild(r);});
const wh=document.getElementById('algoWhite');
[92,74,60,49,40,32,26,21,17,13,10].forEach((h,i)=>{
const r=el('rect',{x:440+i*16,y:166-h,width:8,height:h,rx:2,fill:'#1F7A45'});
r.setAttribute('class','gb'); r.style.animationDelay=(0.9+i*0.06)+'s'; wh.appendChild(r);});
wh.appendChild(el('line',{x1:434,y1:166,x2:612,y2:166,stroke:'#D8D4C6'}));
const lamps=document.getElementById('algoLamps');
['TIER 1 fast comb','TIER 2 slow comb','TIER 3 envelope','TIER 4 no floor'].forEach((n,i)=>{
const y=48+i*30, g=el('g',{});
g.style.animation='lampon 5s ease-in-out infinite'; g.style.animationDelay=(0.4+i*0.18)+'s';
g.appendChild(el('circle',{cx:660,cy:y,r:5,fill:i===3?'#2C7E96':'#1F7A45'}));
const t=el('text',{x:674,y:y+4,'font-size':11,'font-family':'IBM Plex Mono, monospace',fill:'#3E4247'});
t.textContent=n; g.appendChild(t); lamps.appendChild(g);});
})();
</script>
<div id="simov" aria-hidden="true">
<iframe id="simfr" title="VolAnti live simulator"></iframe>
</div>
<template id="simsrc">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VolAnti | Live simulator</title>
<meta name="description" content="Drag a drone around a field and watch the VolAnti detector run on it: the same sampling, transform, noise floor, scoring and four tiers as the device.">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
:root{--paper:#EFEDE6;--paper2:#E4E1D7;--card:#F7F5EF;--ink:#16181A;--ink2:#3E4247;--ink3:#71767C;--rule:#CFCBBE;
--guard:#1F7A45;--alert:#D93A2B;--derive:#B5760F;--deep:#12140F;--g:#5FBE85;--r:#FF6A58;--a:#E0A94A;--b:#6FB9CE}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--paper);color:var(--ink);font-family:'Space Grotesk',system-ui,sans-serif;font-size:15px;line-height:1.45;overflow:hidden}
header{height:46px;flex:none;display:flex;align-items:center;gap:14px;padding:0 14px;border-bottom:1px solid var(--rule);background:rgba(239,237,230,.96)}
.wm{height:30px;width:auto;display:block}
header .btn{padding:6px 12px;font-size:.78rem;white-space:nowrap}
.btn.back{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.tag{font-family:'IBM Plex Mono',monospace;font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ink3);margin-left:4px}
header .sp{flex:1}
.btn{border:1px solid var(--ink);background:transparent;color:var(--ink);padding:8px 14px;border-radius:6px;font:inherit;font-size:.86rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.btn.p{background:var(--ink);color:var(--paper)}
.btn.on{background:var(--guard);border-color:var(--guard);color:#fff}
main{display:grid;grid-template-columns:1fr 420px;height:calc(100% - 46px);min-height:0}
.scene{position:relative;overflow:hidden;background:linear-gradient(#DCE8EC 0%,#E9EDEA 46%,#EFEDE6 68%);display:flex;flex-direction:column;min-height:0}
.stage{position:relative;flex:1;min-height:0}
.scene canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}
.scene canvas.drag{cursor:grabbing}
.hint{position:absolute;left:18px;top:14px;font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:#5D6A66;pointer-events:none}
.dock{flex:none;margin:0 10px 10px;background:rgba(22,24,26,.94);color:#E8E6DE;border:1px solid #33382E;border-radius:10px;padding:8px 14px;display:flex;flex-direction:column;gap:7px}
.dk{display:flex;gap:18px;align-items:center;flex-wrap:nowrap;min-height:30px}
.dk.two{display:grid;grid-template-columns:1fr 1fr 1.4fr 90px auto;gap:14px;align-items:center}
.volsl label{justify-content:center}
.chips{display:flex;gap:5px;flex-wrap:nowrap;align-items:center}
.chips .lbl{font-family:'IBM Plex Mono',monospace;font-size:.68rem;color:#8A9086;margin-right:3px}
.chip{border:1px solid #3A3F36;background:#1B1E18;color:#A8ADA3;padding:5px 10px;border-radius:20px;font:inherit;font-size:.78rem;cursor:pointer;white-space:nowrap}
.chip.on{border-color:var(--g);color:var(--g);background:#1A251D;font-weight:600}
.chip.rd.on{border-color:var(--a);color:var(--a);background:#2A2418}
#rate .chip{padding:4px 9px;font-family:'IBM Plex Mono',monospace}
.sl label{display:flex;justify-content:space-between;font-size:.74rem;color:#8A9086;font-family:'IBM Plex Mono',monospace;white-space:nowrap}
.sl label b{color:#E8E6DE;font-weight:500}
input[type=range]{width:100%;accent-color:var(--g);margin:2px 0 0;height:18px}
.read{font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:#8A9086;display:flex;gap:14px;white-space:nowrap;overflow:hidden}
.read span{display:flex;flex-direction:column;line-height:1.25}
.read b{color:#E8E6DE;font-weight:500;font-size:.8rem}
.audio{display:inline-flex;align-items:center;gap:9px;border:1px solid #3A3F36;background:#1B1E18;color:#A8ADA3;padding:9px 14px;border-radius:8px;font:inherit;font-size:.84rem;cursor:pointer;white-space:nowrap}
.audio.on{border-color:var(--g);background:var(--guard);color:#fff}
.audio .w1,.audio .w2{opacity:.35}.audio.on .w1,.audio.on .w2{opacity:1}
@media(max-width:940px){.dk{flex-wrap:wrap}.dk.two{grid-template-columns:1fr 1fr}.read{display:none}}
.feed{overflow-y:auto;border-left:1px solid var(--rule);padding:12px 12px 40px;background:var(--paper)}
.fp{background:var(--deep);border:1px solid #262A22;border-radius:9px;margin-bottom:10px;position:relative;overflow:hidden}
.fp h5{margin:0;padding:8px 12px 0;font-family:'IBM Plex Mono',monospace;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:#7E857D;font-weight:500;display:flex;justify-content:space-between}
.fp h5 span{color:#A8ADA3;letter-spacing:0;text-transform:none}
.fp canvas{display:block;width:100%}
.fp.light{background:var(--card);border-color:var(--rule)}
.fp.light h5{color:var(--ink3)}
.tier{display:grid;grid-template-columns:44px 1fr;gap:8px 10px;padding:10px 12px;border-top:1px solid var(--rule);align-items:center}
.tier .tn{font-family:'IBM Plex Mono',monospace;font-size:.74rem;color:var(--ink3)}
.tier .tt{font-size:.9rem;font-weight:600}
.tier .tt small{font-weight:400;color:var(--ink3);margin-left:6px;font-size:.78rem}
.tier .bar{grid-column:1/-1;height:8px;background:#E2DED1;border-radius:6px;position:relative;overflow:hidden}
.tier .bar i{position:absolute;left:0;top:0;bottom:0;background:var(--guard);width:0;transition:width .12s linear}
.tier .bar b{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--ink)}
.tier .st{grid-column:1/-1;display:flex;justify-content:space-between;font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:var(--ink3)}
.tier .st em{font-style:normal;color:var(--ink)}
.tier.fire{background:#FAE7E4}
.tier.fire .bar i{background:var(--alert)}
.ring{display:flex;gap:2px;grid-column:1/-1}
.ring i{flex:1;height:6px;background:#E2DED1;border-radius:2px}
.ring i.on{background:var(--guard)}
.al{padding:12px;display:grid;gap:8px}
.al .state{font-size:1.5rem;font-weight:600;letter-spacing:-.02em}
.al .state.alert{color:var(--alert)}.al .state.listen{color:var(--guard)}.al .state.arm{color:var(--derive)}
.al .sub{font-family:'IBM Plex Mono',monospace;font-size:.76rem;color:var(--ink2)}
.chans{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}
.chans div{border:1px solid var(--rule);border-radius:6px;padding:6px 4px;text-align:center;font-family:'IBM Plex Mono',monospace;font-size:.62rem;color:var(--ink3)}
.chans div.on{border-color:var(--alert);background:#FAE7E4;color:var(--alert)}
.hold{height:6px;background:#E2DED1;border-radius:6px;overflow:hidden}.hold i{display:block;height:100%;background:var(--alert);width:0}
.log{font-family:'IBM Plex Mono',monospace;font-size:.72rem;color:var(--ink2);white-space:pre-line;min-height:2.6em}
#fid{position:fixed;inset:0;background:rgba(239,237,230,.96);display:none;z-index:50;overflow:auto;padding:40px 20px}
#fid.open{display:block}
#fid .box{max-width:940px;margin:0 auto;background:var(--card);border:1px solid var(--rule);border-radius:10px;padding:26px 30px}
#fid h2{margin:0 0 6px}#fid h3{margin:22px 0 8px;font-size:.98rem;color:var(--guard)}
#fid table{width:100%;border-collapse:collapse;font-size:.86rem}#fid td{padding:5px 8px;border-top:1px solid var(--rule);vertical-align:top;color:var(--ink2)}
#fid td:first-child{color:var(--ink);white-space:nowrap;font-family:'IBM Plex Mono',monospace;font-size:.76rem}#fid p{color:var(--ink2)}
@media(max-width:940px){html,body{overflow:auto}main{grid-template-columns:1fr;height:auto}.scene{height:70vh}.feed{border-left:none;border-top:1px solid var(--rule)}.dock{grid-template-columns:1fr 1fr}header .tag{display:none}}
.short{display:none}
@media(max-width:640px){
html,body{height:auto;overflow:visible}
.long{display:none}.short{display:inline}
header{height:42px;gap:8px;padding:0 8px}.wm{height:22px}header .btn{padding:5px 8px;font-size:.72rem}
main{height:auto}
.scene{height:auto}.stage{height:46vh;min-height:300px}
.hint{font-size:.6rem;line-height:1.3;max-width:94%}
.dock{margin:0 6px 8px;padding:7px 8px;gap:6px}
.dk{gap:5px}.chip{padding:4px 9px;font-size:.72rem}.lbl{font-size:.6rem}
.dk.two{grid-template-columns:1fr 1fr;gap:8px}.volsl{grid-column:1}.audio{grid-column:2;justify-self:stretch}
.feed{padding:8px;overflow:visible;height:auto}.panel{margin-bottom:8px}
}
</style>
<header>
<button class="btn back" id="back" hidden><span class="long">← Back to the site</span><span class="short">← Back</span></button>
<a href="index.html" aria-label="VolAnti home"><svg class="wm" xmlns="http://www.w3.org/2000/svg" viewBox="-6 -100 366 112" role="img" aria-label="VolAnti"><path d="M19.6 0.0 1.8 -70.0H15.4L30.200000000000003 -8.5H31.6L46.400000000000006 -70.0H60.0L42.2 0.0Z M86.9 1.4000000000000001Q79.5 1.4000000000000001 73.6 -1.6Q67.7 -4.6000000000000005 64.30000000000001 -10.3Q60.900000000000006 -16.0 60.900000000000006 -24.0V-25.6Q60.900000000000006 -33.6 64.30000000000001 -39.3Q67.7 -45.0 73.6 -48.0Q79.5 -51.0 86.9 -51.0Q94.30000000000001 -51.0 100.20000000000002 -48.0Q106.10000000000001 -45.0 109.5 -39.3Q112.9 -33.6 112.9 -25.6V-24.0Q112.9 -16.0 109.5 -10.3Q106.10000000000001 -4.6000000000000005 100.20000000000002 -1.6Q94.30000000000001 1.4000000000000001 86.9 1.4000000000000001ZM86.9 -9.8Q92.7 -9.8 96.5 -13.55Q100.30000000000001 -17.3 100.30000000000001 -24.3V-25.3Q100.30000000000001 -32.300000000000004 96.55000000000001 -36.050000000000004Q92.80000000000001 -39.800000000000004 86.9 -39.800000000000004Q81.10000000000001 -39.800000000000004 77.30000000000001 -36.050000000000004Q73.5 -32.300000000000004 73.5 -25.3V-24.3Q73.5 -17.3 77.30000000000001 -13.55Q81.10000000000001 -9.8 86.9 -9.8Z M119.0 0.0V-70.0H131.6V0.0Z " fill="#D93A2B"/><path d="M148.43,-3.77 L148.30,-4.05 L148.08,-4.48 L147.85,-4.90 L147.60,-5.31 L147.34,-5.72 L147.06,-6.11 L146.77,-6.50 L146.47,-6.87 L146.16,-7.23 L145.83,-7.59 L145.49,-7.93 L145.13,-8.26 L144.77,-8.57 L144.40,-8.87 L144.01,-9.16 L143.62,-9.44 L143.21,-9.70 L142.80,-9.95 L142.38,-10.18 L141.95,-10.40 L141.51,-10.61 L141.07,-10.79 L140.62,-10.97 L140.16,-11.12 L139.70,-11.26 L139.24,-11.39 L138.77,-11.50 L138.30,-11.59 L137.82,-11.67 L137.34,-11.72 L136.99,-11.75 L133.90,0.00 L147.50,0.00 L148.43,-3.77 Z M151.30,-15.40 L156.28,-15.40 L155.82,-15.93 L155.18,-16.62 L154.52,-17.28 L153.83,-17.92 L153.13,-18.53 L152.40,-19.12 L151.65,-19.68 L150.89,-20.22 L150.10,-20.73 L149.30,-21.21 L148.48,-21.66 L147.65,-22.09 L146.80,-22.48 L145.94,-22.85 L145.07,-23.18 L144.18,-23.49 L143.29,-23.76 L142.38,-24.00 L141.47,-24.21 L140.55,-24.39 L140.32,-24.43 L138.63,-18.01 L138.66,-18.01 L138.77,-18.00 L139.35,-17.90 L139.46,-17.88 L140.05,-17.77 L140.15,-17.75 L140.73,-17.61 L140.84,-17.59 L141.41,-17.43 L141.52,-17.40 L142.09,-17.23 L142.20,-17.19 L142.76,-17.00 L142.86,-16.96 L143.42,-16.75 L143.52,-16.71 L144.06,-16.48 L144.17,-16.43 L144.70,-16.18 L144.81,-16.13 L145.33,-15.86 L145.43,-15.81 L145.95,-15.52 L146.05,-15.47 L146.56,-15.16 L146.65,-15.10 L147.15,-14.78 L147.24,-14.71 L147.73,-14.37 L147.82,-14.31 L148.29,-13.95 L148.38,-13.88 L148.84,-13.51 L148.93,-13.44 L149.37,-13.05 L149.46,-12.97 L149.89,-12.57 L149.97,-12.49 L150.39,-12.07 L150.46,-12.00 L151.30,-15.40 Z M171.69,-15.40 L171.67,-15.45 L171.04,-16.68 L170.37,-17.90 L169.65,-19.09 L168.90,-20.26 L168.10,-21.39 L167.26,-22.50 L166.39,-23.58 L165.48,-24.63 L164.53,-25.65 L163.55,-26.63 L162.53,-27.58 L162.50,-27.60 L154.40,-27.60 L155.64,-32.56 L154.58,-33.14 L153.35,-33.77 L152.09,-34.36 L150.81,-34.90 L149.51,-35.40 L148.20,-35.85 L146.87,-36.26 L145.53,-36.62 L144.17,-36.93 L143.63,-37.03 L141.95,-30.64 L142.75,-30.49 L142.86,-30.46 L143.88,-30.23 L143.99,-30.20 L145.00,-29.93 L145.10,-29.90 L146.11,-29.59 L146.21,-29.56 L147.20,-29.22 L147.31,-29.18 L148.28,-28.80 L148.39,-28.76 L149.35,-28.35 L149.45,-28.31 L150.40,-27.86 L150.50,-27.82 L151.44,-27.34 L151.54,-27.29 L152.45,-26.78 L152.55,-26.72 L153.45,-26.18 L153.54,-26.13 L154.42,-25.55 L154.51,-25.49 L155.37,-24.89 L155.46,-24.83 L156.30,-24.20 L156.38,-24.13 L157.20,-23.47 L157.28,-23.40 L158.07,-22.71 L158.16,-22.63 L158.92,-21.92 L159.00,-21.84 L159.74,-21.10 L159.82,-21.02 L160.53,-20.26 L160.61,-20.17 L161.30,-19.38 L161.37,-19.30 L162.03,-18.48 L162.10,-18.40 L162.73,-17.56 L162.79,-17.47 L163.39,-16.61 L163.45,-16.52 L164.03,-15.64 L164.08,-15.55 L164.17,-15.40 L171.69,-15.40 Z M193.70,0.00 L175.30,-70.00 L152.30,-70.00 L145.27,-43.24 L145.45,-43.20 L145.56,-43.18 L147.02,-42.84 L147.13,-42.81 L148.58,-42.43 L148.69,-42.39 L150.12,-41.96 L150.23,-41.92 L151.65,-41.43 L151.75,-41.39 L153.15,-40.86 L153.26,-40.81 L154.64,-40.23 L154.74,-40.18 L156.10,-39.55 L156.20,-39.50 L157.24,-38.97 L162.90,-61.70 L164.70,-61.70 L173.20,-27.60 L171.37,-27.60 L172.27,-26.49 L172.34,-26.40 L173.24,-25.20 L173.31,-25.11 L174.17,-23.88 L174.23,-23.79 L175.05,-22.53 L175.11,-22.43 L175.88,-21.15 L175.94,-21.05 L176.67,-19.74 L176.72,-19.64 L177.40,-18.30 L177.45,-18.20 L178.08,-16.84 L178.13,-16.74 L178.71,-15.36 L178.76,-15.25 L179.29,-13.85 L179.33,-13.75 L179.82,-12.33 L179.86,-12.22 L180.29,-10.79 L180.33,-10.68 L180.71,-9.23 L180.74,-9.12 L181.08,-7.66 L181.10,-7.55 L181.39,-6.08 L181.41,-5.97 L181.64,-4.49 L181.66,-4.37 L181.84,-2.88 L181.85,-2.77 L181.98,-1.28 L181.99,-1.17 L182.05,0.00 L193.70,0.00 Z " fill="#16181A" fill-rule="evenodd"/><path d="M202.5 0.0V-49.6H214.9V-43.1H216.7Q217.9 -45.7 221.2 -48.050000000000004Q224.5 -50.400000000000006 231.2 -50.400000000000006Q237.0 -50.400000000000006 241.35 -47.75Q245.7 -45.1 248.1 -40.45Q250.5 -35.800000000000004 250.5 -29.6V0.0H237.9V-28.6Q237.9 -34.2 235.15 -37.0Q232.4 -39.800000000000004 227.3 -39.800000000000004Q221.5 -39.800000000000004 218.3 -35.95Q215.1 -32.1 215.1 -25.200000000000003V0.0Z M283.1 0.0Q278.20000000000005 0.0 275.15000000000003 -3.0500000000000003Q272.1 -6.1000000000000005 272.1 -11.200000000000001V-39.2H259.70000000000005V-49.6H272.1V-65.0H284.70000000000005V-49.6H298.3V-39.2H284.70000000000005V-13.4Q284.70000000000005 -10.4 287.5 -10.4H297.1V0.0Z M309.70000000000005 0.0V-49.6H322.30000000000007V0.0Z " fill="#16181A"/><circle cx="316.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-70.0" r="6.8" fill="#16181A"/><circle cx="342.0" cy="-44.0" r="6.8" fill="#16181A"/></svg></a>
<span class="sp"></span>
<button class="btn" id="fidbtn"><span class="long">What is exact, what is a model</span><span class="short">Exact vs model</span></button>
<a class="btn p" href="https://github.com/agamrossen/VolAnti">GitHub</a>
</header>
<main>
<section class="scene">
<div class="stage">
<canvas id="cScene"></canvas>
<div class="hint">drag the drone anywhere, double tap to jump. every template starts as an arrival at range.</div>
</div>
<div class="dock">
<div class="dk">
<button class="chip on" id="fly" style="border-color:var(--g);color:var(--g)">Land</button>
<div class="chips" id="tpl"><button class="chip on" data-t="hover">Hover</button><button class="chip" data-t="approach">Approach</button><button class="chip" data-t="flypast">Fly past</button><button class="chip" data-t="climb">Climb away</button></div>
<div class="chips" id="snd"><button class="chip rd" data-s="speech">People talking</button><button class="chip rd" data-s="car">A car</button><button class="chip rd" data-s="gen">A generator</button></div>
<div class="chips" id="rate"><span class="lbl">time</span><button class="chip on" data-r="1">1x</button><button class="chip" data-r="0.35">⅓x</button><button class="chip" data-r="0.12">⅛x</button></div>
</div>
<div class="dk two">
<div class="sl"><label>throttle <b id="thrV">50 %</b></label><input type="range" id="thr" min="30" max="100" value="50"></div>
<div class="sl"><label>wind <b id="windV">2.0 m/s</b></label><input type="range" id="wind" min="0" max="12" step="0.5" value="2"></div>
<div class="read" id="read"></div>
<div class="sl volsl"><label>volume</label><input type="range" id="vol" min="0.05" max="1" step="0.05" value="0.45"></div>
<button class="audio" id="listen" aria-pressed="false"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 10v4h4l5 4V6L8 10H4z"/><path class="w1" d="M16 9a4 4 0 010 6"/><path class="w2" d="M19 6a8 8 0 010 12"/></svg><span>Sound off</span></button>
</div>
</div>
</section>
<aside class="feed">
<div class="fp"><h5>What the four microphones hear <span id="micTxt"></span></h5><canvas id="cMics" height="240"></canvas></div>
<div class="fp"><h5>Combined signal <span>sum of four, 32 ms</span></h5><canvas id="cSum" height="90"></canvas></div>
<div class="fp"><h5>Fast Fourier transform <span id="specTxt">7.8 Hz bins</span></h5><canvas id="cSpec" height="170"></canvas></div>
<div class="fp"><h5>Scoring, every candidate rate <span id="scTxt"></span></h5><canvas id="cScore" height="150"></canvas></div>
<div class="fp light"><h5>Four detectors</h5>
<div class="tier" id="tr1"><div class="tn">TIER 1</div><div class="tt">Fast comb<small>0.23 s</small></div><div class="bar"><i></i><b></b></div><div class="ring" data-n="6"></div><div class="st"><span></span><em></em></div></div>
<div class="tier" id="tr2"><div class="tn">TIER 2</div><div class="tt">Slow comb<small>hovers</small></div><div class="bar"><i></i><b></b></div><div class="ring" data-n="63"></div><div class="st"><span></span><em></em></div></div>
<div class="tier" id="tr3"><div class="tn">TIER 3</div><div class="tt">Envelope wash<small>above 3 kHz</small></div><div class="bar"><i></i><b></b></div><div class="ring" data-n="23"></div><div class="st"><span></span><em></em></div></div>
<div class="tier" id="tr4"><div class="tn">TIER 4</div><div class="tt">No-floor comb<small>2 s Welch, the one that fired at 104 m</small></div><div class="bar"><i></i><b></b></div><div class="ring" data-n="8"></div><div class="st"><span></span><em></em></div></div>
</div>
<div class="fp light"><h5>Alert</h5>
<div class="al">
<div class="state listen" id="alState">LISTENING</div>
<div class="sub" id="alSub">green blink, four detectors running</div>
<div class="hold"><i id="alHold"></i></div>
<div class="chans" id="chans"><div>beeper</div><div>red LED</div><div>motor</div><div>e-paper</div><div>LoRa</div></div>
<div class="sub" id="alPkt">LoRa packet: idle</div>
<div class="log" id="alLog">no events yet</div>
</div>
</div>
</aside>
</main>
<div id="fid"><div class="box">
<h2>What is exact, and what is a model</h2>
<p>The right-hand column is the VolAnti detector as specified, running on the audio the scene generates. The scene is a model of the world. The two are kept apart on purpose.</p>
<h3>The detector, as specified</h3>
<p>A steady sound is learned into the adaptive floors within seconds. That is the design: tier 1 answers change and approach, tier 2 answers a hover for its 30 s window, tier 4 keeps a hover indefinitely because it has no floor. Every template starts as an arrival: the drone appears at range and becomes audible a moment later, which is what a unit meets in the field. Land and take off do the same by hand. On 6 September 2026 a unit detected a hovering airframe at 104 m in light air with people talking nearby; this model reproduces that case.</p>
<table>
<tr><td>Sampling</td><td>16 kHz, four channels summed in the time domain, 2048-point Hann FFT every 512 samples (32 ms).</td></tr>
<tr><td>Noise floor</td><td>Per-bin asymmetric exponential floor, rise 6 s, fall 0.8 s. Whitening S = min(ln(1 + m / floor), 2.5).</td></tr>
<tr><td>Scoring</td><td>f0 grid 70 to 2000 Hz at 1 Hz, teeth at k f0 and gaps at (k + ½) f0 up to 2000 Hz, weights 1/√k, teeth minus gaps.</td></tr>
<tr><td>Tier 1</td><td>6 consecutive hot frames, continuity within max(2 %, 12 Hz) or an octave, 200 Hz alert floor, 0.4 % jitter gate. Threshold 1.70.</td></tr>
<tr><td>Tier 2</td><td>30 s floor that converges during its 4 s warm-up, band 200 to 800 Hz, family continuity, a frame that wins on another rate is a non-hit and the track dies after 16 of them, fires at 44 hits in 63 frames, latched until below 22 for 31 frames.</td></tr>
<tr><td>Tier 3</td><td>3 kHz high-pass, square, three 800 Hz one-poles, decimate by 8, 1024-point envelope FFT every 128 ms, local-median whitening, rates 40 to 650 Hz with firing 100 to 650, ±3 % continuity, 16 of 23, τ3 = 20.</td></tr>
<tr><td>Tier 4</td><td>Median of 64 periodograms, whitened by the median of bins 6 to 24 away, Σ k^-½ min(prom, 12 dB), k ≤ 6, f0 110 to 700 Hz, every 16 frames, ±3 % continuity with ratios 1, 2, 3, ½, ⅓, 5 of 8, release after 4 misses, τ4 = 30.5. This is the tier that fired at 104 m in the field.</td></tr>
<tr><td>Alert</td><td>First tier to be sure. 5 s output hold with a visible countdown. Tier 3 and tier 4 accumulation frozen while outputs are active plus 500 ms. One alert per detection episode per tier: a hover that has already alerted does not alert again until the tier releases and re-acquires.</td></tr>
</table>
<h3>Documented approximations</h3>
<table>
<tr><td>Row normalisation</td><td>The device uses precomputed per-row tables. Here each row is centred on the frame's null mean and scaled to unit null variance. Quiet null below 1.2, close rotor near 3, speech to 4.7, matching the published points.</td></tr>
<tr><td>Floor gate</td><td>Broadband frames update the tier 1 floor on the fast path, gated by spectral flatness over the comb band at 0.5. The device's exact constants are not published.</td></tr>
<tr><td>Jitter</td><td>Relative standard deviation of the chain's family-normalised f0 against 0.4 %.</td></tr>
<tr><td>Tier 2 threshold</td><td>1.40, chosen so a hover reaches 44 of 63 inside the documented 1.4 to 4 s while speech at 2 m peaks at 20 of 63. The device's calibrated value is not published.</td></tr>
</table>
<h3>The world, which is a model</h3>
<table>
<tr><td>Drone</td><td>Four motors, blade-pass comb with harmonics falling as k^-1.2, a weaker shaft-rate family, rpm spread and micro-jitter between motors, blade-chopped wash above 3 kHz. 76 dB in the 125 to 1000 Hz band at 1 m at hover throttle, ±5 dB with throttle. Throttle also moves the blade rate through the measured hover band around 423 Hz.</td></tr>
<tr><td>Flight</td><td>The drone follows your pointer at a speed set by the throttle, 6 to 28 m/s across. Range is the straight-line distance to the unit. Radial speed shifts the whole comb by v/c, the Doppler effect, which is the physical reason a moving drone is a change to the detector.</td></tr>
<tr><td>Propagation</td><td>Spherical spreading plus ISO 9613-1 absorption at 20 °C, 50 % humidity.</td></tr>
<tr><td>Wind</td><td>Pink-shaped, independent at each capsule, at a level fitted to reproduce the published expected-range bands. Not a measured wind model.</td></tr>
<tr><td>Other sounds</td><td>Speech at 6 m per the project's confuser specification. A passing car: a sweeping firing comb plus tyre noise. A generator at 20 m: a steady 25 Hz firing comb with slow drift, the hardest honest confuser class.</td></tr>
</table>
<p style="margin-top:20px"><button class="btn" id="fidclose">Close</button></p>
</div></div>
<script>/* VolAnti simulator engine. Detector side follows the project specification;
world side (sources, propagation, wind) is a model and is labelled as such. */
(function(root){
'use strict';
const FS=16000, N=2048, HOP=512, NB=N/2+1, BINHZ=FS/N, FRAME=HOP/FS;
/* ---------------- configuration (detector constants) ---------------- */
const CFG = {
fs:FS, nfft:N, hop:HOP,
t1:{ tauRise:6.0, tauFall:0.8, tauFast:0.8, flatGate:0.50, satLog:2.5,
f0lo:70, f0hi:2000, bandHi:2000, thrHigh:1.70, thrNormal:2.14,
chain:6, contFrac:0.02, contMinHz:12, fAlertLo:200, jitterGate:0.004 },
t2:{ tauRise:30.0, tauFall:0.8, satLog:2.5, f0lo:200, f0hi:800, bandHi:2000,
thr:1.40, N2:63, M2:44, gap:16, warmup:4.0, closeFrames:31 },
t3:{ hpHz:3000, smoothHz:800, decim:8, envN:1024, updateEvery:4,
gridLo:40, gridHi:650, fireLo:100, fireHi:650, kmax:3, toothCap:15, thr:20,
N3:23, M3:16, contFrac:0.03 },
t4:{ enabled:true, welchFrames:64, updateEvery:16, medLo:6, medHi:24, gridLo:110, gridHi:700,
kmax:6, toothMaxHz:7800, toothCap:12, thr:30.5, contFrac:0.03, fireM:5, fireN:8, releaseMiss:4 },
alert:{ holdS:5.0, freezeTailS:0.5 },
};
/* ---------------- FFT (radix 2, in place) ---------------- */
function makeFFT(n){
const cos=new Float64Array(n/2), sin=new Float64Array(n/2), rev=new Uint32Array(n);
for(let i=0;i<n/2;i++){cos[i]=Math.cos(2*Math.PI*i/n); sin[i]=Math.sin(2*Math.PI*i/n);}
let bits=Math.log2(n)|0;
for(let i=0;i<n;i++){let r=0,x=i; for(let b=0;b<bits;b++){r=(r<<1)|(x&1); x>>=1;} rev[i]=r;}
return function(re,im){
for(let i=0;i<n;i++){const j=rev[i]; if(j>i){let t=re[i];re[i]=re[j];re[j]=t; t=im[i];im[i]=im[j];im[j]=t;}}
for(let size=2;size<=n;size<<=1){const half=size>>1, step=n/size;
for(let i=0;i<n;i+=size){for(let j=0,k=0;j<half;j++,k+=step){
const c=cos[k], s=-sin[k], a=i+j, b=a+half;
const tr=re[b]*c-im[b]*s, ti=re[b]*s+im[b]*c;
re[b]=re[a]-tr; im[b]=im[a]-ti; re[a]+=tr; im[a]+=ti;}}}
};
}
const fft2048=makeFFT(N), fft1024=makeFFT(1024);
const HANN=new Float64Array(N); for(let i=0;i<N;i++) HANN[i]=0.5-0.5*Math.cos(2*Math.PI*i/(N-1));
const HANN1024=new Float64Array(1024); for(let i=0;i<1024;i++) HANN1024[i]=0.5-0.5*Math.cos(2*Math.PI*i/1023);
/* ---------------- small helpers ---------------- */
function rng(seed){let s=seed>>>0||1; return ()=>{s^=s<<13;s>>>=0;s^=s>>>17;s^=s<<5;s>>>=0;return (s>>>0)/4294967296;};}
function gauss(r){let u=0,v=0; while(u===0)u=r(); v=r(); return Math.sqrt(-2*Math.log(u))*Math.cos(2*Math.PI*v);}
function median(arr,n){const a=Array.prototype.slice.call(arr,0,n).sort((x,y)=>x-y); const m=n>>1; return n&1?a[m]:(a[m-1]+a[m])/2;}
function interp(arr,pos){const i=Math.floor(pos); if(i<0)return arr[0]; if(i>=arr.length-1)return arr[arr.length-1]; const f=pos-i; return arr[i]*(1-f)+arr[i+1]*f;}
function pink(st,w){st.b0=0.99765*st.b0+w*0.0990460; st.b1=0.96300*st.b1+w*0.2965164; st.b2=0.57000*st.b2+w*1.0526913; return bq(st.lp,st.b0+st.b1+st.b2+w*0.1848);}
function biquadHP(fc,fs,q){const w=2*Math.PI*fc/fs, c=Math.cos(w), s=Math.sin(w), a=s/(2*q);
const b0=(1+c)/2, b1=-(1+c), b2=(1+c)/2, a0=1+a, a1=-2*c, a2=1-a;
return {b0:b0/a0,b1:b1/a0,b2:b2/a0,a1:a1/a0,a2:a2/a0,x1:0,x2:0,y1:0,y2:0};}
function biquadLP(fc,fs,q){const w=2*Math.PI*fc/fs, c=Math.cos(w), s=Math.sin(w), a=s/(2*q);
const b0=(1-c)/2, b1=1-c, b2=(1-c)/2, a0=1+a, a1=-2*c, a2=1-a;
return {b0:b0/a0,b1:b1/a0,b2:b2/a0,a1:a1/a0,a2:a2/a0,x1:0,x2:0,y1:0,y2:0};}
function bq(f,x){const y=f.b0*x+f.b1*f.x1+f.b2*f.x2-f.a1*f.y1-f.a2*f.y2; f.x2=f.x1;f.x1=x;f.y2=f.y1;f.y1=y; return y;}
const dB=x=>10*Math.log10(Math.max(x,1e-30));
const amp=L=>Math.pow(10,(L-94)/20); // 94 dB SPL <-> 1.0 rms
/* ---------------- atmospheric absorption, ISO 9613-1 at 20 C, 50 % RH ---------------- */
const ABS_F=[63,125,250,500,1000,2000,4000,8000];
const ABS_A=[0.0001,0.0004,0.0010,0.0019,0.0037,0.0097,0.0328,0.117]; // dB per metre
function absorptionDbPerM(f){ if(f<=ABS_F[0]) return ABS_A[0]; if(f>=ABS_F[7]) return ABS_A[7];
let i=0; while(ABS_F[i+1]<f) i++;
const lf0=Math.log(ABS_F[i]), lf1=Math.log(ABS_F[i+1]), la0=Math.log(ABS_A[i]), la1=Math.log(ABS_A[i+1]);
return Math.exp(la0+(la1-la0)*(Math.log(f)-lf0)/(lf1-lf0)); }
/* ---------------- WORLD MODEL ---------------- */
const WORLD = {
droneLevel1m:76, singleMotorLevel1m:70, shaftFamily:0.08, // dB SPL, 125 to 1000 Hz band, at 1 m
washLevel1m:78, washCoherence:0.30, washDepth:0.95,
ambientBand:34, micNoiseBand:28, // dB SPL in band terms
windAnchorsV:[0,1.5,3.5,5,6.5,8,10,14], windAnchorsDb:[30,34,47,51,53,56,59,65], windUpwindDb:4,
speechLevel:64, engineLevel:64, trafficLevel:52, heliLevel300m:70, carPeak:66,
};
function windBandDb(v,upwind){const V=WORLD.windAnchorsV,D=WORLD.windAnchorsDb; let L;
if(v<=V[0]) L=D[0]; else if(v>=V[V.length-1]) L=D[D.length-1];
else {let i=0; while(V[i+1]<v)i++; L=D[i]+(D[i+1]-D[i])*(v-V[i])/(V[i+1]-V[i]);}
return L+(upwind?WORLD.windUpwindDb:0);}
function makeSynth(seed){
const r=rng(seed||7);
const S={
t:0, drone:{on:true, f0:423, dist:40, mode:'hover', speed:12, source:'quad', wander:0, spread:0.002},
wind:{v:2, upwind:false, gust:0},
speech:{on:false, dist:2, f0:150, voiced:true, segT:0, syll:4.5},
engine:{on:false, dist:25, f:25.4},
traffic:{on:false}, heli:{on:false,dist:300}, car:{on:false,t:0},
ph:new Float64Array(128), phS:new Float64Array(32),
washHP:[],washLP:[],windLP:[],ambLP:[],
engPh:new Float64Array(48), spPh:new Float64Array(48), hePh:new Float64Array(64), carPh:new Float64Array(48),
};
for(let c=0;c<4;c++){S.washHP.push([biquadHP(3000,FS,0.7),biquadHP(3000,FS,0.7)]);
S.washLP.push(biquadLP(8000,FS,0.7)); S.windLP.push({b0:0,b1:0,b2:0,lp:biquadLP(1500,FS,0.6)});
S.ambLP.push(biquadLP(1200,FS,0.7));}
S.washCommonHP=[biquadHP(3000,FS,0.7),biquadHP(3000,FS,0.7)]; S.washCommonLP=biquadLP(8000,FS,0.7);
S.ambCommonLP=biquadLP(1200,FS,0.7); S.trafLP=[biquadLP(120,FS,0.7),biquadLP(120,FS,0.7)];
S.rand=r;
S.diag={arrivingBand:0, noiseBand:0, toothSNR:0, harmonics:[]};
// --- self calibration: unit-gain band rms of each shaped noise, measured with the reporting band filter ---
const rr=rng(99);
const measure=(gen,lo,hi)=>{const f=[biquadHP(lo,FS,0.707),biquadHP(lo,FS,0.707),biquadLP(hi,FS,0.707),biquadLP(hi,FS,0.707)];
let acc=0,n=0; for(let i=0;i<16384;i++){let x=gen(); for(const q of f)x=bq(q,x); if(i>3000){acc+=x*x;n++;}} return Math.sqrt(acc/n);};
const wl={b0:0,b1:0,b2:0,lp:biquadLP(1500,FS,0.6)};
S.gWind=1/measure(()=>pink(wl,gauss(rr)),125,1000);
const al=biquadLP(1200,FS,0.7);
S.gAmb=1/measure(()=>bq(al,gauss(rr)),125,1000);
S.gMic=1/measure(()=>gauss(rr),125,1000);
const wh=[biquadHP(3000,FS,0.7),biquadHP(3000,FS,0.7)], wlp=biquadLP(8000,FS,0.7);
S.gWash=1/measure(()=>{let x=gauss(rr); x=bq(wh[0],x); x=bq(wh[1],x); return bq(wlp,x);},3000,7800);
return S;
}
/* one hop of four channels; returns [ch0..ch3] Float32Array(HOP) */
function synthHop(S,out){
const r=S.rand, d=Math.max(0.5,S.drone.dist), t0=S.t;
// drone comb: blade pass family (k*f0) + shaft family (n*f0/3, n not multiple of 3)
S.drone.wander+= (r()-0.5)*0.0006; S.drone.wander=Math.max(-0.01,Math.min(0.01,S.drone.wander))*0.995;
if(S._prevDist===undefined)S._prevDist=d; let vr=(S._prevDist-d)/FRAME; S._prevDist=d; vr=Math.max(-40,Math.min(40,vr)); S.diag.vRadial=vr;
const f0=S.drone.f0*(1+S.drone.wander)*(1+vr/343), fsh=f0/3, rpmSpread=S.drone.spread||0.005;
if(!S.motorJit){S.motorJit=[0,0,0,0]; S.motorAmp=[1.0,0.86,0.93,0.78]; S.motorPh=[0,1.9,3.7,5.1];}
for(let m=0;m<4;m++){S.motorJit[m]+=(r()-0.5)*0.0012; S.motorJit[m]=Math.max(-0.004,Math.min(0.004,S.motorJit[m]))*0.98;}
S.motorOff=[-1.5,-0.5,0.5,1.5].map((x,m)=>x*rpmSpread/1.5+S.motorJit[m]);
const nMot=S.drone.source==='quad'?4:1;
const L1=(S.drone.source==='quad'?WORLD.droneLevel1m:WORLD.singleMotorLevel1m);
const harm=[]; let norm=0;
for(let m=0;m<nMot;m++){const fm=f0*(1+(nMot>1?S.motorOff[m]:0)), fs=fm/3, g=(nMot>1?S.motorAmp[m]:1)/Math.sqrt(nMot);
for(let k=1;k<=6;k++){const f=k*fm; if(f>7500)break; harm.push({f,a:g*Math.pow(k,-1.2)});}
for(let n=1;n<=5;n++){ if(n%3===0)continue; const f=n*fs; if(f>7500)break; harm.push({f,a:g*WORLD.shaftFamily*Math.pow(n/3,-1.2)});}}
for(const h of harm) if(h.f>=125&&h.f<=1000) norm+=h.a*h.a;
norm=Math.sqrt(norm);
const spread=20*Math.log10(d);
let arriving=0;
for(let i=0;i<harm.length;i++){const h=harm[i];
const Lh=L1+20*Math.log10(h.a/norm)-spread-absorptionDbPerM(h.f)*d;
h.A=S.drone.on?amp(Lh)*Math.SQRT2*1.55:0; h.L=Lh;
if(h.f>=125&&h.f<=1000&&S.drone.on) arriving+=Math.pow(10,Lh/10);}
S.diag.arrivingBand=arriving>0?dB(arriving):-99; S.diag.harmonics=harm.map(h=>({f:h.f,L:h.L}));
// wash: high band noise, AM at shaft rate and blade rate
const Lw=WORLD.washLevel1m-spread-absorptionDbPerM(5000)*d;
const washA=S.drone.on?amp(Lw)*S.gWash:0;
// environment levels (dB SPL, in band)
S.wind.gust+= (r()-0.5)*0.04; S.wind.gust*=0.997; S.wind.gust=Math.max(-3,Math.min(3,S.wind.gust));
const Lwind=windBandDb(S.wind.v,S.wind.upwind)+S.wind.gust;
const windA=amp(Lwind)*S.gWind, ambA=amp(WORLD.ambientBand)*S.gAmb, micA=amp(WORLD.micNoiseBand)*S.gMic;
const Lsp=WORLD.speechLevel-20*Math.log10(Math.max(0.5,S.speech.dist)), spA=S.speech.on?amp(Lsp)*1.4:0;
const Leng=WORLD.engineLevel-20*Math.log10(Math.max(1,S.engine.dist)/10), engA=S.engine.on?amp(Leng)*0.9:0;
const trA=S.traffic.on?amp(WORLD.trafficLevel)*5:0;
const heA=S.heli.on?amp(WORLD.heliLevel300m-20*Math.log10(Math.max(50,S.heli.dist)/300))*0.35:0;
if(S.car.on){S.car.t+=HOP/FS; if(S.car.t>12)S.car.t=0;} const carEnv=S.car.on?Math.exp(-Math.pow((S.car.t-6)/2.2,2)):0;
const carRpm=28+14*Math.sin(Math.PI*Math.min(1,S.car.t/12)); const carA=S.car.on?amp(WORLD.carPeak)*carEnv*0.5:0;
// noise bookkeeping for the readout (band level at one mic, wind + ambient + mic)
S.diag.noiseBand=dB(Math.pow(10,Lwind/10)+Math.pow(10,WORLD.ambientBand/10)+Math.pow(10,WORLD.micNoiseBand/10));
// speech state machine (f0 walk 110 to 230, syllabic AM 3 to 6 Hz, voiced 200 to 400 ms, pause 100 to 300 ms)
// engine: steady firing comb at ~25 Hz with slow drift
S.engine.f+= (r()-0.5)*0.01; S.engine.f=Math.max(24,Math.min(27,S.engine.f));
for(let i=0;i<HOP;i++){
const t=(t0+i)/FS;
// coherent drone comb
let comb=0;
for(let k=0;k<harm.length;k++){const h=harm[k]; S.ph[k]+=2*Math.PI*h.f/FS; if(S.ph[k]>6.283185307)S.ph[k]-=6.283185307; comb+=h.A*Math.sin(S.ph[k]);}
// wash carrier, modulated
let mod=1; for(let m=0;m<nMot;m++){const fm=f0*(1+(nMot>1?S.motorOff[m]:0)), pa=Math.pow(0.5+0.5*Math.cos(2*Math.PI*fm/3*t+S.motorPh[m]),3)-0.3125, pb=Math.pow(0.5+0.5*Math.cos(2*Math.PI*fm*t),3)-0.3125; mod+=WORLD.washDepth/nMot*2.2*(0.65*pa+0.35*pb);}
let wc=gauss(r); wc=bq(S.washCommonHP[0],wc); wc=bq(S.washCommonHP[1],wc); wc=bq(S.washCommonLP,wc);
// ambient common
let ac=bq(S.ambCommonLP,gauss(r));
// speech
let sp=0;
if(S.speech.on){
S.speech.segT-=1/FS;
if(S.speech.segT<=0){ S.speech.voiced=!S.speech.voiced; S.speech.segT=S.speech.voiced?0.2+0.2*r():0.1+0.2*r();
if(S.speech.voiced){S.speech.f0=110+120*r(); S.speech.syll=3+3*r(); S.speech.glide=(r()-0.5)*0.3; S.speech.segLen=S.speech.segT;} }
if(S.speech.voiced){const prog=1-S.speech.segT/S.speech.segLen; const fv=S.speech.f0*(1+S.speech.glide*prog+0.02*Math.sin(2*Math.PI*5.5*t)); const am=0.55+0.45*Math.sin(2*Math.PI*S.speech.syll*t);
for(let n=1;n<=14;n++){const f=n*fv; S.spPh[n]+=2*Math.PI*f/FS; if(S.spPh[n]>6.283185307)S.spPh[n]-=6.283185307;
const form=Math.exp(-Math.pow((f-550)/300,2))+0.6*Math.exp(-Math.pow((f-1500)/400,2))+0.15;
sp+=form*Math.pow(n,-0.6)*Math.sin(S.spPh[n]);}
sp*=am*spA*0.4; }
}
// engine
let eng=0;
if(S.engine.on){for(let n=1;n<=40;n++){const f=n*S.engine.f; if(f>1600)break; S.engPh[n]+=2*Math.PI*f/FS; if(S.engPh[n]>6.283185307)S.engPh[n]-=6.283185307;
eng+=Math.pow(n,-0.7)*Math.sin(S.engPh[n]);} eng=eng*engA*0.25+gauss(r)*engA*0.08;}
// traffic
let tr=0; if(S.traffic.on){tr=gauss(r); tr=bq(S.trafLP[0],tr); tr=bq(S.trafLP[1],tr); tr*=trA*(1+0.3*Math.sin(2*Math.PI*0.13*t));}
let he=0; if(S.heli.on){for(let n=1;n<=40;n++){const f=n*10.8; S.hePh[n]+=2*Math.PI*f/FS; if(S.hePh[n]>6.283185307)S.hePh[n]-=6.283185307; he+=Math.pow(n,-0.55)*Math.sin(S.hePh[n]);}
for(let n=1;n<=10;n++){const f=n*44; S.hePh[40+n]+=2*Math.PI*f/FS; if(S.hePh[40+n]>6.283185307)S.hePh[40+n]-=6.283185307; he+=0.25*Math.pow(n,-0.7)*Math.sin(S.hePh[40+n]);}
S.hePh[62]+=2*Math.PI*2950/FS; if(S.hePh[62]>6.283185307)S.hePh[62]-=6.283185307; he+=0.06*Math.sin(S.hePh[62]); he=he*heA+gauss(r)*heA*0.35;}
let car=0; if(S.car.on&&carEnv>0.01){for(let n=1;n<=30;n++){const f=n*carRpm; if(f>1300)break; S.carPh[n]+=2*Math.PI*f/FS; if(S.carPh[n]>6.283185307)S.carPh[n]-=6.283185307; car+=Math.pow(n,-0.8)*Math.sin(S.carPh[n]);}
car=car*carA*0.3+gauss(r)*carA*0.25;}
const common=comb+sp+eng+tr+he+car;
for(let c=0;c<4;c++){
let w=pink(S.windLP[c],gauss(r))*windA;
let wi=gauss(r); wi=bq(S.washHP[c][0],wi); wi=bq(S.washHP[c][1],wi); wi=bq(S.washLP[c],wi);
const wash=(Math.sqrt(WORLD.washCoherence)*wc+Math.sqrt(1-WORLD.washCoherence)*wi)*mod*washA;
const ambi=bq(S.ambLP[c],gauss(r));
const amb=(0.707*ac+0.707*ambi)*ambA;
out[c][i]=common+wash+w+amb+gauss(r)*micA;
}
}
S.t+=HOP;
if(S.drone.mode==='approach'&&S.drone.on){S.drone.dist-=S.drone.speed*FRAME; if(S.drone.dist<2)S.drone.dist=200;}
}
/* ---------------- FRONT END: coherent sum, windowed FFT ---------------- */
function makeFrontEnd(){
const win=new Float64Array(N), re=new Float64Array(N), im=new Float64Array(N);
const mag=new Float64Array(NB), sum=new Float64Array(N);
return { mag, sum,
push(ch){ // ch: 4 x Float32Array(HOP). slide window by HOP, sum channels
sum.copyWithin(0,HOP);
for(let i=0;i<HOP;i++) sum[N-HOP+i]=ch[0][i]+ch[1][i]+ch[2][i]+ch[3][i];
for(let i=0;i<N;i++){re[i]=sum[i]*HANN[i]; im[i]=0;}
fft2048(re,im);
for(let b=0;b<NB;b++) mag[b]=Math.hypot(re[b],im[b]);
return mag; } };
}
/* ---------------- comb score shared by tier 1 and tier 2 ---------------- */
function combScore(S,f0lo,f0hi,bandHi,outScores,bLo,bHi){
// row normalisation: centre each row on its null mean (median of S over the band) and scale to unit null variance
let mu=0; { const n=bHi-bLo+1; const tmp=new Float64Array(n); for(let i=0;i<n;i++)tmp[i]=S[bLo+i]; mu=median(tmp,n); }
let best=-1e9,bestF=f0lo;
for(let f0=f0lo;f0<=f0hi;f0++){
let st=0,sg=0,wt=0,wg=0,ww=0;
for(let k=1;;k++){const f=k*f0; if(f>bandHi)break; const w=1/Math.sqrt(k);
st+=w*interp(S,f/BINHZ); wt+=w; ww+=w*w;
const g=(k+0.5)*f0; if(g<=bandHi){sg+=w*interp(S,g/BINHZ); wg+=w; ww+=w*w;}}
const sc=(st-sg-mu*(wt-wg))/Math.sqrt(ww);
if(outScores) outScores[f0-f0lo]=sc;
if(sc>best){best=sc;bestF=f0;}
}
return {f0:bestF,score:best,mu};
}
/* family continuity: a three-blade rotor puts energy at f0, f0/3 and 2f0, so the tracker
accepts the documented family set {1, 2, 3, 1/2, 1/3} rather than octaves alone. */
const FAMILY=[1,2,3,0.5,1/3];
function continuous(f,ftrack,frac,minHz){
for(const rr of FAMILY){const t=ftrack*rr, tol=Math.max(frac*t,minHz); if(Math.abs(f-t)<=tol) return rr;}
return 0;}
/* ---------------- TIER 1, the sealed comb detector ---------------- */
function makeTier1(cfg){
const floor=new Float64Array(NB), S=new Float64Array(NB), scores=new Float64Array(cfg.f0hi-cfg.f0lo+1), lvl=new Float64Array(NB);
const aUp=Math.exp(-FRAME/cfg.tauRise), aFast=Math.exp(-FRAME/cfg.tauFast), aDn=Math.exp(-FRAME/cfg.tauFall), aLvl=Math.exp(-FRAME/0.25);
const bLo=Math.round(cfg.f0lo/BINHZ), bHi=Math.round(cfg.bandHi/BINHZ);
const T={floor,S,scores,thr:cfg.thrHigh,init:false,flat:0,tonal:false,f0:0,score:0,hot:false,
chain:0,fTrack:0,chainF0:[],jitter:0,fired:false,fireCount:0,lastFireT:-1e9,gate:''};
T.step=function(mag,t,suppress){
if(!T.init){floor.set(mag); lvl.set(mag); T.init=true;}
for(let b=0;b<NB;b++) lvl[b]=aLvl*lvl[b]+(1-aLvl)*mag[b];
// spectral flatness over the comb band gates the floor: broadband frames update fast
let lg=0,ar=0,n=0; for(let b=bLo;b<=bHi;b++){const p=mag[b]*mag[b]+1e-18; lg+=Math.log(p); ar+=p; n++;}
T.flat=Math.exp(lg/n)/(ar/n); T.tonal=T.flat<cfg.flatGate;
const up=T.tonal?aUp:aFast;
// fast fall only for a real drop (a transient ending), otherwise the slow constant both ways, so the
// floor sits on the mean level instead of ratcheting down onto the scatter
for(let b=0;b<NB;b++){const m=lvl[b], f=floor[b]; const a=(m<0.6*f)?aDn:up; floor[b]=a*f+(1-a)*m;}
for(let b=0;b<NB;b++) S[b]=Math.min(Math.log1p(mag[b]/(floor[b]+1e-9)),cfg.satLog);
const r=combScore(S,cfg.f0lo,cfg.f0hi,cfg.bandHi,scores,bLo,bHi); T.f0=r.f0; T.score=r.score; T.mu=r.mu;
T.hot=T.score>=T.thr; T.fired=false; T.gate='';
if(T.hot){
const c=T.chain>0?continuous(T.f0,T.fTrack,cfg.contFrac,cfg.contMinHz):0;
if(T.chain>0&&c){T.chain++; if(c===1)T.fTrack=T.f0; T.chainF0.push(T.f0/c);}
else{T.chain=1;T.fTrack=T.f0;T.chainF0=[T.f0];}
if(T.chainF0.length>cfg.chain)T.chainF0.shift();
const fs=T.chainF0; let mean=0; for(const v of fs)mean+=v; mean/=fs.length;
let vr=0; for(const v of fs)vr+=(v-mean)*(v-mean); vr/=fs.length;
T.jitter=fs.length>1?Math.sqrt(vr)/mean:0;
if(T.chain>=cfg.chain){
// family-normalise into the alert band: a three-blade rotor can lock the tracker
// on f0/3, and the alert carries the blade rate, not the shaft rate
let fA=T.fTrack; if(fA<cfg.fAlertLo){ if(fA*3>=cfg.fAlertLo&&fA*3<=cfg.f0hi)fA*=3; else if(fA*2>=cfg.fAlertLo)fA*=2; }
T.fAlert=fA;
if(fA<cfg.fAlertLo) T.gate='below 200 Hz alert floor';
else if(T.jitter>cfg.jitterGate) T.gate='jitter gate';
else if(!suppress){T.fired=true;T.fireCount++;T.lastFireT=t;T.gate='FIRE';}
else T.gate='held, outputs active';
}
} else {T.chain=0;T.chainF0=[];T.jitter=0;}
return T; };
return T;
}
/* ---------------- TIER 2, slow floor, priority band, M of N ---------------- */
function makeTier2(cfg){
const floor=new Float64Array(NB), S=new Float64Array(NB), scores=new Float64Array(cfg.f0hi-cfg.f0lo+1), lvl=new Float64Array(NB);
const aUp=Math.exp(-FRAME/cfg.tauRise), aDn=Math.exp(-FRAME/cfg.tauFall), aLvl=Math.exp(-FRAME/0.25), aWarm=Math.exp(-FRAME/0.5);
const ring=new Uint8Array(cfg.N2);
const T={floor,S,scores,thr:cfg.thr,init:false,f0:0,score:0,hit:false,hits:0,ringPos:0,ring,
fTrack:0,trackAge:0,nonHit:0,latched:false,belowCount:0,fired:false,fireCount:0,warm:false,reason:''};
T.step=function(mag,t,suppress){
if(!T.init){floor.set(mag);lvl.set(mag);T.init=true;}
// during the documented 4 s warm-up the floor converges quickly onto the site level; after that it rises at 30 s
const upNow=(t>=cfg.warmup)?aUp:aWarm;
for(let b=0;b<NB;b++){lvl[b]=aLvl*lvl[b]+(1-aLvl)*mag[b]; const m=lvl[b],f=floor[b]; const a=(m<0.6*f)?aDn:upNow; floor[b]=a*f+(1-a)*m;}
for(let b=0;b<NB;b++) S[b]=Math.min(Math.log1p(mag[b]/(floor[b]+1e-9)),cfg.satLog);
const r=combScore(S,cfg.f0lo,cfg.f0hi,cfg.bandHi,scores,Math.round(cfg.f0lo/BINHZ),Math.round(cfg.bandHi/BINHZ)); T.f0=r.f0;T.score=r.score;T.mu=r.mu;
T.warm=t>=cfg.warmup;
let hit=false;
if(T.score>=T.thr&&T.warm){
if(T.trackAge===0){T.fTrack=T.f0;hit=true;}
else{const c=continuous(T.f0,T.fTrack,0.02,12); if(c){hit=true; if(c===1)T.fTrack=T.f0;}}
/* a frame that wins on a different rate is simply not a hit. the track itself only
dies after the documented 16 non-hits, so the 63-frame ring is never wiped early */
}
if(hit){T.nonHit=0;T.trackAge++;} else {T.nonHit++; if(T.nonHit>cfg.gap&&T.trackAge>0){T.trackAge=0;ring.fill(0);T.hits=0;}}
// ring of last N2 hit flags
T.hits-=ring[T.ringPos]; ring[T.ringPos]=hit?1:0; T.hits+=ring[T.ringPos]; T.ringPos=(T.ringPos+1)%cfg.N2;
T.hit=hit; T.fired=false; T.reason=!T.warm?'warming up':'';
if(!T.latched&&T.hits>=cfg.M2){ if(!suppress){T.latched=true;T.fired=true;T.fireCount++;T.belowCount=0;T.reason='FIRE';} else T.reason='held, outputs active';}
else if(T.latched){ if(T.hits<cfg.M2/2){T.belowCount++; if(T.belowCount>=cfg.closeFrames){T.latched=false;}} else T.belowCount=0; T.reason='latched'; }
return T; };
return T;
}
/* ---------------- TIER 3, envelope wash ---------------- */
function makeTier3(cfg){
const chHP=[],chLP=[]; const aS=Math.exp(-2*Math.PI*cfg.smoothHz/FS);
for(let c=0;c<4;c++){chHP.push([biquadHP(cfg.hpHz,FS,0.54),biquadHP(cfg.hpHz,FS,0.707),biquadHP(cfg.hpHz,FS,1.31)]); chLP.push([0,0,0]);}
const env=new Float64Array(cfg.envN); let envPos=0; const re=new Float64Array(1024), im=new Float64Array(1024);
const psd=new Float64Array(513), prom=new Float64Array(513), W=new Float64Array(cfg.gridHi-cfg.gridLo+1);
const ring=new Uint8Array(cfg.N3); let ringPos=0;
const T={env,envPos:0,psd,prom,W,rate:0,Wbest:0,above:false,hits:0,rTrack:0,fired:false,fireCount:0,latched:false,frameCount:0,frozen:false,hbLevel:0};
T.pushHop=function(ch){ // per channel: HP, square, three 1-pole smoothers, decimate by 8; channel averaged envelope
let acc=0;
for(let i=0;i<HOP;i++){let e=0;
for(let c=0;c<4;c++){let x=ch[c][i]; const h=chHP[c]; x=bq(h[0],x);x=bq(h[1],x);x=bq(h[2],x); x=x*x; const l=chLP[c];
l[0]=aS*l[0]+(1-aS)*x; l[1]=aS*l[1]+(1-aS)*l[0]; l[2]=aS*l[2]+(1-aS)*l[1]; e+=l[2];}
e*=0.25; acc+=e;
if((i&7)===7){env[envPos]=e; envPos=(envPos+1)%cfg.envN;}}
T.hbLevel=dB(acc/HOP)+94; T.envPos=envPos; };
T.update=function(t,suppress){ // every 128 ms
T.fired=false; // a fire is one update wide, never carried through a freeze
T.frameCount++; if(T.frameCount%cfg.updateEvery!==0) return T;
if(T.frozen) return T;
let mean=0; for(let i=0;i<1024;i++)mean+=env[(envPos+i)%cfg.envN]; mean/=1024;
for(let i=0;i<1024;i++){re[i]=(env[(envPos+i)%cfg.envN]-mean)*HANN1024[i]; im[i]=0;}
fft1024(re,im);
for(let b=0;b<513;b++) psd[b]=re[b]*re[b]+im[b]*im[b]+1e-24;
// whiten across frequency by local median (bins 3..12 away, both sides), 2 kHz / 1024 = 1.953 Hz per bin
const tmp=new Float64Array(48);
for(let b=0;b<513;b++){let n=0; for(let d=6;d<=24;d++){const l=b-d,rr=b+d; if(l>=0)tmp[n++]=psd[l]; if(rr<513)tmp[n++]=psd[rr];}
prom[b]=n?10*Math.log10(psd[b]/median(tmp,n)):0;}
const bw=2000/1024; let best=-1e9,bestR=cfg.gridLo;
for(let rate=cfg.gridLo;rate<=cfg.gridHi;rate++){let w=0;
for(let k=1;k<=cfg.kmax;k++){const f=k*rate; if(f>990)break; w+=Math.min(interp(prom,f/bw),cfg.toothCap)/k;}
W[rate-cfg.gridLo]=w; if(w>best){best=w;bestR=rate;}}
T.Wbest=best; T.rate=bestR;
const inFire=bestR>=cfg.fireLo&&bestR<=cfg.fireHi;
let hit=false;
if(best>=cfg.thr&&inFire){ if(T.rTrack===0||Math.abs(bestR-T.rTrack)<=cfg.contFrac*T.rTrack){hit=true;T.rTrack=bestR;} else {T.rTrack=bestR; ring.fill(0);T.hits=0;hit=true;} }
else if(T.rTrack>0&&Math.abs(bestR-T.rTrack)>cfg.contFrac*T.rTrack){ /* rate moved off */ }
T.hits-=ring[ringPos]; ring[ringPos]=hit?1:0; T.hits+=ring[ringPos]; ringPos=(ringPos+1)%cfg.N3;
T.above=hit; T.fired=false;
if(!T.latched&&T.hits>=cfg.M3){ if(!suppress){T.latched=true;T.fired=true;T.fireCount++;} }
else if(T.latched&&T.hits<cfg.M3/2) T.latched=false;
return T; };
return T;
}
/* ---------------- TIER 4, slow comb: Welch median PSD, whitened across frequency ---------------- */
function makeTier4(cfg){
const F=cfg.welchFrames, hist=new Float64Array(F*NB); let hpos=0, filled=0;
const psd=new Float64Array(NB), prom=new Float64Array(NB), W=new Float64Array(cfg.gridHi-cfg.gridLo+1);
const col=new Float64Array(F), tmp=new Float64Array(64);
const ring=new Uint8Array(cfg.fireN); let ringPos=0;
const T={psd,prom,W,f0:0,Wbest:0,above:false,hits:0,miss:0,fTrack:0,fired:false,fireCount:0,latched:false,frameCount:0,frozen:false,ready:false,family:1};
T.pushMag=function(mag){ if(T.frozen) return; const base=hpos*NB; for(let b=0;b<NB;b++) hist[base+b]=mag[b]*mag[b]; hpos=(hpos+1)%F; if(filled<F)filled++; };
T.update=function(t,suppress){
T.fired=false; // same: never carried through a freeze
T.frameCount++; if(T.frameCount%cfg.updateEvery!==0) return T;
if(T.frozen||filled<F) {T.ready=filled>=F; return T;}
T.ready=true;
const bLo=Math.max(1,Math.floor(cfg.gridLo/BINHZ)), bHi=Math.min(NB-1,Math.ceil(cfg.toothMaxHz/BINHZ)+30);
for(let b=bLo;b<=bHi;b++){for(let i=0;i<F;i++)col[i]=hist[i*NB+b]; psd[b]=median(col,F);}
for(let b=bLo;b<=bHi;b++){let n=0; for(let d=cfg.medLo;d<=cfg.medHi;d++){const l=b-d,r=b+d; if(l>=bLo)tmp[n++]=psd[l]; if(r<=bHi)tmp[n++]=psd[r];}
prom[b]=n?10*Math.log10(psd[b]/median(tmp,n)):0;}
let best=-1e9,bestF=cfg.gridLo;
for(let f0=cfg.gridLo;f0<=cfg.gridHi;f0++){let w=0;
for(let k=1;k<=cfg.kmax;k++){const f=k*f0; if(f>cfg.toothMaxHz)break; w+=Math.min(interp(prom,f/BINHZ),cfg.toothCap)/Math.sqrt(k);}
W[f0-cfg.gridLo]=w; if(w>best){best=w;bestF=f0;}}
T.Wbest=best; T.f0=bestF;
const above=best>=cfg.thr; let hit=false;
if(above){
if(T.fTrack===0){T.fTrack=bestF;hit=true;T.family=1;}
else{ let ok=false; for(const ratio of [1,2,3,0.5,1/3]){ if(Math.abs(bestF/ratio-T.fTrack)<=cfg.contFrac*T.fTrack){ok=true;T.family=ratio;break;} }
if(ok)hit=true; else {T.fTrack=bestF;ring.fill(0);T.hits=0;hit=true;T.family=1;} }
}
T.hits-=ring[ringPos]; ring[ringPos]=hit?1:0; T.hits+=ring[ringPos]; ringPos=(ringPos+1)%cfg.fireN;
T.miss=hit?0:T.miss+1; T.above=hit; T.fired=false;
if(!T.latched&&T.hits>=cfg.fireM){ if(!suppress){T.latched=true;T.fired=true;T.fireCount++;} }
else if(T.latched&&T.miss>=cfg.releaseMiss){T.latched=false;T.fTrack=0;}
return T; };
return T;
}
/* ---------------- the whole device ---------------- */
function makeDevice(opts){
const cfg=JSON.parse(JSON.stringify(CFG)); if(opts&&opts.thr){cfg.t1.thrHigh=opts.thr;}
const fe=makeFrontEnd(), t1=makeTier1(cfg.t1), t2=makeTier2(cfg.t2), t3=makeTier3(cfg.t3), t4=makeTier4(cfg.t4);
const D={cfg,fe,t1,t2,t3,t4,t:0,frame:0,alert:false,alertUntil:-1,alertTier:'',alertF0:0,alertScore:0,seq:0,
firstSoundT:-1,lastAlertT:-1,alertLatency:null,freezeUntil:-1,events:[]};
D.step=function(ch,droneOn){
D.t=D.frame*FRAME;
const mag=fe.push(ch);
const outputsOn=D.t<D.alertUntil, frozen=D.t<D.freezeUntil;
t3.frozen=frozen; t4.frozen=frozen;
t1.step(mag,D.t,outputsOn); t2.step(mag,D.t,outputsOn);
t3.pushHop(ch); t3.update(D.t,outputsOn);
t4.pushMag(mag); t4.update(D.t,outputsOn);
if(droneOn&&D.firstSoundT<0) D.firstSoundT=D.t; if(!droneOn) D.firstSoundT=-1;
let fireTier='';
if(t1.fired)fireTier='T1'; else if(t2.fired)fireTier='T2'; else if(t3.fired)fireTier='T3'; else if(t4.fired&&cfg.t4.enabled)fireTier='T4';
if(fireTier&&!outputsOn){
D.alert=true; D.alertUntil=D.t+cfg.alert.holdS; D.freezeUntil=D.alertUntil+cfg.alert.freezeTailS;
D.alertTier=fireTier; D.seq++; D.lastAlertT=D.t;
D.alertF0=fireTier==='T1'?(t1.fAlert||t1.fTrack):fireTier==='T2'?t2.fTrack:fireTier==='T3'?t3.rate:t4.fTrack;
D.alertScore=fireTier==='T1'?t1.score:fireTier==='T2'?t2.score:fireTier==='T3'?t3.Wbest:t4.Wbest;
D.alertLatency=D.firstSoundT>=0?D.t-D.firstSoundT:null;
D.events.push({t:D.t,tier:fireTier,f0:D.alertF0,score:D.alertScore});
if(D.events.length>50)D.events.shift();
}
D.alert=D.t<D.alertUntil; D.frame++;
return D; };
return D;
}
const API={CFG,WORLD,FS,N,HOP,NB,BINHZ,FRAME,makeSynth,synthHop,makeDevice,absorptionDbPerM,windBandDb,dB,amp};
if(typeof module!=='undefined'&&module.exports) module.exports=API; else root.VolAntiSim=API;
})(typeof window!=='undefined'?window:globalThis);
</script>
<script>(function(){
const E=window.VolAntiSim, FS=E.FS, HOP=E.HOP, NB=E.NB, BINHZ=E.BINHZ, FRAME=E.FRAME;
const $=id=>document.getElementById(id);
const MONO="11px 'IBM Plex Mono', monospace";
const WX=150, WZ=70, DEVX=138, DEVZ=1.6; // world: metres
// a 7 inch airframe trailing a fibre spool: about 6 m/s at idle, 28 m/s flat out
const vmaxX=()=>6+(throttle-30)/70*22, vmaxZ=()=>2.5+(throttle-30)/70*7;
let RATE=1, dashT=0, present=true, takeoffAt=-1, startAlt=0, phase='', arriveAt=-1;
let S,D,out,armT=4, listening=false, tpl='hover', dragging=false, lastTap=0;
const drone={x:122,z:11,tx:122,tz:11,vx:0,vz:0,px:122,pz:11};
const snd={speech:false,car:false,gen:false};
let throttle=50, wind=2;
function fresh(){ S=E.makeSynth((Math.random()*1e9)|0); D=E.makeDevice(); out=[0,1,2,3].map(()=>new Float32Array(HOP)); armT=4; apply(); }
function apply(){
S.drone.on=present&&armT<=0&&D.t>=arriveAt; S.drone.source='quad'; S.drone.mode='hover'; S.drone.spread=0.002;
S.drone.f0=330+throttle*1.86; E.WORLD.droneLevel1m=76+(throttle-50)/50*5;
S.wind.v=wind; S.wind.upwind=false;
S.speech.on=snd.speech&&armT<=0; S.speech.dist=6; S.car.on=snd.car&&armT<=0; S.heli.on=false; S.engine.on=snd.gen&&armT<=0; S.engine.dist=20; S.traffic.on=false;
}
function dist(){ return Math.hypot(DEVX-drone.x, drone.z-DEVZ); }
/* ---------- flight ---------- */
function flyTemplate(){
if(dragging||!present) return;
const t=D.t;
if(phase==='climb'){ drone.tx=drone.x; drone.tz=startAlt; if(drone.z>=startAlt-0.5) phase=''; return; }
if(tpl==='hover'){ drone.tx=drone.x; drone.tz=drone.z; }
else if(tpl==='approach'){ if(drone.x>130){drone.tx=2;drone.tz=34;} else {drone.tx=130;drone.tz=18;} }
else if(tpl==='flypast'){ if(drone.x>=146){drone.x=2;drone.z=30;} drone.tx=148; drone.tz=30; }
else if(tpl==='climb'){ drone.tx=14; drone.tz=62; if(drone.z>=60&&drone.x<=18){drone.x=124;drone.z=10;} }
}
function moveDrone(){
drone.px=drone.x; drone.pz=drone.z;
if(!present){ drone.z=1; drone.pz=1; return; }
const dx=drone.tx-drone.x, dz=drone.tz-drone.z;
if(dashT>0){dashT-=FRAME; if(Math.hypot(dx,dz)<1.5)dashT=0;}
const vx=dashT>0?110:vmaxX(), vz=dashT>0?70:vmaxZ();
const stepX=Math.max(-vx*FRAME,Math.min(vx*FRAME,dx)), stepZ=Math.max(-vz*FRAME,Math.min(vz*FRAME,dz));
drone.vx=stepX/FRAME; drone.vz=stepZ/FRAME;
drone.x+=stepX; drone.z+=stepZ;
drone.x=Math.max(0,Math.min(WX-4,drone.x)); drone.z=Math.max(1,Math.min(WZ-2,drone.z));
S.drone.dist=dist();
}
/* ---------- step ---------- */
function stepOne(){
if(armT>0){armT-=FRAME; if(armT<=0){armT=0;apply();}}
if(takeoffAt>0&&D.t>=takeoffAt){takeoffAt=-1; present=true; $('fly').classList.add('on'); $('fly').textContent='Land'; apply();}
if(arriveAt>0&&D.t>=arriveAt){arriveAt=-1; apply();}
flyTemplate(); moveDrone();
E.synthHop(S,out); D.step(out,S.drone.on);
if(listening) audioPush();
}
let actx=null,nextT=0,VOL=0.45;
function audioPush(){ if(!actx)return; const buf=actx.createBuffer(1,HOP,FS),ch=buf.getChannelData(0);
const g=160*VOL/0.45;
for(let i=0;i<HOP;i++){ch[i]=Math.tanh((out[0][i]+out[1][i]+out[2][i]+out[3][i])*0.25*g);}
const src=actx.createBufferSource(); src.buffer=buf; src.connect(actx.destination); const now=actx.currentTime; if(nextT<now+0.02)nextT=now+0.06; src.start(nextT); nextT+=HOP/FS; }
/* ---------- canvases ---------- */
function cv(id){const c=$(id);return{c,g:c.getContext('2d'),w:0,h:0};}
const P={scene:cv('cScene'),mics:cv('cMics'),sum:cv('cSum'),spec:cv('cSpec'),score:cv('cScore')};
function fit(p,fixedH){const r=p.c.getBoundingClientRect(),d=devicePixelRatio||1; const w=r.width,h=fixedH||r.height;
if(p.c.width!==Math.round(w*d)||p.c.height!==Math.round(h*d)){p.c.width=Math.round(w*d);p.c.height=Math.round(h*d);} p.w=w;p.h=h;p.g.setTransform(d,0,0,d,0,0);p.g.clearRect(0,0,w,h);}
function txt(g,s,x,y,col,font,al){g.fillStyle=col;g.font=font||MONO;g.textAlign=al||'left';g.fillText(s,x,y);}
function line(g,pts,col,w,dash){g.strokeStyle=col;g.lineWidth=w||1.2;g.setLineDash(dash||[]);g.beginPath();for(let i=0;i<pts.length;i+=2){i?g.lineTo(pts[i],pts[i+1]):g.moveTo(pts[0],pts[1]);}g.stroke();g.setLineDash([]);}
const dbOf=m=>20*Math.log10(m+1e-12);
/* ---------- scene ---------- */
let specMin=-70,specMax=10, windPh=0;
function sx(x){return 30+(P.scene.w-60)*x/WX;} function sz(z){return P.scene.h-54-(P.scene.h-112)*z/WZ;}
let clockT=0;
function drawScene(){
const p=P.scene,g=p.g,W=p.w,H=p.h; const gy=sz(0);
// distant hills and a treeline, so the field reads as a place
g.fillStyle='#DDE4E4'; g.beginPath(); g.moveTo(0,gy);
for(let x=0;x<=W;x+=20) g.lineTo(x, gy-34-22*Math.sin(x/230)-12*Math.sin(x/61));
g.lineTo(W,gy); g.closePath(); g.fill();
g.fillStyle='#D5DCD6'; g.beginPath(); g.moveTo(0,gy);
for(let x=0;x<=W;x+=20) g.lineTo(x, gy-16-10*Math.sin(x/140+1.4));
g.lineTo(W,gy); g.closePath(); g.fill();
g.fillStyle='#D9D5C7'; g.fillRect(0,gy,W,H-gy);
g.strokeStyle='#BFBBAB'; g.beginPath(); g.moveTo(0,gy); g.lineTo(W,gy); g.stroke();
g.fillStyle='#CFCBBB'; for(let i=0;i<70;i++){const x=(i*137)%W, y=gy+6+((i*53)%(H-gy-16)); g.fillRect(x,y,7,1.6);}
// village behind the unit
const vx=sx(DEVX)+34;
g.fillStyle='#C9C5B5'; g.fillRect(vx,gy-24,30,24); g.beginPath(); g.moveTo(vx-3,gy-24); g.lineTo(vx+15,gy-36); g.lineTo(vx+33,gy-24); g.closePath(); g.fill();
g.fillStyle='#D2CEBE'; g.fillRect(vx+34,gy-18,24,18); g.beginPath(); g.moveTo(vx+31,gy-18); g.lineTo(vx+46,gy-28); g.lineTo(vx+61,gy-18); g.closePath(); g.fill();
g.fillStyle='#EFEDE6'; g.fillRect(vx+8,gy-18,6,7); g.fillRect(vx+42,gy-13,5,6);
// trees
[[0.10,1],[0.22,0.8],[0.63,0.9]].forEach(([f,sc2])=>{const x=W*f; g.fillStyle='#B9BFB2';
g.beginPath(); g.moveTo(x-13*sc2,gy); g.lineTo(x,gy-42*sc2); g.lineTo(x+13*sc2,gy); g.closePath(); g.fill();
g.fillStyle='#A9A08C'; g.fillRect(x-2,gy-8,4,8);});
// distance ruler
for(let m=0;m<=140;m+=20){const x=sx(DEVX-m); if(x<8)continue; g.fillStyle='#A9A69B'; g.fillRect(x,gy,1,m%40?4:8); if(m%40===0)txt(g,m+' m',x,gy+21,'#8C8A80',MONO,'center');}
// wind
windPh+=wind*0.9;
if(wind>0.2){g.strokeStyle='rgba(96,110,120,.4)'; g.lineWidth=1.3; const n=Math.round(wind*1.5);
for(let i=0;i<n;i++){const y=34+((i*67)%(gy-120)); const x=((windPh*0.9+i*151)%(W+90))-45; const L=16+wind*2.2;
g.beginPath(); g.moveTo(x,y); g.lineTo(x+L,y); g.moveTo(x+L-6,y-4); g.lineTo(x+L,y); g.lineTo(x+L-6,y+4); g.stroke();}}
// the unit
const ux=sx(DEVX), uy=sz(DEVZ);
g.fillStyle='#4A4E53'; g.fillRect(ux-2.5,uy,5,gy-uy);
g.fillStyle='#26292C'; g.beginPath(); g.roundRect(ux-17,uy-34,34,34,5); g.fill();
g.fillStyle=D.alert?'#FF6A58':(armT>0?'#E0A94A':((clockT%1)<0.45?'#5FBE85':'#2E3B33')); g.beginPath(); g.arc(ux,uy-17,4,0,7); g.fill();
[[-8,-26],[8,-26],[-8,-8],[8,-8]].forEach(([a2,b2])=>{g.fillStyle='#0F110D'; g.beginPath(); g.arc(ux+a2,uy+b2,2.6,0,7); g.fill();
g.strokeStyle='#8C8A80'; g.lineWidth=1; g.beginPath(); g.arc(ux+a2,uy+b2,4,0,7); g.stroke();});
if(W>=600) txt(g,'VolAnti',ux,uy-44,'#3E4247',"600 12px 'Space Grotesk', sans-serif",'center');
if(D.alert){g.strokeStyle='rgba(217,58,43,.5)'; g.lineWidth=2.2; for(let q=0;q<3;q++){const r=14+((clockT*124+q*32)%96); g.globalAlpha=1-r/108; g.beginPath(); g.arc(ux,uy-17,r,0,7); g.stroke();} g.globalAlpha=1;
txt(g,'ALERT '+Math.ceil(Math.max(0,D.alertUntil-D.t)),ux,uy-60,'#D93A2B',"700 15px 'Space Grotesk', sans-serif",'center');}
// other sources
if(snd.speech){const x=sx(DEVX-6),y=gy; g.fillStyle='#8F5C08';
g.beginPath(); g.arc(x,y-30,5,0,7); g.fill(); g.beginPath(); g.moveTo(x-6,y); g.lineTo(x-4,y-24); g.lineTo(x+4,y-24); g.lineTo(x+6,y); g.closePath(); g.fill();
g.strokeStyle='#B5760F'; g.lineWidth=1.4; for(let k=1;k<=2;k++){g.beginPath(); g.arc(x+7,y-30,4+k*5,-0.9,0.9); g.stroke();}
txt(g,'talking',x,y-42,'#8F5C08',MONO,'center');}
if(snd.car){const t=S.car.t||0, x=sx(6+t*11), y=gy;
g.fillStyle='#8F5C08'; g.beginPath(); g.roundRect(x-22,y-13,44,10,3); g.fill();
g.beginPath(); g.moveTo(x-12,y-13); g.lineTo(x-7,y-21); g.lineTo(x+9,y-21); g.lineTo(x+14,y-13); g.closePath(); g.fill();
g.fillStyle='#3E4247'; g.beginPath(); g.arc(x-12,y-2,4,0,7); g.fill(); g.beginPath(); g.arc(x+12,y-2,4,0,7); g.fill();
txt(g,'car',x,y-28,'#8F5C08',MONO,'center');}
if(snd.gen){const x=sx(DEVX-20),y=gy; g.fillStyle='#8F5C08'; g.beginPath(); g.roundRect(x-16,y-16,32,16,3); g.fill();
g.fillStyle='#3E4247'; g.fillRect(x+8,y-24,4,8); const puff=(clockT*3)%1; g.strokeStyle='rgba(90,90,90,.35)'; g.beginPath(); g.arc(x+10,y-28-puff*14,4+puff*5,0,7); g.stroke();
txt(g,'generator',x,y-32,'#8F5C08',MONO,'center');}
// the drone
const k=Math.max(0,Math.min(1,acc/FRAME)), ix=drone.px+(drone.x-drone.px)*k, iz=drone.pz+(drone.z-drone.pz)*k;
const dx=sx(ix), dz=present?sz(iz):sz(0)-6, on=S.drone.on, K=1.55;
if(on){g.strokeStyle='rgba(31,122,69,.42)'; g.lineWidth=1.8; for(let q=0;q<4;q++){const r=12+((clockT*74+q*26)%104); g.globalAlpha=Math.max(0,.6-r/126); g.beginPath(); g.arc(dx,dz,r,0,7); g.stroke();} g.globalAlpha=1;}
g.strokeStyle='#8C8A80'; g.setLineDash([3,5]); g.beginPath(); g.moveTo(dx,dz); g.lineTo(ux,uy-17); g.stroke(); g.setLineDash([]);
txt(g,Math.hypot(DEVX-ix,iz-DEVZ).toFixed(0)+' m',(dx+ux)/2,(dz+uy-17)/2-7,'#3E4247',"600 13px 'IBM Plex Mono', monospace",'center');
g.save(); g.translate(dx,dz); g.scale(K,K);
g.strokeStyle='#B5760F'; g.lineWidth=1.1; g.setLineDash([2,3]); g.beginPath(); g.moveTo(-9,1); g.bezierCurveTo(-40,6,-80,10,-160,14); g.stroke(); g.setLineDash([]);
g.fillStyle='#16181A'; g.beginPath(); g.roundRect(-10,-4,20,8,2.4); g.fill();
g.strokeStyle='#16181A'; g.lineWidth=2.2; g.beginPath(); g.moveTo(-9,-1); g.lineTo(-19,-7); g.moveTo(9,-1); g.lineTo(19,-7); g.stroke();
const bl=on?(0.35+0.65*Math.abs(Math.sin(clockT*58))):1;
g.strokeStyle=on?'#1F7A45':'#8C8A80'; g.lineWidth=1.6;
[-19,19].forEach(px=>{g.beginPath(); g.ellipse(px,-8,10,2.6*bl,0,0,7); g.stroke();});
g.restore();
txt(g,!present?(takeoffAt>0?'take-off in '+Math.max(0,(takeoffAt-D.t)/RATE).toFixed(1)+' s':'landed, press take off'):arriveAt>0?'arriving':Math.hypot(drone.vx,drone.vz)>0.6?Math.hypot(drone.vx,drone.vz).toFixed(0)+' m/s':'hovering',dx,dz-24,'#3E4247',MONO,'center');
if(present) txt(g,iz.toFixed(0)+' m up',dx,dz+26,'#8C8A80',MONO,'center');
if(armT>0) txt(g,W<600?'arming, '+armT.toFixed(1)+' s':'arming, '+armT.toFixed(1)+' s: the unit learns the site before the drone starts',W/2,H*0.36,'#8F5C08',(W<600?'500 12px':'500 13px')+" 'IBM Plex Mono', monospace",'center');
}
/* ---------- feed ---------- */
function drawMics(){
const p=P.mics,g=p.g,W=p.w,H=p.h; const cx=W/2, cy=H/2+8, s=Math.min(W,H-20)/110;
g.fillStyle='#1E2124'; g.beginPath(); g.roundRect(cx-45.5*s,cy-45.5*s,91*s,91*s,5*s); g.fill();
g.fillStyle='#F7F5EE'; g.fillRect(cx-16*s,cy-11*s,32*s,22*s); txt(g,D.alert?'ALERT':'LISTENING',cx,cy+3,'#22262A',"600 "+Math.max(8,7*s)+"px 'IBM Plex Mono', monospace",'center');
const M=[[-28,-28,'M1'],[28,28,'M2'],[-28,28,'M3'],[28,-28,'M4']];
let mx=1e-6; for(let c=0;c<4;c++)for(let i=0;i<HOP;i+=4)mx=Math.max(mx,Math.abs(out[c][i]));
M.forEach(([x,y,n],c)=>{const px=cx+x*s, py=cy-y*s, r=13*s;
g.fillStyle='#E7E4DA'; g.beginPath(); g.arc(px,py,r+2.2*s,0,7); g.fill(); g.fillStyle='#0F110D'; g.beginPath(); g.arc(px,py,r,0,7); g.fill();
g.save(); g.beginPath(); g.arc(px,py,r-1,0,7); g.clip(); const pts=[]; for(let i=0;i<HOP;i+=3){pts.push(px-r+2*r*i/HOP, py-(out[c][i]/mx)*r*0.8);} line(g,pts,'#5FBE85',1.2); g.restore();
txt(g,n,px,py+r+11,'#7E857D',MONO,'center');});
$('micTxt').textContent='live, 32 ms windows';
}
function drawSum(){
const p=P.sum,g=p.g,W=p.w,H=p.h; const sum=D.fe.sum; let mx=1e-6; for(let i=E.N-HOP;i<E.N;i+=4)mx=Math.max(mx,Math.abs(sum[i]));
const pts=[]; for(let i=E.N-HOP;i<E.N;i+=2){pts.push(12+(W-24)*(i-(E.N-HOP))/HOP, H/2-(sum[i]/mx)*(H/2-10));} line(g,pts,'#5FBE85',1.5);
}
function drawSpec(){
const p=P.spec,g=p.g,W=p.w,H=p.h; const L=30,R=W-8,T=10,B=H-20; const fmax=2200,bmax=Math.round(fmax/BINHZ);
const mag=D.fe.mag; let lo=1e9,hi=-1e9; for(let b=2;b<bmax;b++){const v=dbOf(mag[b]); if(v<lo)lo=v; if(v>hi)hi=v;}
specMin+=(lo-8-specMin)*0.05; specMax+=(hi+6-specMax)*0.1;
const X=f=>L+(R-L)*f/fmax, Y=v=>B-(B-T)*(v-specMin)/(specMax-specMin);
g.strokeStyle='#232720'; for(let f=0;f<=2000;f+=500){g.beginPath();g.moveTo(X(f),T);g.lineTo(X(f),B);g.stroke(); txt(g,f?f/1000+'k':'0',X(f),H-6,'#6E756A',MONO,'center');}
g.fillStyle='#4E8A64'; g.beginPath(); g.moveTo(X(0),B); for(let b=0;b<bmax;b++)g.lineTo(X(b*BINHZ),Math.max(T,Y(dbOf(mag[b])))); g.lineTo(X(bmax*BINHZ),B); g.closePath(); g.fill();
const f0=D.t1.f0; if(D.t1.score>1.0){g.strokeStyle='#5FBE85'; for(let k=1;k*f0<=2000;k++){g.beginPath();g.moveTo(X(k*f0),T);g.lineTo(X(k*f0),T+7);g.stroke();}}
if(D.t1.score>1.0) txt(g,'comb at '+D.t1.f0+' Hz',R,T+10,'#5FBE85',MONO,'right');
$('specTxt').textContent='7.8 Hz bins, '+(S.diag.vRadial&&Math.abs(S.diag.vRadial)>0.5?('doppler '+(S.diag.vRadial>0?'+':'')+(100*S.diag.vRadial/343).toFixed(1)+' %'):'no doppler');
}
function drawScore(){
const p=P.score,g=p.g,W=p.w,H=p.h; const L=26,R=W-8,T=10,B=H-20;
const X=f=>L+(R-L)*(Math.log(f)-Math.log(70))/(Math.log(2000)-Math.log(70)), Y=v=>B-(B-T)*(v+1)/5.5;
g.fillStyle='#1B2A31'; g.globalAlpha=.6; g.fillRect(X(200),T,X(800)-X(200),B-T); g.globalAlpha=1;
g.strokeStyle='#232720'; for(const v of [0,1,2,3,4]){g.beginPath();g.moveTo(L,Y(v));g.lineTo(R,Y(v));g.stroke(); txt(g,v,L-4,Y(v)+4,'#6E756A',MONO,'right');}
for(const f of [100,200,500,1000,2000]) txt(g,f>=1000?f/1000+'k':f,X(f),H-6,'#6E756A',MONO,'center');
line(g,[L,Y(D.t1.thr),R,Y(D.t1.thr)],'#FF6A58',1.2,[5,4]); txt(g,'threshold 1.70',R,Y(D.t1.thr)-4,'#FF6A58',MONO,'right');
const sc=D.t1.scores,pts=[]; for(let f=70;f<=2000;f+=2){pts.push(X(f),Math.max(T,Y(sc[f-70])));} line(g,pts,'#5FBE85',1.3);
const sc2=D.t2.scores,p2=[]; for(let f=200;f<=800;f+=2){p2.push(X(f),Math.max(T,Y(sc2[f-200])));} line(g,p2,'#6FB9CE',1.1);
const f0=D.t1.f0,s=D.t1.score; g.fillStyle=s>=D.t1.thr?'#FF6A58':'#5FBE85'; g.beginPath(); g.arc(X(f0),Y(s),4,0,7); g.fill();
txt(g,'best '+f0+' Hz, '+s.toFixed(2),X(f0)+8,Y(s)-6,'#E8E6DE');
$('scTxt').textContent='1931 rates, 32 ms';
}
function tierRow(id,val,thr,max,filled,n,left,right,fire){
const el=$(id); el.classList.toggle('fire',fire);
el.querySelector('.bar i').style.width=(100*Math.max(0,Math.min(1,val/max)))+'%'; el.querySelector('.bar b').style.left=(100*thr/max)+'%';
const ring=el.querySelector('.ring'); if(ring.children.length!==n){ring.innerHTML=''; for(let i=0;i<n;i++)ring.appendChild(document.createElement('i'));}
[...ring.children].forEach((c,i)=>c.classList.toggle('on',i<filled));
el.querySelector('.st span').textContent=left; el.querySelector('.st em').textContent=right;
}
function drawTiers(){
const t1=D.t1,t2=D.t2,t3=D.t3,t4=D.t4, a=D.alert, at=D.alertTier;
tierRow('tr1',t1.score,t1.thr,4.5,Math.min(6,t1.chain),6,'score '+t1.score.toFixed(2)+(t1.chain?', f0 '+t1.fTrack+' Hz':''),t1.gate==='FIRE'?'FIRE':t1.gate?t1.gate:(t1.chain?t1.chain+' of 6 frames':'listening'),a&&at==='T1');
tierRow('tr2',t2.score,t2.thr,4.5,t2.hits,63,!t2.warm?'warming up':'score '+t2.score.toFixed(2)+(t2.trackAge?', f0 '+t2.fTrack+' Hz':''),t2.latched?'latched':t2.hits+' of 63, needs 44',a&&at==='T2');
tierRow('tr3',t3.Wbest,20,34,t3.hits,23,'W '+t3.Wbest.toFixed(1)+', rate '+t3.rate+' Hz'+(t3.frozen?', frozen':''),t3.latched?'latched':t3.hits+' of 23, needs 16',a&&at==='T3');
tierRow('tr4',t4.Wbest,30.5,50,t4.hits,8,!t4.ready?'filling its 2 s window':'W '+t4.Wbest.toFixed(1)+', f0 '+t4.f0+' Hz'+(t4.frozen?', frozen':''),t4.latched?'latched':t4.hits+' of 8, needs 5',a&&at==='T4');
}
function drawAlert(){
const st=$('alState'); st.className='state '+(armT>0?'arm':D.alert?'alert':'listen'); st.textContent=armT>0?'ARMING':D.alert?'ALERT '+Math.ceil(Math.max(0,D.alertUntil-D.t)):'LISTENING';
const names={T1:'tier 1, fast comb',T2:'tier 2, slow comb',T3:'tier 3, envelope wash',T4:'tier 4, no-floor comb'};
const absorbed=S.drone.on&&!D.alert&&D.t1.score<1.2&&!D.t2.latched&&!D.t4.latched&&D.t>8;
$('alSub').textContent=armT>0?'floors learning the site, tier 2 warming up':D.alert?names[D.alertTier]+', f0 '+Math.round(D.alertF0)+' Hz, outputs held for 5 s':D.t2.latched||D.t4.latched?'tier '+(D.t2.latched?'2':'4')+' latched, one alert per episode':absorbed?'steady sound learned into the floors. a change, an approach or a fresh arrival fires again':'green blink, four detectors running';
$('alHold').style.width=D.alert?(100*Math.max(0,D.alertUntil-D.t)/5)+'%':'0%';
[...$('chans').children].forEach(c=>c.classList.toggle('on',D.alert));
$('alPkt').textContent=D.alert?'LoRa packet: id 0x7A3C, '+D.alertTier+', f0 '+Math.round(D.alertF0)+', score '+D.alertScore.toFixed(2)+', seq '+D.seq:'LoRa packet: idle';
const ev=D.events.slice(-3).reverse(); $('alLog').textContent=ev.length?ev.map(e=>'t='+e.t.toFixed(1)+'s '+e.tier+' f0 '+Math.round(e.f0)+' Hz score '+e.score.toFixed(1)).join('\n'):'no events yet';
}
function drawRead(){
const d=dist(), arr=S.diag.arrivingBand, nz=S.diag.noiseBand;
$('read').innerHTML='<span>range<b>'+d.toFixed(0)+' m</b></span><span>arriving<b>'+(S.drone.on?arr.toFixed(0)+' dB':'off')+'</b></span><span>noise<b>'+nz.toFixed(0)+' dB</b></span><span>blade rate<b>'+Math.round(S.drone.f0*(1+(S.diag.vRadial||0)/343))+' Hz</b></span><span>top speed<b>'+vmaxX().toFixed(0)+' m/s</b></span>';
}
function draw(){ fit(P.scene); fit(P.mics,240); fit(P.sum,90); fit(P.spec,170); fit(P.score,150);
drawScene(); drawMics(); drawSum(); drawSpec(); drawScore(); drawTiers(); drawAlert(); if(D.frame%4===0)drawRead(); }
/* ---------- loop ---------- */
let acc=0,last=performance.now(),paused=false;
function loop(now){ if(paused){ last=now; acc=0; requestAnimationFrame(loop); return; }
clockT+=(now-last)/1000*RATE; acc+=(now-last)/1000*RATE; last=now; let n=0; while(acc>=FRAME&&n<4){stepOne();acc-=FRAME;n++;} if(acc>FRAME*4)acc=FRAME; try{ draw(); }catch(_){} requestAnimationFrame(loop);}
window.addEventListener('message',e=>{ if(e.data==='volanti-sim-hide'){ paused=true; if(listening) $('listen').click(); } if(e.data==='volanti-sim-show'){ paused=false; last=performance.now(); acc=0; } });
/* ---------- interaction ---------- */
const sc=$('cScene');
function ptr(e){const r=sc.getBoundingClientRect(); const x=(e.clientX-r.left), y=(e.clientY-r.top); const W=r.width,H=r.height;
return {wx:Math.max(0,Math.min(WX,(x-30)/(W-60)*WX)), wz:Math.max(1,Math.min(WZ-2,(H-54-y)/(H-112)*WZ))};}
sc.addEventListener('pointerdown',e=>{const now=performance.now();
dragging=true; sc.classList.add('drag'); sc.setPointerCapture(e.pointerId);
const q=ptr(e); drone.tx=q.wx; drone.tz=q.wz;
if(now-lastTap<340) dashT=3; // double tap jumps it there, outside the flight model
lastTap=now;
$('tpl').querySelectorAll('.chip').forEach(c=>c.classList.remove('on')); tpl='free';});
sc.addEventListener('pointermove',e=>{if(!dragging)return; const q=ptr(e); drone.tx=q.wx; drone.tz=q.wz;});
const endDrag=e=>{dragging=false; sc.classList.remove('drag');};
sc.addEventListener('pointerup',endDrag); sc.addEventListener('pointercancel',endDrag);
$('tpl').querySelectorAll('.chip').forEach(b=>b.addEventListener('click',()=>{$('tpl').querySelectorAll('.chip').forEach(c=>c.classList.remove('on')); b.classList.add('on'); tpl=b.dataset.t;
present=true; $('fly').classList.add('on'); $('fly').textContent='Land'; takeoffAt=-1; phase=''; arriveAt=D.t+1.5;
if(tpl==='approach'){drone.x=2;drone.z=34;} if(tpl==='flypast'){drone.x=2;drone.z=30;} if(tpl==='climb'){drone.x=124;drone.z=10;} if(tpl==='hover'){drone.x=122;drone.z=11;}
drone.tx=drone.x; drone.tz=drone.z; drone.px=drone.x; drone.pz=drone.z;
$('thr').value=throttle; $('thrV').textContent=throttle+' %'; apply();}));
$('snd').querySelectorAll('.chip').forEach(b=>b.addEventListener('click',()=>{b.classList.toggle('on'); snd[b.dataset.s]=b.classList.contains('on'); apply();}));
$('fly').addEventListener('click',()=>{takeoffAt=-1; present=!present; if(present){phase='climb'; startAlt=Math.max(6,drone.z); drone.z=1; drone.px=drone.x; drone.pz=1;} $('fly').classList.toggle('on',present); $('fly').textContent=present?'Land':'Take off'; if(!present){$('tpl').querySelectorAll('.chip').forEach(c=>c.classList.remove('on')); tpl='free';} apply();});
$('thr').addEventListener('input',e=>{throttle=+e.target.value; $('thrV').textContent=throttle+' %'; apply();});
$('wind').addEventListener('input',e=>{wind=+e.target.value; $('windV').textContent=wind.toFixed(1)+' m/s'; apply();});
$('listen').addEventListener('click',()=>{listening=!listening; $('listen').classList.toggle('on',listening);
$('listen').querySelector('span').textContent=listening?'Sound on':'Sound off'; $('listen').setAttribute('aria-pressed',listening);
if(listening){ RATE=1; $('rate').querySelectorAll('.chip').forEach(c=>c.classList.toggle('on',c.dataset.r==='1'));
if(!actx)actx=new (window.AudioContext||window.webkitAudioContext)({sampleRate:FS}); actx.resume(); nextT=actx.currentTime+0.08;}});
$('rate').querySelectorAll('.chip').forEach(b=>b.addEventListener('click',()=>{
$('rate').querySelectorAll('.chip').forEach(c=>c.classList.remove('on')); b.classList.add('on'); RATE=parseFloat(b.dataset.r);
if(RATE<1&&listening){listening=false;$('listen').classList.remove('on');$('listen').querySelector('span').textContent='Sound off';}}));
$('vol').addEventListener('input',e=>{VOL=+e.target.value;});
$('fidbtn').addEventListener('click',()=>$('fid').classList.add('open'));
if(window.self!==window.top){ $('back').hidden=false; const bye=()=>parent.postMessage('volanti-sim-close','*'); $('back').addEventListener('click',bye); document.addEventListener('keydown',e=>{ if(e.key==='Escape') bye(); }); } $('fidclose').addEventListener('click',()=>$('fid').classList.remove('open'));
fresh(); requestAnimationFrame(loop);
})();
</script>
</template>
<script>
(function(){
const ov=document.getElementById('simov'), fr=document.getElementById('simfr'); let loaded=false;
function tell(m){ try{ fr.contentWindow.postMessage(m,'*'); }catch(_){} }
function open(e){ if(e) e.preventDefault(); if(!loaded){ fr.srcdoc='<!DOCTYPE html><base target="_top">'+document.getElementById('simsrc').innerHTML; loaded=true; } ov.classList.add('open'); ov.setAttribute('aria-hidden','false'); document.body.style.overflow='hidden'; tell('volanti-sim-show'); }
function close(){ ov.classList.remove('open'); ov.setAttribute('aria-hidden','true'); document.body.style.overflow=''; tell('volanti-sim-hide'); }
document.getElementById('simlink').addEventListener('click',open);
document.querySelectorAll('.simopen').forEach(a=>a.addEventListener('click',open));
window.addEventListener('message',e=>{ if(e.data==='volanti-sim-close') close(); });
document.addEventListener('keydown',e=>{ if(e.key==='Escape') close(); });
if(location.hash==='#simulator') open();
document.querySelectorAll('a[href="#simulator"]').forEach(a=>{ if(!a.classList.contains('simopen')&&a.id!=='simlink') a.addEventListener('click',open); });
})();
</script>
</body>
</html>
214702cffThis file is pinned to the selected release. Download the original to open it in your design tool.