chore: scaffold Kolmekivi from nih-plug-template
A stereo delay/echo plugin. Scaffolded rather than forked: the template
and the plugins built from it diverge on branding immediately, so they
share code by file copy — as codename-206 does — not by merge base. This
repo starts its own history.
Branded with tools/brand-plugin.sh. Everything derives from PLUGIN_NAME
("Kolmekivi" -> kolmekivi / Kolmekivi / KolmekiviParams), so no override
is pinned. CODENAME is set to the repo name and, by convention, stays
there even if the plugin is later renamed.
Two identity constants are now frozen and must never move, because hosts
key saved projects and presets off them:
CLAP_ID org.novoyuuparosk.kolmekivi
VST3_CLASS_ID KolmekiviDelay!! (exactly 16 bytes)
Host categorisation is set for a delay rather than left at the template's
generic placeholders — ClapFeature::{AudioEffect,Delay,Stereo} and
Vst3SubCategory::{Fx,Delay}. These decide where the plugin appears in a
host's browser and are not covered by the branding checker, which knows
about names rather than categories.
The DSP is not written. src/lib.rs still carries the template's example
gain parameter, so the plugin builds, bundles and loads while the delay is
implemented.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WHt4DykxXaQnyaJfyS8KCn
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# branding-sites.tsv - every place a canonical name has to appear, and in what form.
|
||||
#
|
||||
# Generated and refreshed by tools/brand-plugin.sh; read by tools/check-branding.sh,
|
||||
# which asserts each pattern is present in its file. Tab-separated, four columns:
|
||||
#
|
||||
# kind req = a missing file is a failure; opt = a missing file is a skip
|
||||
# owner the brand-plugin.sh rule that manages this row, or "custom" for rows
|
||||
# you added by hand. Custom rows are preserved across regeneration;
|
||||
# owned rows are overwritten, so do not hand-edit those.
|
||||
# file repo-relative path
|
||||
# pattern literal text that must appear in that file, already resolved
|
||||
#
|
||||
# Adding a site for something the template does not ship is a one-line edit here
|
||||
# with owner "custom" - no shell to change, and it survives the next rename.
|
||||
#
|
||||
#kind owner file pattern
|
||||
req pkg.cargo Cargo.toml name = "kolmekivi"
|
||||
req pkg.bundler bundler.toml [kolmekivi]
|
||||
opt pkg.lock Cargo.lock name = "kolmekivi"
|
||||
opt pkg.ci .github/workflows/ci.yaml cargo xtask bundle kolmekivi
|
||||
opt pkg.readme README.md cargo xtask bundle kolmekivi
|
||||
req display.bundler bundler.toml name = "Kolmekivi"
|
||||
opt display.notice NOTICE Kolmekivi
|
||||
req name.plugin src/lib.rs const NAME: &'static str = "Kolmekivi"
|
||||
req vendor.plugin src/lib.rs const VENDOR: &'static str = "Novoyuuparosk"
|
||||
req email.plugin src/lib.rs const EMAIL: &'static str = "mikkeli@novoyuuparosk.org"
|
||||
req authors.cargo Cargo.toml authors = ["Mikkeli Matlock <mikkeli@novoyuuparosk.org>"]
|
||||
req homepage.cargo Cargo.toml homepage = "http://192.168.2.199:3005/musiikki/kolmekivi"
|
||||
req url.plugin src/lib.rs const URL: &'static str = env!("CARGO_PKG_HOMEPAGE")
|
||||
req description.cargo Cargo.toml description = "A stereo delay/echo plugin built with NIH-plug"
|
||||
req description.clap src/lib.rs Some("Stereo delay with feedback and mix control")
|
||||
req clapid.plugin src/lib.rs const CLAP_ID: &'static str = "org.novoyuuparosk.kolmekivi"
|
||||
req vst3id.plugin src/lib.rs const VST3_CLASS_ID: [u8; 16] = *b"KolmekiviDelay!!"
|
||||
req struct.def src/lib.rs struct Kolmekivi {
|
||||
req struct.plugin src/lib.rs impl Plugin for Kolmekivi {
|
||||
req struct.clap src/lib.rs impl ClapPlugin for Kolmekivi {
|
||||
req struct.vst3 src/lib.rs impl Vst3Plugin for Kolmekivi {
|
||||
req struct.exportclap src/lib.rs nih_export_clap!(Kolmekivi);
|
||||
req struct.exportvst3 src/lib.rs nih_export_vst3!(Kolmekivi);
|
||||
req params.def src/lib.rs struct KolmekiviParams {
|
||||
req params.default src/lib.rs impl Default for KolmekiviParams {
|
||||
req params.field src/lib.rs params: Arc<KolmekiviParams>,
|
||||
opt deploy.pkg deploy.ps1 $Package = "kolmekivi"
|
||||
opt deploy.vst3 deploy.ps1 $vst3Name = "Kolmekivi.vst3"
|
||||
opt deploy.clap deploy.ps1 $clapName = "Kolmekivi.clap"
|
||||
|
Can't render this file because it contains an unexpected character in line 7 and column 64.
|
Reference in New Issue
Block a user