Independent project starters¶
RAVET Foundry provides a graphical wizard and shared Rust CLI for offline, standalone and CLAP projects, reopening saved settings, conflict-checked build metadata regeneration and explicit builds. Its consumer boundary is the same as the original Python generator below. See the Foundry guide for platform source-build instructions and template/runtime limits.
The explicit generator creates one offline gain starter in a new directory outside the RAVET repository. Its parent must already exist; an existing destination rejects without overwriting files. Consumer projects remain separate workspaces and are not added to RAVET's Cargo members.
python3 scripts/new-project.py \
--destination ../my-audio-project \
--name my-audio-project \
--license GPL-3.0-only
Package names use 1..64 lowercase ASCII Cargo characters. The manifest licence
is an explicit caller choice and does not change dependency licensing. The
generator writes a publish-disabled independent manifest, RAVET and public
reference-gain dependencies, source, README and target ignore rule.
--ravet-source path (the default) writes absolute paths to this checkout.
--ravet-source tag writes Git dependencies on the release tag matching the
checkout's workspace version, for example v0.1.0. Every RAVET dependency in a
generated manifest uses the same source, so Cargo builds one copy of the
framework. The tag must exist in the public repository.
It runs no Cargo command, device, host, window or network action by itself.
From the new directory, generate its lockfile and run the synthetic fixture:
cargo generate-lockfile --offline
CARGO_BUILD_JOBS=2 cargo run --locked
The fixture prepares borrowed stereo audio and a sample-timed gain event, processes four frames, verifies known output and deactivates the processor. Keep its generated Cargo.lock with the consumer project. With path sources, moving RAVET requires updating the absolute dependency paths. Replace the reference processor as consumer DSP grows. Format exports, MIDI/device/UI integration, product wrappers/assets, release signing and installer templates are subsequent consumer work.
Generator fixtures verify repository exclusion, manifest independence, invalid arguments and preservation of existing destinations. A generated project outside RAVET was locked/built/run offline on macOS and passed its four-frame fixture. Broader starter types/platforms and production distribution remain pending. See decision 0036.
When extending a starter into a standalone UI project, use the default
ravet-webview::StandaloneWindow Audio/MIDI settings popup. It is enabled unless
explicitly disabled with StandaloneOptions { io_settings: false, ..Default::default() }.
The consumer owns its device configuration and audio/MIDI routing; see the
standalone window contract.
The existing offline starter remains headless and creates no window.
Topics in this guide
Embedded starters¶
The default --kind offline behavior is unchanged. Add --kind embedded-rust
for an allocation-free Rust consumer library, --kind arduino for a local native
C++ library/sketch, or --kind pi-linux for a headless runnable Rust Linux fixture.
All preserve repository exclusion and existing-destination rejection. These
starters supply public reference processing; they do not install toolchains,
select a codec, flash a board or start audio. The Rust embedded starters depend
directly on foundation/embedded/reference crates without default std features,
so they omit the desktop umbrella/surface graph. The Arduino starter copies the
public C++11 subset locally; update it deliberately when the framework changes.
See embedded projects for STM32, Arduino and Pi usage/limits.