Preset directory watching via CLAP's invalidation factory #8

Closed
opened 2026-08-18 01:34:39 +00:00 by bcox · 0 comments
Owner

The preset-discovery provider declares one location and the host crawls it.
Nothing tells the host when the contents change, so a preset saved from the
standalone editor while the DAW is open will not appear in its browser until
the host re-indexes on its own.

CLAP has a mechanism for exactly this — clap_plugin_invalidation_factory
and the design spec parks it deliberately:

Watching the preset directory for changes. CLAP has an invalidation
factory for exactly this, and a host may re-index on its own. Adding it
before anyone has a library worth re-indexing is speculative.

That judgement still holds, but the workflow this project is built around —
author in the standalone editor, load in the DAW — is precisely the one where
it would be felt. Worth revisiting once there are enough presets that
re-scanning by hand is annoying.

Small in scope: a second entry-level factory reporting the files whose
modification invalidates the index.

The preset-discovery provider declares one location and the host crawls it. Nothing tells the host when the contents change, so a preset saved from the standalone editor while the DAW is open will not appear in its browser until the host re-indexes on its own. CLAP has a mechanism for exactly this — `clap_plugin_invalidation_factory` — and the design spec parks it deliberately: > **Watching the preset directory for changes.** CLAP has an invalidation > factory for exactly this, and a host may re-index on its own. Adding it > before anyone has a library worth re-indexing is speculative. That judgement still holds, but the workflow this project is built around — author in the standalone editor, load in the DAW — is precisely the one where it would be felt. Worth revisiting once there are enough presets that re-scanning by hand is annoying. Small in scope: a second entry-level factory reporting the files whose modification invalidates the index.
bcox closed this issue 2026-08-24 22:09:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bcox/tymbal#8
No description provided.