HISE Logo Forum
    • Categories
    • Register
    • Login

    including external .dll in Hise

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 844 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.
    • staiffS
      staiff
      last edited by

      hello !
      maybe stupid question, but is it possible to load/use external fx (for example, or anything else) .dll in hise ?

      Example: i made a chorus, delay (or else) with another program (WDL, rackafx, etc. ...), compiled it as .dll and i want to include it in my hise project.

      Just because some another FXs (rackafx dimension-D or tremolo) are really interesting. using it in hise will be powerful.

      Excuse me i'm French.

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

        Link Preview Image
        HISE DSP API

        favicon

        (hise.audio)

        1 Reply Last reply Reply Quote 0
        • staiffS
          staiff
          last edited by

          if i understand the external .dll won't embedded in the final hise compiled project ?
          i will have 2 .dll ? hise and the other .dll ?

          Excuse me i'm French.

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

            Well, kind of. In C++ you have two ways of adding libraries to your app, either via static linking (which takes a .lib / .a file during compilation and embeds this into your app or via dynamic linking, which compiles a .dll / dylib which is loaded on runtime). There's also a third way, which is simply taking the source code of your effect and add it to your compiled plugin before compilation (this is why there is the AdditionalSourceCode folder in every HISE project folder, which is the least painful option (the other two ways both have severe disadvantages which go beyond the scope of this answer, but there are plenty of resources on the inter web).

            I'd suggest you start with compiling a .dll for your effect (this step is required anyway in order to use the effect in HISE during development). When you're ready, you might want to try compiling a static library or embed the source code directly, but prepare for nasty issues like standard library incompatibilities and compiler flag mismatches.

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

            53

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts