HISE Logo Forum
    • Categories
    • Register
    • Login

    xy pad help with modulator

    Scheduled Pinned Locked Moved General Questions
    36 Posts 4 Posters 192 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.
    • ustkU
      ustk @duma
      last edited by

      @duma as said above:

      • this should take an array as parameter as in this example:
      g.fillEllipse([0, 0, SIZE, SIZE]); // <- 4 values in one array parameter instead of 4 separate values
      
      • NUM_TABS is 3 but you only have two panels

      • not critical, but you might consider using radioGroup buttons instead of a knob for switching your tabs

      • your code can gain being a bit more tidy, goods habit are paying on the long run 😉

      Hise made me an F5 dude, browser just suffers...

      D 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @duma
        last edited by

        @duma patience... patience... if no-one is answering, maybe we are sleeping, eating a cake, or just working on our projects...

        Hise made me an F5 dude, browser just suffers...

        1 Reply Last reply Reply Quote 0
        • D
          duma @ustk
          last edited by

          @ustk can u please help me fix the code and make it work as i dont code and i've just started

          ustkU 1 Reply Last reply Reply Quote 0
          • D
            duma
            last edited by

            also i have a problem that whenevr i save like 3+ new presets in my preset browser all fo them become unsynced with the sample map and combo box and arent going the sample maps i saved them as please also help me with that code

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @duma
              last edited by

              @duma I could just send the snippet corrected. But I feel like you might better understand the 2 little things yourself because you'll learn better this way.
              I am not trying to get rude, but I gave you the solutions already:

              @ustk said in xy pad help with modulator:

              • NUM_TABS is 3 but you only have two panels

              this means you need to set it to 2, not 3

              @ustk said in xy pad help with modulator:

              this should take an array as parameter as in this example:

              g.fillEllipse([0, 0, SIZE, SIZE]); // <- 4 values in one array parameter instead of 4 separate values
              

              this you can just copy paste, and your code should compile. If not, we'll see what you have then.

              Hise made me an F5 dude, browser just suffers...

              D 1 Reply Last reply Reply Quote 1
              • ustkU
                ustk @duma
                last edited by

                @duma The console is telling you (partly) why and where your code as issues

                Hise made me an F5 dude, browser just suffers...

                D 1 Reply Last reply Reply Quote 0
                • D
                  duma @ustk
                  last edited by

                  @ustk dude I don't know how to fix it i started coding like 4 days ago please fix it for me and explain where i messed up

                  ustkU d.healeyD 2 Replies Last reply Reply Quote 0
                  • ustkU
                    ustk @duma
                    last edited by

                    @duma said in xy pad help with modulator:

                    explain where i messed up

                    Done it 3 times already... What do you want me to do more than setting the variable to 2 and copy paste a line?

                    Hise made me an F5 dude, browser just suffers...

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

                      @duma said in xy pad help with modulator:

                      how to fix it i started coding like 4 days ago

                      Take a step back. This is not a beginner task. Get up to speed with the basics of scripting then build a few simple projects, once you feel more comfortable with scripting and paint routines you can tackle this problem.

                      This is a good place to start: https://docs.hise.dev/scripting/scripting-in-hise/javascript.html

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      1 Reply Last reply Reply Quote 0
                      • D
                        duma
                        last edited by

                        i made 2 vsts 4 projects but i wanna learn the coding now dude. So i've done the basics i just wanna know how to make a vst using lfos n stuff so i can expiremrtn with that too

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          duma @duma
                          last edited by

                          like ive released 2 vsts but made 4 or 5 alll together that are unreleased + released

                          1 Reply Last reply Reply Quote 0
                          • D
                            duma @ustk
                            last edited by

                            @ustk ive done that and it still disapears, i ssent u the snippet have u even opened it and tried, if so please let me know cause on my side it still turns off even after i do what you've asked

                            1 Reply Last reply Reply Quote 0
                            • D
                              duma @ustk
                              last edited by

                              @ustk please js send the correctd snippet bruh

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

                              31

                              Online

                              2.0k

                              Users

                              12.9k

                              Topics

                              111.6k

                              Posts