sdatkinson / NeuralAmpModelerCore

Core DSP library for NAM plugins
MIT License
304 stars 61 forks source link

[FEATURE] Set input and output calibration levels in models. #116

Closed sdatkinson closed 1 month ago

sdatkinson commented 1 month ago

Get information from config["metadata"]["input_level_dbu"] and "output_level_dbu" into the models.

Can do this during initialization or via setters. The latter may be useful if someone wants to create an interface in a plug-in allowing users to fill it in manually (e.g. to fix old models).

So I'm leaning toward e.g. void DSP::SetInputLevel() and void DSP::setOutputLevel() as first priority.