HISE Logo Forum
    • Categories
    • Register
    • Login

    Questions

    Scheduled Pinned Locked Moved General Questions
    31 Posts 3 Posters 1.4k 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.
    • UD AUDIOU
      UD AUDIO @d.healey
      last edited by

      @d-healey I will! Downloaded a lot of PDFs about coding.
      But it will take time..and for now I just would like to have values in my labels.

      1 Reply Last reply Reply Quote 0
      • UD AUDIOU
        UD AUDIO @d.healey
        last edited by UD AUDIO

        @d-healey KnobDsp1 is a label and it wants to be a display :D Renamed to ValueDisplay1

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

          @UD-AUDIO

          But it will take time

          Years... be prepared, or hire a scripter.

          Renamed to ValueDisplay1

          That's a terrible name, it doesn't tell me anything other than it's something that displays some value. If the label is to display the value of a gain control for example you could call it lblGain that tells me straight away it's a label control and it's displaying a gain value, so I would expect it either to be in dB or a gain factor.

          Read this.

          KnobDsp1.set("text", value);

          If KnobDsp1 is a label then that line of code should work. Post a snippet and we'll see what's going wrong.

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

          UD AUDIOU 1 Reply Last reply Reply Quote 0
          • UD AUDIOU
            UD AUDIO @d.healey
            last edited by UD AUDIO

            @d-healey I would like to have a best friend who is a genius in coding.
            But yeah..I'm prepared! Music production is also not an easy thing
            and I have learned over 15 years. I like to learn new things
            and coding is a skill I would use daily :)

            The name is indeed terrible.
            I just thought it's better to have the same name
            and just numbers for arrays etc. For quick prototyping it is fine.
            And to me it's much easier to copy like this.
            Mostly I don't need to name it, if the function is done.

            I will study the doc section!

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

              @UD-AUDIO said in Questions:

              and just numbers for arrays etc.

              Explain...

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

              UD AUDIOU 1 Reply Last reply Reply Quote 0
              • UD AUDIOU
                UD AUDIO @d.healey
                last edited by UD AUDIO

                @d-healey Can't really explain hahah.. I thought it would be needed for identifying.
                If I had an array I could say KnobDisplay1-19 and that's all.
                I do know some of those variables etc. from Unreal Engine blueprinting,
                but visual programming is not the same.

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

                  @UD-AUDIO

                  If I had an array I could say KnobDisplay1-19 and that's all.

                  Go and read all of the HISE docs and follow the links there to Javascript tutorials, it will save us both a lot of time ;)

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

                  UD AUDIOU 1 Reply Last reply Reply Quote 0
                  • UD AUDIOU
                    UD AUDIO @d.healey
                    last edited by UD AUDIO

                    @d-healey Yes I agree :)

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

                      A knob can use either parameter/processor ID or a custom callback, not both.

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

                      UD AUDIOU 1 Reply Last reply Reply Quote 0
                      • UD AUDIOU
                        UD AUDIO @d.healey
                        last edited by UD AUDIO

                        @d-healey Did read that somewhere else today. Can you explain for dummies?
                        Guess I have to get the slider value with a get function :)

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

                          @UD-AUDIO

                          Can you explain for dummies?

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

                          UD AUDIOU 1 Reply Last reply Reply Quote 0
                          • UD AUDIOU
                            UD AUDIO @d.healey
                            last edited by UD AUDIO

                            @d-healey You would laugh or cry - probably both,
                            if you would see how I'm using knobs. :P
                            I think my first fault was to put the code onInit and not onControl.

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

                              @UD-AUDIO Don't use on control, it's obsolete.

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

                              UD AUDIOU 3 Replies Last reply Reply Quote 0
                              • UD AUDIOU
                                UD AUDIO @d.healey
                                last edited by

                                @d-healey Aye! Good to know..

                                1 Reply Last reply Reply Quote 0
                                • UD AUDIOU
                                  UD AUDIO @d.healey
                                  last edited by UD AUDIO

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • UD AUDIOU
                                    UD AUDIO @d.healey
                                    last edited by

                                    @d-healey Hey mate! Sorry for not responding yesterday.
                                    I was very tired. It took me a while to understand what this means technically:

                                    @d-healey said in Questions:

                                    A knob can use either parameter/processor ID or a custom callback, not both.

                                    I do understand it now. But this doesn't say, you can't get the value somehow, right?
                                    Found some other posts with the same or similar topics:
                                    https://forum.hise.audio/topic/1037/sliders-value-to-text?=1625189564881
                                    https://forum.hise.audio/topic/709/filmstrip-knob-value-display/4?
                                    =1625189564856
                                    https://forum.hise.audio/topic/2270/getting-the-bpm-of-the-host-displayed-in-a-text-label?_=1625236096862
                                    2018-2021 :D

                                    I don't see an issue with HISE here.
                                    But do you think I should make a Feature Request for it?
                                    Just as second option for the built-in value popup.

                                    And yes...I will learn scripting - even if HISE had anything I want
                                    as out-of-a-box functions. Just because the skill is so powerful.

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

                                      @UD-AUDIO

                                      But do you think I should make a Feature Request for it?

                                      Nope. Just use a custom callback and drop the parameter/processor ID. Then you'll get everything you need.

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

                                      UD AUDIOU 1 Reply Last reply Reply Quote 0
                                      • UD AUDIOU
                                        UD AUDIO @d.healey
                                        last edited by

                                        @d-healey You also said that in one of those posts, I remember.
                                        I will try it! :)

                                        1 Reply Last reply Reply Quote 1
                                        • UD AUDIOU
                                          UD AUDIO
                                          last edited by UD AUDIO

                                          Hello :)
                                          I try to make pads for playing swappable sounds. Is this doable?
                                          My interface is just a thin strip after reopening the project.
                                          Do I need to script my buttons etc. with position and size
                                          to make use of onNoteOn/Off and onControl?
                                          Or should I use onInit only?
                                          (fixed)

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

                                            @UD-AUDIO

                                            My interface is just a thin strip after reopening the project.

                                            Your main interface script?

                                            Do you see any errors in the console?

                                            Did you save as XML or as .hip archive?

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

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

                                            12

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts