Making an FX Plugin, not an Instrument Plugin
-
@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.
-
@Morphoice I should mention I'm using a dryWet slider connected to two nodes, though the min max values are the same, I cannot get rid of the warning sign next to the knob. Can this already be a cause of some issues?
-
@HISEnberg I remember seeing something about parameters outside some range in a cubase crash log yesterday, hence my suspicion. I can't find it again though and the project has changed a lot and not compiled ever since.
-
@Morphoice Nope it should be fine. You can test this by saving and compiling it as is. Sometimes this will lead to issues with the parameter not working, but it should build fine.
-
@HISEnberg so building everything from scratch with nothin in it but the faust nodes working fine in HISE does compile and build
but upon loading the vst3 into a cubase track as an effect it immediately crashes, same as it's been doing on all my attempts over the past 2 days....I didnt rename or change a thing, I built it from scratch, and it's as simple as it gets
-
@Morphoice The current Hise commits have issues, custom nodes can't be exported too.
If the Hise build you are using is current, have you tried an older version (1 month ago)?
-
@HISEnberg said in Making an FX Plugin, not an Instrument Plugin:
@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 Sorry, what I meant was that the faust files are not included in the snippet, but actually I could still 'see' the code.
I managed to compile the dll and compile the vst3 which is working in my DAW. Maybe it's related to your HISE version, as @orange said. I'm on the commit from 9 days ago...Or maybe your faust version ?
-
@Matt_SF ok let's just say I'll pass for now, as this doesn't seem to be a production ready tech and get back to coding audio plugins in a year or so. I've compiled and downloaded hise about a hundred times over the past weeks and there's only so much time I'm willing to put into this.
Don't get me wrong I'm not blaming anyone, I understand this is a free platform and I appreciate the work that has been put into it, but just about everything I tried so far has required me to bother all of you guys in the forum just to figure out that it's not working as expected, and I feel really really uncomfortable taking everybody's time any longer, maybe it's not for me, I'm not the expert developer I need to be to make audio plugins and the tools are not ready for a novice to make them succesful in trying.
-
@Morphoice That is fair, there are many experimental features from the development branch and @Matt_SF and @orange have pointed out the newest features might have bugs. In your case it might be worth working from the main branch or an older version of the dev branch instead. Also it takes a bit of learning to work with Faust, and there is a lot you can accomplish with just Scriptnode. I don't think you need to give up entirely on developing plugins, but rather consider other objectives and potential solutions.
For example, do both of these networks compile independently like in the original example I provided you? You could accomplish the same control you are looking for through scripting like this:
HiseSnippet 2329.3oc6Y0saaibEdnsoSr1jsavlVzKIL5EJEJNjTj5mMcQRrb7FiFmXD4lcKBLLnHGYMvTbXIork1fbWunuB6c819VzGk1mf1K58omyLjhT+Y60qUVfhpDHygy4mu4Lm4b9nHcXBMvi5cbb.KLjlPHJqdPD2kFGyiHJkNbTHknbG01iBR50pmCKfr2NDk0T2cHY6QgNwwTOhhxpeCNixFqQDe92OYaGem.WZ9sHj2xYtzWx5yRxu6AO82y7820widHqeAosd5dt7fVbe9..EqppSBcbO04D5qbPwVQk7Bm3dDkeqZMWCWKCZ8t505X4X4441oSi5tTa2tF0rpaaZSqp2rqAQY8m6wR3QsSbRnwvRXat2n183mGHcvaYwrN9TbfAoM3Y4s2k66gKQ7tjV8X9diCOwPvZsBAqUkAq6qtOyiM994AsuPLgVtFECfJqLI7VcB3YTDd5Ef2bfjRAHslDR2SssaDKLIeFDOel5dAIzntNv9TQnHkkrxuYE0VbPhfjs56bJc2HXvXMJWSWuhF70CdboRvdUbh1YNQZmFzYe1PsuVKSySnIs38C4AvfxaJmdyI0Q5uc+NCPMQdFpzy61k5BZHmTClE0ZVkLuPkLEtpDKvmEP05NHvMgwCz3ARfffLh6W1MCgU.a6Of9fRuuzFig0VwzjmkjDw5LHgVVOSlGmKh4BE4Cf6u3PApZJNZ4362AxyKOE9.6T.5uhmPecPYAFK8gRZSOU2tyctTa4Sil6z34unKRwxAC52gFULBgBB4XSl3pt3D2hmqbkAkBBxC1Kfk75PZvhNsQRijXRdJp.QSDo3edZJdaelGMhvfL4aqJihDAhyKt7OdB4Or2NNINY1ALI3lPZTBCWAJ6POCJUIO5rg5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EueZ.6mbuB6miypPjLV8BHo1QYzplEIFEPRNTxxNWjEqeTJcooMnozb54qrO7XB4+BDZOWOB
I am working from a recent dev branch too, excluding a few files here and there in order to compile my networks. In short there is usually some kind of solution. If you can't find it post here and someone could give you other ideas. If there isn't, put it aside for now and work on something else. There are plenty of faust nodes and examples in HISE for how to build fx.
-
@HISEnberg Oh and I forgot to mention, one of the hardest things to do while developing is to actually step away from the project. It is easy to become obsessive over solving something and over-working it. Once you get to that point it can be very beneficial to just move on to something else. Often times in a day or two you a new idea will come into your head on how you can solve that, and with a fresh perspective it becomes much easier to work on.
-
@HISEnberg I totally agree. Thanks for your help. I'll keep HISE in mind and will check where things go regularly, maybe if the current problems are sorted it makes sense for me to devote some time into audio development again. Constantly having to upgrade or downgrade my toolset to get work done is tedious though, I'm a creative head, I need to be able to concentrate on the process of creating good sound, not constantly keeping my dev environment working bug free.
I may have a look at the main branch though, I can't even remember why I started compiling my own versions... probably because something didn't work as I needed it to ;)))))
-
@HISEnberg the point is, all those errors are so far beyond my competence, I fear I put in weeks of work to make a big project and then have to scrap it because at some point I can't go on or fix something that doesn't work... i'm afraid of that a lot
-
@Morphoice You've really jumped in at the deep end with trying Faust in your first fx plugin
If @Matt_SF can get it working then it's possibly something quite trivial your end. Perhaps try the same commit as him and the same version of Faust.
I tend to stick to the same version of Hise for a while unless there's some update that I desperately want to include in a plugin. And often I have to jump through several hoops to get the project(s) working again.
It's not for the feint hearted!
-
@DanH said in Making an FX Plugin, not an Instrument Plugin:
It's not for the feint hearted!
true ;))
-
@DanH said in Making an FX Plugin, not an Instrument Plugin:
@Morphoice You've really jumped in at the deep end with trying Faust in your first fx plugin
I feel comfortable with faust, there's excessive courses and learning material
-
@DanH If by chance you come across the info that the bug has been fixed and the develop branch builds can run properly again, please feel free to drop me a line and I'll give it another try
-
@DanH through some sort of magic I got it to work, although I can't tell you what I did... I'm still trying to figure out what went wrong the first time