NeuralAmpModeler-rs 0.5.0

High-performance Neural Amp Modeler DSP core: WaveNet/LSTM/ConvNet inference, SIMD math (x86-64-v3), .nam/.namb loader, cabinet IR, resampling and noise gate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 Fábio Henrique de Lima Silva (fhl.bsb@gmail.com) All rights reserved.

//! Validation guards for `.nam` format (JSON).
//!
//! Split across two submodules:
//! - [`schema`]: structural (per-field) JSON deserialization guards with
//!   parse-time constants and custom serde visitors.
//! - [`semantic`]: semantic (cross-field / topology) bounds used after
//!   deserialization by the dispatcher and topology detection.

pub(crate) mod schema;
pub(crate) mod semantic;

pub(crate) use schema::*;
pub use schema::{MAX_HIDDEN_SIZE, MAX_LAYERS};
pub use semantic::*;