HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode example

    Scheduled Pinned Locked Moved Scripting
    14 Posts 5 Posters 946 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.
    • d.healeyD
      d.healey @ustk
      last edited by

      @ustk Thank you!

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

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

        @ustk said in Scriptnode example:

        You can also do it with a simple oscillator, but in this case, you'll need to connect it to a core.midi node to handle the MIDI part...

        Or just enable its UseMidi property (which is deactivated by default because unlike the FM node the oscillator is not just useful as "synthesiser").

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

          BTW, an hour long script node video from you would be invaluable, so that's my vote for Dezember (for November it's a bit late) :)

          LindonL 1 Reply Last reply Reply Quote 4
          • LindonL
            Lindon @Christoph Hart
            last edited by

            @d-healey - yeah my vote too.....

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey
              last edited by

              Well once I get the hang of scriptnode I shall do such a video :)

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey
                last edited by

                There will be lots of questions :)

                What do ms_encode and ms_decode do? The docs are empty.

                Why does the STK guitar only trigger on release when used in a script node synth?

                HiseSnippet 1208.3oc6X8zaaaCEmLNrHNMcqqqCnGM5oVftf3rr0ALfE0D6LDr3Lunjr1SELTL1DVhTShJId+A6vtra671k8UXW2gAzu.AX.8SwtsuAcOJJaKGq3D30lTrFcR7Q9n989yu2iTMiTLdbrJBgKuc2PNBOGwsqT2d01TgDsdMD9sHMnwZdTEqnU5FRii4dHLtzmYDfKOMJ84eVdEpOUx3CDgP6pD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5DulZZ4rFfxXGAErKYqlsEOlqsA6QB4MS1y2bpKbIzIz6sI6DyOupNgb1m7rQy8MdzQy8exyJJ2Gptel49eJ6OOt0u+dN1va5EkJHw++Bc04mcN2zUXsmMjeQ2eq46V64YkYbCTJcanwHZjJdiIodm0qQ0TSysrVd4lEiqwO.tMn8r.kgylG2QqBuX5.eQ7MBnrH0SY1KdZxImIUBjYKS+qtkIMLiqTEcf0kRHKL+Bn.3FdOkwLGe78gSnTrNKNA57ASfNKMA57gSfNezDnyCm.c93wpi4x0OJQqBrWs.DzrdZBLFWWRgyRlRGQ+KTjEmUA
                

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey

                  • encode => L-R becomes M-S (just a way of saying of course)
                  • Perform M treatment
                  • Perform S treatment
                  • decode => M-S back to L-R

                  Can't help pressing F5 in the forum...

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

                    Yup, Greg is right, and you'll usually slap a core.multi node between those to separate the mid and side processing:

                    73dffeb9-77af-40ac-9877-1154e2dd45ad-image.png

                    HiseSnippet 1433.3oc6X07aSbDEeV6r.N7Q+.nhiVHNDjnQwogRkpTiIw1HqFCV1g.bBMY2I1ixtyrc1wIXPU8Ru2ysW54dopW6gpxsdpRUp+Cz9e.+GPeucVmcW6kDikfTP3CV67l2aleuumYZqjNrvPohXUZygALh0Yr6NTn6udeJWPZViXcN6VzPMSU1PZsgAzvPlKwxp3sPBVkliD86YqtF0iJbXIjHjsjbG1FbetNgZ6peI2yqA0ksI2OE2qTsoiTrtzSN.vSQ6kHATmco8X2lhrUvlXch5tbsT0US0rPh0bqIcG1subegg+s3g7s8X3fJjtvBYH2P54hHF+lrdetma6Q5cHgXY2NwJTzXEtfcKtK+.5IVi2OZhxIRj1dXU3vfWkzvaobgWkbfGIE5lyfN.DR2AdTc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RHgGNxVzagDcz5OJZb46Q2iU9VL3vb30YqbHOGxeM4yg7reOumCIXpeNj63ngseSEUDFHCyXn6x74aJErvLE9BYMTrupClQml95RpJ2od1pM.kLWY5R0CTQkFhiPRew7hyzsgy9dEo3OmqFO26dilH3Vb5f6Q73BkFgwtb7N+0gLaOHIIBieHjUrCEtnxHpYCxaIExf9RAdjijHfNL3tx85wxTmNWE5lZM0Y2DJWnZGlGilNZ9JU2.hBopVliDNK1hJSus3v7WWx1.2xXlY42NdashuE81ZuDP40wi575XO7oNJ4CcLOiEFKepHJfdKhdkbnaONtbExdllw11Ks3RDenh3CcbPy8GC1m7kY4YPlOYFjYkYPlqOCx7oyfL2XFj4yNTYvlQ2bfV5aREABsqGcDEKq5BJDIGE0S9Ofl28hH
                    
                    1 Reply Last reply Reply Quote 2
                    • BrianB
                      Brian
                      last edited by

                      Scriptnode is coming along nicely! @Christoph-Hart , how stable is it running these days? Would it be safe to ship an instrument using this feature within the next month or two?

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

                        Hard to say. There are a few things in scriptnode which are as stable as the rest of the HISE codebase (I am using it for C++ generated monophonic DSP algorithms in a product which will be released in a few weeks), but other things (everything with polyphony or changing the DSP network dynamically with the scripting API is nothing that I have tested extensively and might be subject to breaking changes).

                        What is the scope of your project like (considering scriptnode)?

                        BrianB 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey
                          last edited by

                          Any idea about why the stk only sounds on note off? I also found the scriptnode synth to be a bit prone to crashing HISE when I was playing around with the other stk nodes.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          1 Reply Last reply Reply Quote 0
                          • BrianB
                            Brian @Christoph Hart
                            last edited by

                            @Christoph-Hart one of our main mics for sampling is with our holy grail mic, which is a Josephson C700s ( https://www.frontendaudio.com/josephson-c700s-stereo-microphone/), it has 3 capsules which allow you to output multiple mic patterns and formats depending on how you mix and EQ the signals ( http://www.josephson.com/pdf/srs7.pdf).

                            So far we've been bouncing down to a set pattern but I see that this could dynamically be done using scriptnode, which would give a lot of creative flexibility from the same signal on the fly :)

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

                            26

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.2k

                            Posts