Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
chord_pattern_renderer.hpp File Reference
#include <pulp/playback/compile_context_registry.hpp>
#include <pulp/timeline/schema_registry.hpp>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>

Go to the source code of this file.

Classes

struct  pulp::playback::ChordPatternContent
 Immutable authored settings for the deterministic chord-pattern compiler. More...

Namespaces

namespace  pulp
namespace  pulp::playback

Functions

runtime::Result< timeline::SchemaRegistration, timeline::SchemaError > pulp::playback::register_chord_pattern_content_schema (timeline::SchemaRegistryBuilder &builder)
 Registers the exact versioned Content schema and codec.
runtime::Result< timeline::RegisteredContent, timeline::PersistenceError > pulp::playback::create_chord_pattern_content (const ChordPatternContent &content, const timeline::SchemaRegistry &schemas, std::size_t maximum_json_bytes=1024)
 Creates schema-backed chord-pattern content after strict payload validation.
std::optional< ContextRegistrationError > pulp::playback::declare_chord_pattern_renderer (CompileContextRegistry &registry, const timeline::SchemaRegistry &schemas)
 Declares the trusted deterministic note compiler and its ChordScale read.

Variables

constexpr const char * pulp::playback::kChordPatternContentType = "pulp.playback.chord_pattern"
constexpr std::uint32_t pulp::playback::kChordPatternContentSchemaVersion = 1
constexpr std::size_t pulp::playback::kMaximumChordPatternNotes = 4096