aax
無料Optional AAX support for Pulp, including developer-supplied Avid SDK setup, CMake enablement, DigiShell/AAX Validator workflows, and local AAX builds on macOS or Windows.
日本語の概要は準備中です。原文の説明を表示しています。
Research, author, validate, render, and archive data-only Pulp Sample Heritage profiles. Use when creating or revising a sampler character profile, importing or exporting Heritage JSON, proving profile behavior with analytic and listening fixtures, recording evidence and trademark-safe provenance, or preparing a caller-owned profile artifact bundle.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Create evidence-backed sampler character as portable profile data. Keep the runtime profile neutral and the research record separate. Never require access to a private artifact repository.
Before authoring, read the current Pulp Sample Heritage guide and run:
pulp audio heritage --help
Read references/profile-format.md whenever selecting blocks, importing/exporting, or handling a schema version. Copy assets/profile-template.json as the starting profile. Copy assets/artifact-manifest-template.json into the caller-selected artifact directory or repository.
Choose caller-owned locations. Ask for or infer a working directory for the profile and a separate archive directory or repository for research, prompts, reports, rendered audio, and hashes. Do not default to any Pulp maintainer's private repository. A private overlay skill may supply these paths, but the workflow must also work without that overlay.
Describe the target neutrally. Write audible and mechanical goals such
as “gritty low-rate percussion with clock-linked pitch and a dark output”
before researching a named reference. Use a neutral.* profile ID composed
only of lowercase ASCII letters, digits, dots, and hyphens. Do not put a
company, product, model, or other mark in the ID.
Research cleanly. Prefer legally accessible primary or technical sources: owner and service manuals, schematics, patents, converter data sheets, standards, and published technical papers. A personally controlled capture is optional evidence when its provenance and right to use are recorded. Do not inspect proprietary source, decompiled firmware, leaked material, or another emulator's implementation. Do not copy source material wholesale into the archive.
Record evidence before choosing values. For every researched value,
record the exact profile field, value or range, source kind, full citation,
page/figure/section locator, access date, use or license basis, and confidence
as confirmed, probable, or test. Keep inference distinct from a source's
explicit claim. Record unresolved values as test; do not invent precision.
Respect names and marks. Company, product, and model names remain their owners' property. Use them only when factually necessary inside source citations or research provenance. Never use them in neutral IDs, imply affiliation or endorsement, or market a profile as an exact product/serial match. Include a non-affiliation statement in any artifact bundle that names a reference product.
Author typed data only. Copy the neutral template, change the ID, and add only blocks supported by the current schema. Preserve domain and block order. Do not modify DSP source to force a profile through. If a mechanism is not expressible, stop and report the missing mechanism and evidence instead of silently substituting an approximation.
Validate and canonicalize. Run the command family below, adjusting only paths and render fixture arguments:
pulp audio heritage validate profile.json --json
pulp audio heritage canonicalize profile.json --out canonical.json
pulp audio heritage canonicalize canonical.json --out canonical-again.json
cmp canonical.json canonical-again.json
pulp audio heritage validate canonical.json --json
pulp audio heritage inspect canonical.json --json
pulp audio heritage render canonical.json --fixture <impulse|sine|two-tone|WAV> --out <wav> --report <json>
Require canonicalization to be byte-idempotent. Import the canonical file, export it again, and require the same profile digest. Preserve the original authoring input beside the canonical export.
Prove the validator can fail. Copy the profile to a disposable negative
control, change profile_id to invalid-control (missing the required
neutral. prefix), and run validate. Require a nonzero exit and an exact
profile-ID diagnostic. Record that result, remove the invalid copy, then
re-run validation on the untouched canonical profile. A check that has only
ever passed is not sufficient evidence.
Render analytic fixtures. Use the built-in impulse, sine, and
two-tone fixtures, or an exact-profile-rate mono WAV, to isolate each
enabled block: silence for noise/idle gating, impulse or step for filters and
hold behavior, sine sweeps or tones for converters and nonlinear stages, and
periodic/transient material for clock, pitch, and stretch. Also render an
all-bypass or factor-one control. Require finite output, deterministic reruns
when seeds promise determinism, declared latency and streaming bounds, and
no unexplained level or duration changes. Use --frames and --block-size
when a proof needs explicit duration or partitioning. Save commands, reports,
WAV hashes, and observations. Treat record-commit as the separately reported
offline stage; do not assume it was silently composed into a cross-rate live
render.
Listen without overclaiming. Compare level-matched rendered controls and the candidate on representative percussion, tonal, transient, and sustained material as relevant. Randomize presentation when practical. Record observations and open questions, not claims of hardware identity. Listening complements analytic evidence; it does not replace it.
Archive reproducibly. Save the desired-character brief, the exact agent prompt, research notes or links, evidence manifest, original and canonical profiles, validation/inspect/render reports, listening notes, and SHA-256 hashes in the caller-selected archive. Exclude copyrighted source copies, secrets, private machine identifiers, and unrelated private evidence. Link the archive to the resulting profile only when the caller wants that link.
Do not call a profile complete until all of these are present:
test values and any missing mechanism.No named Pulp Heritage profile is implied to ship merely because this workflow or its templates exist.
PulpSamplerProcessor::render_output_segment has two shapes.
render_active_voices chunks by the block width declared at prepare, so it
tolerates a host handing it more frames than it asked for. The typed-heritage
bus path cannot: it passes process_bus a single activity span over the whole
segment, and bus_voice_activity_ was sized once at prepare. Indexing that
buffer by the block's actual frame count writes past the end.
The overrun is silent. It corrupts allocator metadata rather than faulting, so
it surfaces later and somewhere else — mutex lock failed: Invalid argument,
or an abort raised from inside libsystem_malloc. Running the test binary
unfiltered can even print "All tests passed", because by then the heap has
enough slack for the stray bytes to land on nothing live; only one-process-per-
case (ctest, via catch_discover_tests) reliably smashes something. A green
unfiltered run is not evidence. Reach for Guard Malloc
(DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib) — it names the overrun and
faults at the write.
So when adding a heritage fixture, prepare it at the largest single block it will be driven with. A fixture prepared at 512 and processed with 2048 is out of contract, and the bus path now refuses that segment rather than corrupting the heap.
The heritage shipping gates assert CPU budgets — a RATIO of chain time to a baseline. Sanitizer instrumentation does not tax the two halves equally (it costs the chain's extra work more than the baseline's), so the ratio drifts on an instrumented build and runner load, not the code, decides the verdict. The same gate passed on one PR and failed on another within an hour.
#if defined(NDEBUG) does not protect you here: sanitizer builds are
RelWithDebInfo, so NDEBUG is defined and the budget runs instrumented anyway.
The pattern (established in timeline_tests.cmake, now also in
sampler_runtime_tests.cmake): detect the sanitizer in CMake and pass a
compile definition the test can see.
set(PULP_HERITAGE_GATES_SANITIZED OFF)
if(PULP_SANITIZER OR CMAKE_CXX_FLAGS MATCHES "(^|[ ;])-fsanitize")
set(PULP_HERITAGE_GATES_SANITIZED ON)
endif()
# then, on the target:
# $<$<BOOL:${PULP_HERITAGE_GATES_SANITIZED}>:PULP_TEST_WITH_SANITIZER=1>
#if defined(NDEBUG) && !defined(PULP_TEST_WITH_SANITIZER)
REQUIRE(measured_ratio <= budget);
#else
SUCCEED("… enforced by the uninstrumented Release configuration");
#endif
Guard the timing half only, never the whole test. Excluding the test from sanitizer lanes by name or label drops the entire binary, losing genuine memory/UB coverage of these paths. Everything exact — validity, capacity, and frame bounds — should still run under instrumentation.
When you add or change a budget assertion, verify both directions by
preprocessing with each build's real flags from compile_commands.json: the
budget code must be present in a plain Release build and absent under the
sanitizer. A guard that silently disabled the budget everywhere would look just
as green as a correct one.
The sanitizer guard above answers "is this build instrumented". It does not
answer "is this the machine the number came from", and those are different
questions. The representative-chain budget — 2.0 with a 1.05 measurement
tolerance — was measured on arm64 macOS and nowhere else. Both halves of the
ratio are real work, but they are not the same kind of work: the baseline is
sinc reconstruction, dense and vectorizable, while the chain adds branchy
per-sample stages. Those two halves do not auto-vectorize alike across
toolchains, so non-regressed code can land either side of 2.0 under a
different compiler and ISA.
That matters because the timing group is not confined to the reference
platform. cross-platform-check.yml excludes only validation|slow, so a
performance / bench / quality-lab test runs there on x86-64 Linux,
arm64 Linux, and x86-64 Windows, all Release, all with NDEBUG defined.
nightly-intel.yml adds macOS x86_64. Read the lane you mean before assuming a
label keeps a timing test on Apple silicon.
So nest the platform guard inside the instrumentation guard and report elsewhere rather than skipping:
#if defined(NDEBUG) && !defined(PULP_TEST_WITH_SANITIZER)
const double median_ratio = /* run the trials everywhere */;
#if defined(__APPLE__) && defined(__aarch64__)
REQUIRE(median_ratio <= budget * tolerance);
#else
WARN("ratio " << median_ratio << "; the budget is an arm64 macOS reference");
#endif
#endif
Nesting, not extending the outer #if, is deliberate: every uninstrumented
platform still measures and prints a real number, so a genuine regression is
visible in the log on x86 rather than silently unmeasured, while instrumented
builds keep the cheap SUCCEED and never pay for trials whose result is
meaningless.
Know the headroom before you tighten anything. On the reference platform the
chain measures about 2.04 against a 2.10 threshold — roughly 3%. That is
thin enough that a 4x increase in reconstruction filter order (2 to 8) still
passes at 2.08; order 16 is the smallest lever that crosses it. Useful in both
directions: it is the break to reach for when confirming the assertion can fail,
and it is the reason not to assume a passing run had margin to spare.
For a ready-to-send prompt that asks another agent to perform this workflow, read and copy references/agent-prompt.md. Replace the final placeholder with the requested sound, mechanism, and any legally usable references or measurements.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Optional AAX support for Pulp, including developer-supplied Avid SDK setup, CMake enablement, DigiShell/AAX Validator workflows, and local AAX builds on macOS or Windows.
日本語の概要は準備中です。原文の説明を表示しています。
Configure, implement, and test Pulp's optional desktop Ableton Link tempo-sync adapter while preserving the developer-supplied SDK, licensing, realtime, latency-compensation, and no-install boundaries.
日本語の概要は準備中です。原文の説明を表示しています。
Maintain Pulp's installed design-time agent capability manifest and public-surface ledger. Use when adding, removing, renaming, or materially changing public audio, MIDI, signal, timebase, or sequence APIs; registering a new algorithm for generators; changing capability support or deprecation state; or repairing agent-capabilities freshness, schema, fingerprint, tombstone, or installed-SDK tests.
日本語の概要は準備中です。原文の説明を表示しています。
Android platform development for Pulp — NDK cross-compilation, Oboe audio, Dawn/Skia GPU rendering, JNI bridge, touch interaction, emulator workflows, and end-to-end smoke validation. Covers build, deploy, debug, and the gotchas discovered during bringup.
日本語の概要は準備中です。原文の説明を表示しています。
Optional ARA support for Pulp, including developer-supplied ARA SDK setup, CMake enablement, adapter companion APIs, validation, and ARA-aware plugin implementation guidance.
日本語の概要は準備中です。原文の説明を表示しています。
The measurement surface for ALL Pulp DSP and audio-pipeline work — read it BEFORE writing or gating DSP, not only when something already sounds wrong. Covers the C++ harness (signal generators, metrics, assertions, RenderScenario, contracts), the offline Audio Doctor (magnitude/frequency response, THD/THD+N, phase/group delay), and their Python sibling the Audio Quality Lab (tools/audio/quality-lab — null residual + alignment, LTAS log-spectral distance, spectral flux/centroid, HNR, Theil-Sen drift slope, Kaiser-sinc resampling, license-guarded corpus, regression-net ratchet). TRIGGER on AUTHORING work — "build/design an oscillator/filter/synth/effect", "add a DSP module", "what should the acceptance gate be", "how do I measure aliasing / anti-aliasing / alias floor", "null against a reference", "is this DSP correct", "choose a tolerance", "golden/regression corpus for audio", "measure drift or jitter", "A/B two renders" — AND on DEBUGGING work — "is there sound / no audio / I hear nothing", "does this filter/compressor/synth/delay produce the right signal", "prove the DSP / prove the contract", "measure the frequency response", "what's the THD / is it distorting", "what's the group delay / phase response / measured latency", "magnitude response curve", "render a test tone and assert", "audio regression", "64-frame works but 128 is silent", "sample-rate change pitch-shifted it", "describe what's in this buffer", "audio doctor", "compare before/after a DSP refactor". Reach for this BEFORE hand-rolling any FFT, null test, alias measurement, pitch tracker, or golden-render script — most of it already exists in one of the two lanes. Test/tool layer over HeadlessHost — deterministic, no audio device, no speakers. Off the realtime thread entirely.
日本語の概要は準備中です。原文の説明を表示しています。