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 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
                                          • UD AUDIOU
                                            UD AUDIO @d.healey
                                            last edited by UD AUDIO

                                            @d-healey

                                            My fault was to use the NoteOff function on NoteOn.
                                            No errors and I did save as XML and archive.
                                            I tried again and my interface is fine now.

                                            If there is no sample drag&drop for samplers, could I use audio loop players instead?
                                            If yes, what would be an "elegant" way to do that?

                                            • connecting loop player + note events?!
                                            • a way to drop a sample right onto the pad?

                                            I'm using the last scippet by Christoph Hart found in (https://forum.hise.audio/topic/531/like-a-drumpad/11?_=1626170462645)

                                            HiseSnippet 1935.3oc6Z9saabiEGdFaOEVtwKZ2zBzK5E7hdgLPpilwxNNMnaksjbgpsr0ZIm1fhh.lYnrX8HxYmgxNBoFH6hEKJVTrn8AXA5iv9Hz9FzGg8QnuAcIm+ngRVzQRM16fDKXX3gCOje7vejGJySCepMJHf5qomqUeOjl9sLZ1mv5TtCDSzpUQS+MMpUt5i.M1pRSss66ACBPNZ55y+ohJnmaAsvO+5mrMzERrQoEoo8PJ1FsGtKlkVZiR6hcc2A5fZg6JU6hkpYSIkotzdbXl2nflGz9D3wn8ghpMmgl9aT0Ayn9MYPFJPSegsoN8a1gdFIp9ODGfehKR7foVSdCEU7NTWGAwhR0J2A65zHYPGnooazH0ELejK3cLpicvCJO0U7Vgu.jZgr+PetKCOSY7JL43oKg2BQ381FMs8wdrz2DOMQXH+1P9TfLVQ0Uate1v.TlxqBg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+BXvKAGTm1kaEzuez9TAbWSMRCdbZDSoR4RHUoKMyQ5Zxqk+WYYRKJQ5h+PVlz0UoS+kuIiQ5FpzoYNRumJcZlizMUoSybjdeU5TPuLBoKkryeAUB0rGplpTpYOTsTIUydntlJsZouNqgZQUZ0rGpqqRql8PcCUZ0++f5E+BKuoQCnydhVWdGfe7uKg5O87RoeUs2+Beqylt7uYl4pdjiG8ry3Kb1Y7veQlSk+e9Nk3JuKv2+sSItVW63JuSvS+toD20t1wUd2fhe+ThawqcbWWk18G6mE0tanR6lMw8dpztYSb2Tk1Mah68Uoc+u+krCt2JMLQAUh2LJulpTuYTdsTIeyn7tlJ8qlSlj2hpzuSBuVW+7ttJ86jv6ZW+7tgJ86jv6KiiNbwTB3sLpSc54BYCmsBhTzH9EX9A2kSK.wM+SBvr9xovwURJLLo391FMDWl634ctwvq3toth4MNgPV1nZ61HaVJrKXryWb0m8Gxnrnhzy4VFhqSh+j3RJdIjeNdSb94nO+UQ937FY57w4l0duNt161InDdcZhaSCEkzUi8lBUuH7Wd4uHjuafMeZCIKkBmKa4CsOAyi0H0UBLqlDWIs3CozvTLRNI8ZB654Fc817lenZiNE4GLbKryU3k12U3Aitg4tvmljl.t7gxPW9ta3XaPZDb4aNYNiaNsvMaNEh67SFtuf7YLWBiMwBwVUxoHW9RqPF+iFUPsg8bYIkN75p5TB0qCkfsGVZx7wGeLxWl8wNf1hw3KORK4cJcXThRkVzGTZOdPUn+nqtlBeg4j6Ktr4q2yHBWfXy.vqFAUl+0yfJGR6w3aJWGxEph8x1uW2l78xsQbRHDjqHqtzmSj+UQOWHY6slHhS3C+F+S7KMEOqG+RyjWNqAtrd8Nv0bFiIRSRfEUQZB0r2Do4UqHMV2Do4lHM2DoYBhz7pRezEZ6SercTxAKVurXXIbeKIL1PNi5hmACRnYCiBqVfGuvA+XaawT5GZpoMdarlAaVaFro3LXy5yfMaLC1buYvlMuTaDA71pGi1MZ4NufFUCSuZc8AmSPeds+2Wab+8
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            16

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts