Plugin not working in DAW
-
I'm making a plugin and wanted to test it in Ableton Live, but when I try to use it, it gives an error upon scanning it saying "A serious program error has occured" and then it just doesn't show up. No matter how many times I rescan, the plugin won't show up. The paths are correct, it works in HISE and it compiles fine with no errors, so I don't know what's happening. I'm using the master branch btw
-
@imakebeats Try Reaper
-
@d-healey Re: Plugin not working in DAW
I found it's an issue with the project, not Hise or Ableton, since exporting a blank plugin worked fine. Here's the snippet, if you can figure out what's wrong:
HiseSnippet 1660.3oc6a0saSbDEd13rgXWZEf3hdSkFg3BGUf5+BToTDl3jfhf.VwAT6UnIqGaOh0yrZ2YShoB0a5CTeD5qReC3Mn8LytN6rNaRbBwo.Y8U4bly2Lm4a947MVws8ENzf.gOxp3Ni7nHqqa2YDWNn0.Bii1bMj0h1dtg8AiUG4QBBncQVVEdlpUqhyize93SVk3R3NzDWHzaDLG5KXCYxDusa9blq6FjtzcXCMhtQyMcD7VBWQHjIErqf7HNuizm9RhJr4rQVKrdWlT32QRjz.j07qJ5Npy.w97n3eCKfsqKUYTE0A5nH2aHb6pxXkWTqAL2tsGOiCPHK61Iy+BQy+aauEqK6P+I7vMzMfSPXxGVykN8JjJ8pZldULRuLRIKiTZ9nT5l1cb7YdxjVT4y2XuIWR86Q.Z2LUhhEM2FWytk.hfKevPx6na3CFGhnb8JUtG9QUprzJkJ8S+D9wG9A2xmByArOsmOEVRCv8D9XZudTGY.lv6heMCScoCgNNv.mtaflVOtoRvBZfDuGwG+btX2pXnmiSm9TYKwPOAGLJeGcq2AxC.eGxPOWpuI3XWJ75MlZzJVSaU9NuPruB7Q.T63..qhUyDQ8S.QsLQz3DPTOSDKerHHGDyAFKE6LfAzeH2QxDbL72NDWWZW79Cnb5dzwLKzPHr3mZwfwcYbZBXAWGqZIvW3V1YL+eOH6bCoKU52KUj0CWVag+kGiqtDFbUbL8+f.p7oRoOa2PIs7gdU2CbObU78i6lURfTKSH0hgTA+iFPJl.qdlvpOF1RqXDaiLisQRrIgtblgtrYne.WpTQpa.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fldUKKntyu5Egrk6dIJa4t4xVloxVh2Ujqa4phtkZmptE0d7bcK45Vx0sjqa4yEcK0x+5Vx0sbDcK0x0sbkQ2R8bcK45Vx0sjqa4KJcK0uHzs3cIpawKW2xrW2R8bcKWYzszHW2RttkbcK45V9RQ2hs8VjCtH9GEK+qa4qo+6VTaJxUsbUQ0xx4pVxUsjqZIW0x+ypVtLxxKiwXHwwW7VmneWJJ9XQsGfI35ektEg5qfM9H+fTPngPsr253jtqNBvZmWf0Ou.abdAt74E3COu.ez4E3Oe5.URMdZnTLL5BXDZq1qGsI2Z8C2jW.8e6CbnZ.
Also, I tried compiling it again, and it kept getting stuck on include_melatonin_blur.cpp
-
@imakebeats Nothing looks out of place to me. Start removing things one by one and exporting until it stops breaking. Grab a drink or something, this might take a bit. :face_with_tears_of_joy:
-
Alright, here we go...
-
@imakebeats I think you could condense that script quite a bit. I'm seeing a lot of repetition. Also you don't want to be setting the gain property of the sampler like this - first of all it doesn't work (did you check that) - but the main reason is that there is no smoothing so if you do this while audio is playing you might get artefacts like crackles and pops. Instead you should use a simple gain module.
-
@d-healey yeah, it's my first time using hise, so I just do what I can think of :)
It works for me though, idk why it doesn't for you. How could I condense the script also?
-
Also, it seems to only work outside of Hise WHEN THERE ARE NO SAMPLERS so I don't really know what to do about that
-
@imakebeats said in Plugin not working in DAW:
It works for me though, idk why it doesn't for you.
This is what I see, is this what you want?
@imakebeats said in Plugin not working in DAW:
How could I condense the script also?
There are a few things you can do but it basically comes down to removing repetition in your code. Look up DRY programming. I could include your code snippet in a video if you like to show the improvements I would make?
-
That would be great, thanks! Basically, I have each sampler have the same synth, but going from a very soft preset to a really harsh one, so when you drag up the slider, it can smoothly transition between them.
-
@d-healey
Also, do you know why I can't export it with samplers? Every time I try to export it, it doesn't work. There are no errors or anything in Hise, it works fine there, but if I try and use it seperately, it doesn't open. -
@imakebeats said in Plugin not working in DAW:
Basically, I have each sampler have the same synth, but going from a very soft preset to a really harsh one, so when you drag up the slider, it can smoothly transition between them.
There's a built in feature for this. Group Xfade. Put each set of samples in a different group and add a modulator in the group xfade section, also you'll need to enable the group XF option in the sampler's settings. You only really need multiple samplers if you want to apply different module chains to different sets of samples.
@imakebeats said in Plugin not working in DAW:
Every time I try to export it, it doesn't work.
In what way does it not work?
-
It exports fine, with no errors or anything, but when my DAW scans it, it crashes, and just doesn't open standalone. It only happens with samplers, everything else works fine
-
@imakebeats Test it with pluginval, see what it says.
-
uhh
It just crashed when I scanned for it -
@d-healey
Also, how do I get the groups to change when I move the slider? I put everything on a different group but right now it just changes every time I play a note -
I tried adding stuff to the group fade but it doesn't do anything
-
@imakebeats Ha that's great :) Does it still crash when you comment out the entire script?
Add a modulator in the Group Fade chain, and enable Group XF in the sampler's settings. You'll also need to set the tables to get the curve you want. HISE will offer you a default that will probably do the trick.
-
@d-healey
I did it, but it's inverted now. How can I make it not inverted (or i guess inverted because this is the default) Also, when I hold down notes, only every other one plays. I set the soft limit to 2 and the voice amount to 5 so that it would be mono but before it would change notes, not skip them -
@imakebeats What do you mean by inverted? Use a different voice limit and add the legato script to make it mono.