HISE Logo Forum
    • Categories
    • Register
    • Login

    How to turn an Airwindows effect into a Scriptnode

    Scheduled Pinned Locked Moved General Questions
    24 Posts 8 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MorphoiceM
      Morphoice @Consint
      last edited by

      @Consint MSVC seems to be more strict about something in the Airwindows.h which CLANG on mac doesnt bother about.... I know nothing about template resolution so iI'm homping someone familiar with C++ can help...

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

      griffinboyG C 2 Replies Last reply Reply Quote 0
      • griffinboyG
        griffinboy @Morphoice
        last edited by griffinboy

        @Morphoice

        Have you tried asking chat gpt?
        If the library is small you can upload the c++ files and the error message and ask gpt to try and find what's wrong.

        It might fail to find the correct answer. But I find that 70% of issues it can solve. However there is a chance it will give you a bogus answer

        MorphoiceM 1 Reply Last reply Reply Quote 0
        • MorphoiceM
          Morphoice @griffinboy
          last edited by

          @griffinboy yeah but it only gives me unhelpful information I already know, the fact that MSVC is more strict about some template resolution. I don't know what that means and how to fix that, neither does GPT in a way that compiles. it just gives me code that produces new problems

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @Morphoice
            last edited by

            @Morphoice forget about all the noise - the issue is with your disintegrate network - the compiler thinks it‘s polyphonic but it isn‘t, hence it is missing the voice template parameter that causes the compiler error.

            Maybe it‘s best if you send me the disintegrate network as well as the one that is embedding it, might be a false positive with the code generator.

            MorphoiceM 1 Reply Last reply Reply Quote 2
            • C
              Consint @Morphoice
              last edited by

              @Morphoice I tried it with my plugin and was able to compile it in my Windows 10 VM with Visual Studio 2022 without any problems.

              1 Reply Last reply Reply Quote 0
              • MorphoiceM
                Morphoice @Christoph Hart
                last edited by

                @Christoph-Hart sent

                https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

                1 Reply Last reply Reply Quote 0
                • JulesVJ
                  JulesV
                  last edited by JulesV

                  Is there anyone who can compile more than one AirWindows plugins as Third Party?

                  I am getting the error use of undeclared identifier. When I compile these nodes one by one, there is no problem and they work.

                  I am attaching the sample project, when you do Compile DSP Networks as dll it will give this error.

                  What is my mistake here, or is this a bug?

                  AWAmp.zip

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @JulesV
                    last edited by

                    @JulesV I'm not compiling any airwindows stuff but I'm getting constant use of undeclared identifier errors. They all follow on from Use of class template 'project::overdrive' requires template arguments errors.

                    Could be unrelated

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    JulesVJ 1 Reply Last reply Reply Quote 1
                    • JulesVJ
                      JulesV @DanH
                      last edited by

                      @DanH I noticed something interesting, while almost all AW plugins can be compiled separately, some AW plugins cannot be compiled as multiple dlls in the same project.

                      For example, Tube2, Huge and Mojo plugins can be used together in a project.

                      But LeadAmp and FireAmp cannot be used together in a project.

                      But all of these plugins can be compiled individually.

                      So it is related to the AW plugin combinations.

                      Christoph HartC 1 Reply Last reply Reply Quote 1
                      • Christoph HartC
                        Christoph Hart @JulesV
                        last edited by

                        @JulesV the problem is that each plugin file is expected to be used once per project and there are a few things that you need to modify in order to make this work - it's all very basic C++ stuff.

                        Look out for the functions in each src/*.cpp file that create the plugin instances or the plugin editors and try to remove them as they aren't needed anyways.

                        JulesVJ 1 Reply Last reply Reply Quote 2
                        • JulesVJ
                          JulesV @Christoph Hart
                          last edited by

                          @Christoph-Hart Thank you for the suggestion, I will try to edit them.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          19

                          Online

                          1.8k

                          Users

                          12.0k

                          Topics

                          104.2k

                          Posts