juicewrld-desktopsrc-tauriplugin-testindex.html
1.4.2Released Nov 21, 2026
index.html
108 lines4.8 KBHTML<html lang="en"> <head> <meta charset="utf-8" /> <meta name="color-scheme" content="dark" /> <title>Plugin test</title> <link rel="stylesheet" href="test.css" /> <script src="test.js" defer></script> </head> <body> <!-- The debug build's plugin test page (src/plugins/testpage.rs): the site's own plugin API (site.js) end to end, against the plugins in the scanned folders (a test run's own, set by JW_PLUGINS_FOLDERS). window.jwTest drives the same steps for scripted runs. --> <header> <h1>Plugin test <small>debug build</small></h1> <div class="status" id="status">Checking…</div> <button type="button" id="enable">Ask to turn plugins on</button> <button type="button" id="rescan">Ask to scan</button> </header> <main> <section class="list"> <div class="filters"> <input type="search" id="search" placeholder="Find a plugin" autocomplete="off" /> <select id="kind" aria-label="Kind"> <option value="effect">Effects</option> <option value="instrument">Instruments</option> <option value="all">All</option> </select> </div> <ol id="plugins" aria-label="Plugins"></ol> </section> <section class="detail"> <div class="card" id="picked"> <h2 id="name">Pick a plugin</h2> <p class="meta" id="meta"></p> <div class="row"> <label>Label <input id="label" value="Insert 1" size="10" /></label> <label>Block <select id="block"><option>128</option><option>256</option><option>512</option><option>1024</option></select></label> <button type="button" id="open" disabled>Open</button> <button type="button" id="close" disabled>Close</button> </div> <p class="meta" id="instance"></p> </div> <div class="card"> <h3>Sound</h3> <div class="row"> <select id="source" aria-label="Source"> <option value="tone">Tone, 220 Hz</option> <option value="sweep">Sweep</option> <option value="noise">Pink noise</option> <option value="clicks">Clicks (for latency)</option> <option value="file">Dropped WAV</option> </select> <select id="hint" aria-label="Latency hint"> <option value="interactive">interactive</option> <option value="balanced">balanced</option> <option value="playback">playback</option> </select> <button type="button" id="play" disabled>Play through it</button> <button type="button" id="stop" disabled>Stop</button> <label title="Off until you tick it: nothing this page plays reaches the speakers before then"><input type="checkbox" id="hear" /> Hear it</label> <label><input type="checkbox" id="dry" /> Dry</label> <label><input type="checkbox" id="bypass" /> Bypass</label> </div> <div class="drop" id="drop">Drop a WAV here</div> <div class="meters"> <div><span>In</span><meter id="mIn" min="-60" max="0" value="-60"></meter><b id="vIn">–</b></div> <div><span>Out</span><meter id="mOut" min="-60" max="0" value="-60"></meter><b id="vOut">–</b></div> </div> <dl class="numbers" id="numbers"></dl> <div class="row"> <button type="button" id="measure" disabled>Measure latency</button> <label><input type="checkbox" id="busy" /> Keep the main thread busy</label> <label>for <input id="busyMs" value="180" size="3" /> ms of every <input id="busyEvery" value="200" size="3" /> ms</label> </div> </div> <div class="card"> <h3>Editor and state</h3> <div class="row"> <button type="button" id="show" disabled>Show editor</button> <button type="button" id="hide" disabled>Hide editor</button> <button type="button" id="save" disabled>Save state</button> <button type="button" id="restore" disabled>Restore state</button> <button type="button" id="reset" disabled>Reset</button> </div> <p class="meta" id="stateInfo"></p> <ol class="params" id="params"></ol> </div> <div class="card"> <h3>Offline and the audio path</h3> <div class="row"> <button type="button" id="render" disabled>Render 20 s offline</button> <button type="button" id="bench">Measure the IPC</button> <button type="button" id="crash">Crash a test plugin</button> </div> <pre id="results"></pre> </div> </section> </main> <pre class="log" id="log" aria-live="polite"></pre> </body></html>