Plugin not working in DAW
-
@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.
-
@d-healey You turn down the slider to make it harsher instead of up, also I exported again, same thing
-
@imakebeats said in Plugin not working in DAW:
You turn down the slider to make it harsher instead of up
Map your samples so that the softer ones are in the lower group.
Did you build HISE from source?
Which branch are you using? -
@d-healey
Yeah I built it from the master branch like 2 days ago so I don't think I missed anything -
@imakebeats said in Plugin not working in DAW:
@d-healey
Yeah I built it from the master branch like 2 days ago so I don't think I missed anything...build from develop branch
-
@imakebeats Try the develop branch, it's possible there is a bug that has been fixed - although I'm not aware of one that would cause this issue.