# Samatas analyzer

**URL:** <https://ziggit.dev/t/samatas-analyzer/18678>\
**Category:** Showcase\
**Tags:** build-system, audio, llm\
**Created:** [December 2, 2026, 8:13pm UTC](https://ziggit.dev/t/samatas-analyzer/18678 "2026-12-02T20:13:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ippokratis](https://ziggit.dev/letter_avatar_proxy/v4/letter/i/9e8a1a/32.png) [@Ippokratis](https://ziggit.dev/u/Ippokratis)\
**Post date:** [December 2, 2026, 8:13pm UTC](https://ziggit.dev/t/samatas-analyzer/18678/1 "2026-12-02T20:13:35Z")

</div>

I released Samatas Analyzer v1.0

> **[Samatas Analyzer](https://ippokratis.github.io/samatas/samatas_analyzer.html)**
>
> See every frequency in your mix. A real-time spectrum analyzer plugin for macOS and Windows, with a 3D waterfall, a reference curve and loudness metering.

Used zig 0.17.1 for building and embedding the fonts, Juce and cpp [https://juce.com/](https://juce.com/).

What troubled me most during the development of this product:

- Ui and ux (damn thing kept looking ugly and clumsy),
- hosts-os tests (each host-os combination just had to have some unique bug)
- manual writing (it was ridiculously slow)
- video creation (even more ridiculously slow)

What helped me and others may find useful when developing plugins with Juce:

- pluginval [GitHub - Tracktion/pluginval: Cross platform plugin testing and validation tool · GitHub](https://github.com/Tracktion/pluginval), auval (builtin MacOS) : they catch plugin bugs.
- Melatonin [GitHub - sudara/melatonin\_inspector: A JUCE module that gives you the ability to inspect and visually edit (non-destructively) components in your UI. · GitHub](https://github.com/sudara/melatonin_inspector/tree/main) : helps make sense of the ui, ui editing.
- zig building speed. At some point after 0.17.1, for small edits, I could rebuild the entire project faster than the time I needed to close and reopen Ableton Live/Logic/Reaper. It really helped.

What I didn’t like when using zig for building my project:

- cache clean-up. I must erase the cache folder often, manually. Other build systems also have the same issue, solving it at some point could serve as a differentiator.

What I like about this release (write software you love):

- handles 3d and sound evolution over time in a unique way
- done, even if it is weird and imperfect.

LLM usage disclosure:

- I used Claude, for testing, docs, general advice, code sections. The decisions, supervision, and responsibility are mine.

---

<div class="post-metadata">

**Author:** ![Rahtgaz](https://ziggit.dev/user_avatar/ziggit.dev/rahtgaz/32/10356_2.png) [@Rahtgaz](https://ziggit.dev/u/Rahtgaz)\
**Post date:** [December 2, 2026, 8:37pm UTC](https://ziggit.dev/t/samatas-analyzer/18678/2 "2026-12-02T20:37:28Z")

</div>

A script should help you with cache cleanup. I ran into this inconvenience myself not long ago.

```zig
#!/usr/bin/env bash
set -e

BUILD_TMPDIR=$(mktemp -d)
trap 'rm -rf "$BUILD_TMPDIR"' EXIT

ZIG_LOCAL_CACHE_DIR="$BUILD_TMPDIR/local" \
ZIG_GLOBAL_CACHE_DIR="$BUILD_TMPDIR/global" \
zig build

```

This will also ensure proper cleanup regardless of build success. Another option is to add a “clean” step to your build config that invokes a shell command. Just don’t make it a dependency of your build tree. You MUST invoke it separately.

But I would rather prefer a `--clear-cache` option in zig.
