HISE Logo Forum
    • Categories
    • Register
    • Login

    Using LFO in scriptnode best practice

    Scheduled Pinned Locked Moved General Questions
    16 Posts 5 Posters 1.2k 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.
    • ForeverLiveF
      ForeverLive @modularsamples
      last edited by

      @modularsamples ok, it's very good solution, but in my situation i feel like it would be easier to not use scriptnode, but just connect a slider to LFO directly with some scripting. How i should reference the LFO? With some callback to modulator? Sorry, just want make it so user can change the LFO target with a dropdown.

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

        @ForeverLive Add NUM_HARDCODED_FX_MODS=6 to the HISE juicer file and recompile HISE. This will add modulation slots for up to 6 of your scriptnode parameters and you can just assign a standard LFO modulator.

        Peek 2023-08-11 19-16.gif

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

        ForeverLiveF 1 Reply Last reply Reply Quote 5
        • ForeverLiveF
          ForeverLive @d.healey
          last edited by

          @d-healey Hi, wow, thank you. You as always just crushing it. Can i ask for any reference about assigning that modulators to target using scripting? Thank you very much!

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

            @ForeverLive said in Using LFO in scriptnode best practice:

            Can i ask for any reference about assigning that modulators to target using scripting?

            I'm not sure I understand the question.

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

            ForeverLiveF 1 Reply Last reply Reply Quote 0
            • ForeverLiveF
              ForeverLive @d.healey
              last edited by

              @d-healey i mean how i possibly can do the dynamic target for LFO so user can just use a dropdown and pick where LFO is assigned to. Thank you again for the priceless help!

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

                @ForeverLive I think the only way to do that would be to add an LFO to each parameter and bypass them all, which ever one the user selects you unbypass

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

                Christoph HartC 1 Reply Last reply Reply Quote 1
                • Christoph HartC
                  Christoph Hart @d.healey
                  last edited by

                  You could also try and use the new modulation matrix object like shown here:

                  Link Preview Image
                  hise_tutorial/ModMatrixTutorial at master · christophhart/hise_tutorial

                  The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

                  favicon

                  GitHub (github.com)

                  It basically lets you define mod sources and targets and then make the connections dynamically. The targets can either be modulation slots for sample accurate modulation or any knob on your UI with a block-based modulation which isn't as accurate but should be fine for most targets.

                  ForeverLiveF 2 Replies Last reply Reply Quote 3
                  • ForeverLiveF
                    ForeverLive @Christoph Hart
                    last edited by

                    @Christoph-Hart , @d-healey wow, sometimes i cannot believe i living in same reality with both of you. You are just superheroes in real life! Thank you very much, God bless your families.

                    1 Reply Last reply Reply Quote 1
                    • ForeverLiveF
                      ForeverLive @Christoph Hart
                      last edited by

                      @Christoph-Hart I just got this error all the time. Using late july HISE version.

                      Function / constant not found: Synth.setUseUniformVoiceHandler
                      
                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @ForeverLive
                        last edited by

                        @ForeverLive That function was added in June, you sure you're using a version built on source code from July? Either way you're out of date, update, update

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

                        ForeverLiveF 1 Reply Last reply Reply Quote 1
                        • ForeverLiveF
                          ForeverLive @d.healey
                          last edited by

                          @d-healey isn't july is after june? July month number is 7 and june is 6. I loosing my mind really. Ha ha

                          CasmatC d.healeyD 2 Replies Last reply Reply Quote 0
                          • CasmatC
                            Casmat @ForeverLive
                            last edited by Casmat

                            @ForeverLive January February march April may June July august September October November December

                            Who else sings the song while trying to recall months, or is it just me..

                            i make music

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

                              @ForeverLive Lol yes you're right, that's why I asked it "you're sure" to check if you had made a mistake. Perhaps you built HISE in July using source code from June or earlier.

                              @Casmat I didn't know there was a song...

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

                              ForeverLiveF 1 Reply Last reply Reply Quote 1
                              • ForeverLiveF
                                ForeverLive @d.healey
                                last edited by

                                @d-healey yes, you right, i updated HISE using your fresh awesome script, and it was so refreshing that i almost started to jump around and scream of happiness :)

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

                                9

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                103.2k

                                Posts