Forum
    • Categories
    • Register
    • Login
    1. Home
    2. pratitghosh
    3. Posts
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 19
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: NAM Model switching logic

      @David-Healey In the same conversation there are 2 replies from scottmire and sinewavekid... Do you have any information on those?

      Using a script to change between neural networks? Or using clearModel() to load a new network?

      Or if not that either, can you help with the timer to silence thing?

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey Test.zip

      Well apparently you can just upload zips straight into this forum. Neat.

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey Aye aye, cap'n.

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey Sorry I didn't understand what you mean. Do you want the project where I made that 5 model scriptnode thing? That's in a project called "API", which I made like a few minutes ago after seeing resonant's idea. Meanwhile the neuralNetwork code is from a project called TestPre, which I was working on originally.

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @resonant I'm not preventing s#it... I'm just testing out the waters. So 35-40% CPU usage isn't as big of an issue right now. Just trying to see if my idea can actually be realised. Also what's Aida x?

      As much as I gathered from other chats in this forum, you can embed models as json scripts. I'm not sure, as a noob, if I'll be able to do it or not... So I am just going the simplest route I can take and kinda brute forcing it to work.

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey 😖 😖 Why is NAM like this... Just give us normies a nice loadModel function in a simple cpp that we can just put in a third party C++ node of our own like

      #include "./loader.cpp";
      Network.loadModel(index+".nam");

      And Boom, job done.

      But nooooooo, it has to be convoluted.

      (Sorry for the rant I know it's a lot more complex than that)

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey Not a lot of code, I'm doing this 5-model thing in a new project. Here is the code and the scriptnode.
      Screenshot 2026-03-26 175307.png
      Screenshot 2026-03-26 175212.png

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @resonant This is an acceptable result. Silence is manageable. The white noise bursts are unbearable.

      Do you have any place where I can learn how to do this? Is this in the HISE Documentation?

      (I'm gonna use this technique to make a Manley Voxbox emulation. There are only 5 gain stages... Well, 10 if you count in the Line and Mic switching... And 20 if you count the xfmr in/out switch... But this can be done... I will make that plugin with this idea. As soon as I can do that silence thing, that is.)

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey
      Interface: F:\Apps\HISE\Projects\API212L\Samples

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey The same place...? It does fetch the 50.nam file. It saturates in the same way 50.nam would. That part is working. It's the drive knob callback where I try to switch models that isn't working.

      Also, I just tried out @resonant 's idea with 5 models at first and it works great, except for when it switches between models there's this white noise burst. As long as that can be removed, I think this project can be completed...

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey Yes, it does change. However what doesn't change is the object value in the neural network. I did a Console.print(neuralNetwork) inside the else and also just before the inline function. Both print out "Object:2ox7...." something. The same value. Nothing changes.

      My nam files are in HISE/Projects/API212L/Samples

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @resonant Huh... This sounds simple... Let me try it out with 8 nodes First. If it works well, I'll start on adding more...

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @David-Healey I do have the step size set to 1, I put in the rounding thing as a precaution.. Honestly it can be deleted and it wouldn't change anything...

      Ik I don't need an else, I just added it after testing it without the else when it didn't work. So I thought maybe I should add it (Ik it isn't logical, but programming Gods might have smiled upon me). Anyway that didn't work either.

      I'm not changing the value of index. The index is 50... I just don't want modelIndex == 50 entering the processing so I'm just removing that particular case from the processing.

      posted in General Questions
      P
      pratitghosh
    • RE: NAM Model switching logic

      @Orvillain said in NAM Model switching logic:

      That's probably not going to give you the result you want. It will not smoothly blend like a drive knob does, and even if it does, it will probably hammer the CPU.

      Yeah. I know that's a risk, But I want to atleast see if it CAN be done. Because I can look into optimisation later... But honestly I can't even switch the models at all...

      On that note, you got any ideas on what I could do? Maybe creating a saturation algorithm from all these nam models? Then I could make the plugin an algorithmic saturation plugin...

      posted in General Questions
      P
      pratitghosh
    • NAM Model switching logic

      Screenshot 2026-03-25 115504.png

      I have 101 nam files, 0.nam to 100.nam, I want the Drive knob to switch between those models. But the neural network stays stuck at the default 50.nam... Can someone please help?

      (Sorry for tagging you all, idk if this is the right etiquette here or not, but I saw @aaronventure and @Lurch discussing the same topic and I did take inspiration from their code to try this out. Also, @David-Healey and @Christoph-Hart, please help.)

      posted in General Questions
      P
      pratitghosh
    • Neural Amp Modeler in HISE

      I was trying to build my own plugin in HISE, with Neural Amp Modeler in the background... Like NAM Universal... I mean the concept is like NAM Universal, the actual plugin logic is different.

      I saw a few threads on different uses of NAM in HISE... But a lot of replies below them seemed to insinuate there's a better way of implementing NAM to HISE that's going to be added.

      What I want to know is that, what's the latest news on that? What is the best way, currently, to implement NAM?

      My plugin idea: A pre-amp emulation. I have 101 models, from 0.nam to 100.nam that correspond to each turn on the preamp gain knob (gain compensated). I want a main drive knob in the plugin where, when I increment the drive knob, it unloads the current model while loading the next model.

      An absolute beginner in C++ coding here. Can someone help me?

      posted in General Questions neural amp modeler nam preamp
      P
      pratitghosh
    • RE: HISE says Export Wizard is not set up even after setting it up multiple times.

      @Christoph-Hart 🤣🤣🤣🤣🤣
      BEST. DEV. EVER.

      posted in Bug Reports
      P
      pratitghosh
    • HISE says Export Wizard is not set up even after setting it up multiple times.

      I'm attaching screenshots of both the Setup Wizard that shows the finish button, and the problem I am facing.

      I will say though, compile project works perfectly. Compile DSP Networks as dll is throwing this error. The "Export As" options also throw this error, but they let me export nonetheless. What is happening?!Screenshot 2026-03-08 212521.png Screenshot 2026-03-08 212422.png

      posted in Bug Reports
      P
      pratitghosh