← Back to featured projects

Systems engineering / Assistant tools / Case study

ToneScope

Make assistant actions measurable and reversible.

A native audio workbench that connects signal measurements to an assistant workflow with revision-bound proposals, preview, explicit acceptance, and undo.

My role
Individual project · design and implementation
Engineering focus
Native state safety, DSP, deterministic assistant evaluation
Evidence snapshot
Bounded level rules improved from 15/24 to 24/24 development tasks.
Status
Development integration; not a qualified public release

C++20 · Faust · React · JUCE · DSP · Native/UI integration · State validation · Numerical testing · Mutation testing

ToneScope showing a loaded guitar passage, dry and processed waveforms, a frequency spectrum, and signal-chain controls.

The native audio workbench with a guitar recording loaded. Local development build.

Guitar signal: Pedroza, Hegel, et al., Guitar-TECHS (CC BY 4.0), visualized with compression.

View full size

The problem

Guitarists need to compare a processed passage with its original, understand what changed, and keep control over whether a suggested adjustment becomes part of their sound.

My contribution

Individual project. I built the native audio workbench, DSP integration, embedded interface, reversible assistant workflow, and numerical verification tools.

Evidence at a glance

Repository-reported development experiments. These measure deterministic rules and native behavior, not live-model effectiveness, preferred tone, or hardware performance.

Results, conditions, and what they establish
CheckResultConditions and limits
Level-rule regression15/24 → 24/24Same frozen synthetic development tasks and unchanged numerical gates; 18 feasible and 6 boundary tasks.
Compression rules16/16 vs 1/16 unchangedSeparate authored development set: 8 feasible and 8 boundary tasks, using a bounded compressor topology.
Independent level grading0.25 dB level gateThe level experiment independently grades rendered audio. A passing numerical gate does not establish equal perceived loudness.
Model evaluation boundary216 level-model records blockedThe level experiment did not make paid model calls; deterministic success is not an LLM quality claim.
Level-rule baseline and results Compression experiment and conditions

Architecture

A C++20/JUCE host runs generated Faust DSP and embeds a React interface. The native system owns streaming WAV rendering, persistent dry capture and recovery, compressor/EQ/drive processing, aligned comparison, residual inspection, and undo. The assistant service uses native measurements and candidate renders as evidence for proposed changes.

Measured, reversible edit
  1. Selection + revision
  2. Native measurements
  3. Bounded rules/tools
  4. Candidate audio + hashes
  5. Native freshness check
  6. Preview → Apply → Undo

Unsupported or infeasible requests abstain. Stale or mismatched evidence is rejected; the assistant does not own edit authority.

A consequential decision

Constraint
An assistant result may arrive after the user has changed the selection or processing graph.
Alternative
Allow the service to apply its proposed edit directly to the current session.
My choice
Bind proposals to native measurements, revision and hashes. Keep preview, explicit acceptance, rejection of stale evidence, and whole-patch undo in the native host.
Consequence
A proposal leaves the session unchanged until accepted. Native tests cover stale, forged and cross-request proposals, and verify that one undo restores the original graph.
Native proposal and undo checks

Guided walkthrough

Captured from the actual native development build using the offline rules assistant: a 2 dB level request leaves Output at 0 dB until Apply, then one Undo restores it. No paid model, hardware playback, or listening-quality claim is involved.

  1. 01Request a measured change

    For the selected 0–8 second guitar passage, “Make this passage 2 dB louder” produces a rendered candidate with RMS −22.53 dBFS and sample peak −6.67 dBFS. The committed Output control is still 0 dB.

    ToneScope offline assistant proposal for a 2 dB increase, with measured candidate levels and explicit Apply control.
    Observed proposal: measured candidate, with the committed Output still at 0 dB.
  2. 02Preview without committing

    Candidate and current-settings preview states were inspected while the committed Output remained 0 dB. RMS matching is off for this raw-gain comparison. The capture is paused and does not establish physical playback.

    ToneScope showing suggested and current-settings comparison controls before accepting the measured level proposal.
    Paused candidate preview. Comparison controls are visible; the native committed Output remains unchanged.
  3. 03Apply, then undo

    Explicit Apply sets Output to +2 dB. One Undo restores 0 dB and the complete original control array. The former proposal is invalidated because the session has changed.

    ToneScope Output restored to 0 dB after applying the 2 dB proposal and undoing it once.
    After Apply (+2 dB) and one Undo: Output is 0 dB again, with the original native controls restored.
Actual embedded assistant flow Capture conditions and observations

Current scope

ToneScope is a development integration with a deterministic assistant and a provider adapter. Live-provider quality has not been evaluated. Licensing/signing, clean-machine testing, and hardware/human qualification remain open before a qualified public release.

Source evidence

Implementation and documentation pinned to the reviewed source revision.