aetherdsp-ndk-macro 0.1.2

Procedural macro for the Aether Node Development Kit — derive DSP node boilerplate with #[aether_node]
Documentation

aether-ndk-macro

crates.io docs.rs License: MIT

Procedural macro for the Aether Node Development Kit.

Use via aether-ndk — don't depend on this crate directly.

use aether_ndk::prelude::*;

#[aether_node]
pub struct Tremolo {
    #[param(name = "Rate",  min = 0.1, max = 20.0, default = 4.0)]
    rate: f32,
    #[param(name = "Depth", min = 0.0, max = 1.0,  default = 0.5)]
    depth: f32,
    phase: f32,  // internal state — no #[param]
}

What #[aether_node] generates

  • Default impl using #[param(default = ...)] values
  • AetherNodeMeta trait with type_name() and param_defs()
  • Static PARAM_COUNT constant
  • Strips #[param] attributes so the struct compiles cleanly

License

MIT — see LICENSE