Building a replication of a piece of gear I have (.NAM)
-
Hi everyone,
I’m interested in recreating some of the preamps from my studio so I can access their distortion and saturation characteristics at home. I’ve been browsing the forum and saw that a few people have had success using .NAM files in HISE, but I haven’t been able to figure out how to get this working myself.
My goal is to keep the build very simple: no knobs, just a minimal GUI with a bypass button, where the audio passes directly through a plugin running a NAM model.
I’m still fairly new to HISE and have only built a few plugins so far, so I realize this would be a step up in complexity. That said, I’m eager to learn and would really appreciate some guidance on where to start.
For reference, here’s the forum thread I’ve been reading:
https://forum.hise.audio/topic/11136/neural-amp-modeler-nam-in-hise/23?_=1766879787037Thanks so much in advance for any help or direction — it’s greatly appreciated.
-
@cemeterychips ive only gotten this far and cant crack this error

-
@cemeterychips Altar has working NAM:
https://github.com/nytemairqt/altar
Check the DspNetworks/ThirdParty/amp.h file, it's using RTNeural & RTNeural-NAM
Edit: Sorry didn't realize you were new to HISE, this is definitely a bit more advanced of an implementation, I had to go this route because I couldn't get the NAM node working
-
@iamlamprey you are king! thank you!!!! do I simply get the git ? soooo new to all of this.
-
@cemeterychips You can clone/download it or just copy the stuff you need from the amp.h file, you'll also have to get the dependencies like RTNeural and RTNeural-NAM
If you don't know C++ concepts like pointers and classes/structs then it will be quite a struggle, and you'll also need to connect the NAM stuff to the interface if you want to dynamically load/swap models at runtime.
Also I highly recommend David's course if you're new to HISE, before jumping into any C++ stuff:
-
@iamlamprey said in Building a replication of a piece of gear I have (.NAM):
@cemeterychips Altar has working NAM:
https://github.com/nytemairqt/altar
Check the DspNetworks/ThirdParty/amp.h file, it's using RTNeural & RTNeural-NAM
Edit: Sorry didn't realize you were new to HISE, this is definitely a bit more advanced of an implementation, I had to go this route because I couldn't get the NAM node working
Sorry, this might be a derail. But what were the fixes to HISE you made? Any reason they can't just be merged into develop?
-
@Orvillain I believe David made one into a pull request, one was from the forum (I think it was also David's, so it's probably a PR as well). the others were specific to the Rubberband library, but I'm no longer using it in Altar anyway, they were just namespace conflicts with
using namespace juce