Making an FX Plugin, not an Instrument Plugin
-
@griffinboy I can compile the DSP network but it won't show up in the pulldown for the hardcoded fx even after hise restart. the lib is there in the folders tho
-
You need to save the network first, have you done that?
-
@griffinboy of course. I click the disk symbol like a paranoid maniac almost every time I change something ;)))
-
@griffinboy then again I just realized I might not have "allow compilation" turned on... lmc
-
@griffinboy yep now all I get is a "BUILD FAILED". so that did something
-
-
Mmmmm, are you on mac or windows?
I've only ever done it on windows.Have you tried exporting a simpler network to see if it's just your faust node at fault?
-
@griffinboy it works with sompler ones, however it works too if I completely scrap the faust node and rebuild it from scratch with the very same parameters.... ;-/ for now
-
@griffinboy no luck today. after it finally compiled fine, it crashed the DAW. I give up.
All it was was a simple faust demo reverb and 3 knobs to control it. I can't even do that lol -
I'm sorry but I don't use FAUST at all, it's not within my area of expertise
: /If the compilation works for simple nodes, then it's very likely an issue with the faust node.
Maybe a new forum post, that includes details about how you've set up the node?
Others who have done it before may spot what is wrong. -
@Morphoice so you have the faust scriptnode fx in a Hardcoded FX module? i.e you have successfully compiled the network as a .dll?
-
@Morphoice can you share a simple snippet of your project?
-
HiseSnippet 2902.3oc2Z07TbibEuEfXMiwIwwd2rGU4jC3svCRZjlOVWo.CCrlrF6oXHNaJWTTBodXTg9Zkz.LwkqZqbJ+Krmy+.4VtkZulKox+Aw+IjK4bxq+PRslY.FXgMwY1svRc2u2626i90utagOKEG3fcNHIvMJBmhPRy1INzFmjDFijpr2vHLRZQ4tCCR6uQeK2.z1sg1kaaEeb2TqXz5CirRRvNHIoY+BR+RKLGh96et55VdVA13hlPnWG5ZiegquaZQqcV6Kc871xxAumquvnMVaa6vfMB8BG.XYVYUTjk8wVGgeoEYXyHidtURejzmIW2tko5gXUSylF0ZZXT2ntoZO0Z8NrYciCq0vnligolcMjz7a53lFFCPOEmfjla8Pmgc6GdZ.S.u1Mw8POL4EMTWPxrl2JzygnhjVQaz20yI2Hk.lLYAS1rLS1Ck2w0wMu8BS2Og1gRAEhFPoYJCuYKAOMQ3oJ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CM1O+LqFWqMGAhELNysddr0b+7QLFWaIDNlyPl+DhKtX+o19jJBD7m4QUDjjSt.Rpue18+MNRzDPRATxhNOON1Xe985MJC0YrSsPyd2SQnwRb7IkRbPlOUJugzauUSaTL02wu5ItoVdGPryNX+vmVAg9OqCLLRA
-
@Morphoice I don't see anything weird at first sight... But I can't test the compilation, the faust code is not included in the snippet. Can you tell me which faust fx demo you used for the delay and reverb ?
-
@Matt_SF The faust effect is in the snippet but it isn't compiling for me either, so I think that is where the issue lies.
-
@Morphoice I wouldn't stress too much, it would appear that somewhere along the way your FX network has been corrupted. Did you at any point change the name of a parameter or the network itself? Perhaps even hit the space bar when naming one of the parameters? These are all things that could break the network.
Another issue is that I don't think HISE really cleans all of the FX locations when you use that feature, there are some files stashed elsewhere that can cause issues. Here is what I recommend.
Start a new project. Yes it is annoying but you generally want to start from the FX before doing anything else in your project, like setting up the UI or creating presets.
Load each faust network in 1 at a time (depending how many you have, build the scriptnode network, and compile. I did this with the files you provided me and they are compiling fine now.
When naming parameters, stick to Camel Case (so only letters from the alphabet). A good habit is to name them knbParamterName. Don't rename your fx network after you make it (you can do this once you know how to edit the xml data, but it will cause issues otherwise), and don't use any spaces or special characters.
Here is a snippet with both the FX you are using. These should compile correctly, so feel free to reattach the connections you were using previously. Yes it is a pain but you will probably loose less time and sleep trying to rebuild from scratch then figuring out what went wrong in this situation.
Another useful trick is to copy range to source. Double click on the parameter, then right click it like in the GIF below. This will set your macro control to have the same range.
HiseSnippet 2073.3oc6Y07aiabEenro8ZEm1DjE4POQXzCxEZ0RpuUVTXGKak0nwdEV4tM.KDDFQNzhPTbXHGYKkEAnG5g9uPt0q8Ru2a4ZAxeDo8bAZu0isuYFJQJIK6cUkBP.B2E1bl48wu2Gy683tjQLhmEwpSnmiuOggPJa0LfZRBCoAHkzWM1mfT1Ws0XOVu58vNdnyOEorsZiQnSF6iCCIVHEks9L9IJ6sMR77uO5DrK1yjDuEB8JpiI4ycF3vh2s4w+FGW2FXKxUNC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yAgLKAi4bc5dvgOKczD3Z+ZMqA4D.nS.4lNVjAzmkFgVJVmLqyLXM01auQAaZn.RGnPBf1dgtNVjfLGDUW40b38IvGP09frZvWoB+HqlA+U8RbNSXnZD6b.W+NBCHmD.UQBYXnLB8VPdQZHK3D.vx4T9FvGLS4DqNiEKqFeNlrZ74IxpQvAti6vavmUaRa1rZPKGvSBs7juZCseNLsvneS5zZvC2Uec.cnelQGBZ3F46G7Z81ZeVjpNH6H.EbhE+XfynjbDKfdI3ErKNaQ7Yw.Bi4apm605FsmNKn1qCYigHUeOZWoKLuv4oC9PibEKIWnaLUnfwuLwluczHdKHT4egO4NR1SjF2ItLoUns3z4DkQTTtv7.KNRrLAVr8zAwVzpKMGDiE7jv5xDao1SoXAoVKQ53TAJimPdw8GOMf3I0JQ7bZVEGISYOARJ2dxnVKhDiDHIFJSxNWlDqzNZ5o4EXdo3zisru9YHz+C.4bwIm
-
@HISEnberg thanks I'll retry from scratch paying attention to the things you mentioned... seems this is much more fragile than I expected it to be
-
@Morphoice It really just takes time, head banging and asking the forum. These issues are not well documented and it is difficult to know where any issue lies. Generally, searching/asking on the forum is the quickest and most painless way to resolve these issues.
-
@HISEnberg Ireally appreciate this forum, I just feel like going onto peoples nerves..
I'm building everything carefully up from scratch now
The copy parameters to source doesn't work though, I still get this mismatch which seems odd since the values are the same just more decimals
-
@Morphoice Yes, Faust can operate on more floating point values then HISE. It doesn't matter, it shouldn't effect the compilation process, you can just ignore those.