Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
param_json.hpp
Go to the documentation of this file.
1#pragma once
2
30
31#include <string>
32
33#include <choc/containers/choc_Value.h>
34
36
37namespace pulp::state {
38
39class StateStore;
40
47std::string param_display_text(const ParamInfo& info, float value);
48
56bool param_parse_display_text(const ParamInfo& info, const std::string& text, float& out_value);
57
63choc::value::Value param_metadata_to_value(const ParamInfo& info);
64
70choc::value::Value param_snapshot_to_value(const StateStore& store, const ParamInfo& info);
71
77choc::value::Value param_catalog_snapshot_to_value(const StateStore& store, const ParamInfo& info);
78
79} // namespace pulp::state
Centralized parameter storage with lock-free value access.
Definition store.hpp:164
SequencerStateChannel is the audio-safe transport for a plugin's structured NON-parameter state: the ...
Definition audio_device_manager.hpp:48
choc::value::Value param_metadata_to_value(const ParamInfo &info)
A parameter's STATIC shape — everything that does not move when the value does.
std::string param_display_text(const ParamInfo &info, float value)
Display text for value in info's own domain.
choc::value::Value param_catalog_snapshot_to_value(const StateStore &store, const ParamInfo &info)
The canonical Product A catalog + live-value shape.
bool param_parse_display_text(const ParamInfo &info, const std::string &text, float &out_value)
Parse display text back into info's own domain.
choc::value::Value param_snapshot_to_value(const StateStore &store, const ParamInfo &info)
A parameter's LIVE snapshot, in the inspector's established wire shape.
Immutable parameter metadata, registered once at plugin initialization.
Definition parameter.hpp:316