HISE Logo Forum
    • Categories
    • Register
    • Login

    permanently displayed text

    Scheduled Pinned Locked Moved Scripting
    80 Posts 4 Posters 3.8k 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.
    • T
      treynterrio @d.healey
      last edited by

      @d-healey that my project is a complete plugin

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

        @treynterrio said in permanently displayed text:

        that my project is a complete plugin

        There is no difference in the code?

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

        T 1 Reply Last reply Reply Quote 0
        • T
          treynterrio @d.healey
          last edited by

          @d-healey the difference is that the button that sets the text to the label has more than 1 function in my project. my complete project script has 1400 lines

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

            @treynterrio You need to identify the thing in the snippet that works but doesn't work in your project.

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

            T 1 Reply Last reply Reply Quote 0
            • T
              treynterrio @d.healey
              last edited by

              @d-healey it creates the file that works but It doesn't load. so it must be this part that doesn't work

              const var d = Engine.loadFromJSON("Name.json");
              
              if (isDefined(d) && isDefined(d.name))
              {
                  Input.set("text", d.name);
              }
              
              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @treynterrio
                last edited by

                @treynterrio Does it work in your project within HISE but not in the compiled plugin, or does it not work in either?

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

                T 1 Reply Last reply Reply Quote 0
                • T
                  treynterrio @d.healey
                  last edited by

                  @d-healey both doesn't work

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

                    @treynterrio

                    So to confirm, in your project's user presets folder you see a file called Name.json?

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

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      treynterrio @d.healey
                      last edited by

                      @d-healey yes it will be created when I press the button. Its there until I close the plugin and reload it then its gone

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

                        @treynterrio said in permanently displayed text:

                        Its there until I close the plugin and reload it then its gone

                        Do you have some code that deletes the file? When you say close the plugin, are you talking about the HISE project or the compiled version? For now it's best if we just focus on the HISE project.

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

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          treynterrio @d.healey
                          last edited by

                          @d-healey no there is nothing that could or would delete the file. I've that simple protection on the Button at the moment as well. its this code and after that the code for the simple protection and then comes nothing. I had this create .json file above the serial code part and this part

                          const var d = Engine.loadFromJSON("Name.json");
                          
                          if (isDefined(d) && isDefined(d.name))
                          {
                              Input.set("text", d.name);
                          }
                          

                          straight under it and at the bottom of the script. but nothing works. the only thing that works here is that is says Compiled Ok in the console

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

                            @treynterrio

                            I think you're going to need to share the project folder (without the samples, binaries, and pooled resources sub folders).

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

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              treynterrio @d.healey
                              last edited by treynterrio

                              @d-healey try this I think the error lies in this part of the code. I don't know but maybe you'll need the serial.js file then you should create an empty one

                              HiseSnippet 2295.3ocsYs0baabEFTxqiDiThSlNSeEgOjAdpMKAk3EaOMg5lSYrtvJx3oSloIADXI4VAtfCvBZw3QSyzeI8mh+ozW6a4ef6YwBPr3FEkhCdfCwhyd1y46bNe3rX645Xh87bbUJs8fEyvJk1A0eAkM4nIFD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zdvFdvLgCcG4mJJtF21pb5gjzwwZoAuKA08kqU+97XpJiN4omA6nS842ZPasQvTsz2M2na1C45iCNKK9m0RbVR6fh+PWIOWqMW6y0RekmqU79l3bFA6lCDcE4Zfa33hCGJX+dx0LJqgN9TzHx08Y9lWw2SpWNJI6Qs8HzYNVPAMK4I+wOtyvGv6ORFg3GoF0ivVHq4OXGG35ZheFpGgYNIeabibrQdb32AaLL+ZWzIiFgMYwF3CPu7u+6yIlpHN1wwmYvbIPMH5b+o8gJYSLr5Tf5j+AAJsAOETbeM98bDnOlZEby6gqvGpyuuT3C0idnxTCSWmezTjzwOl1sBFArIZvITuM5L98p5QYYHTsp0TlBUY+noI28eJrWs7mS86wb16dLm8uGyow8XNMuGyo08XNsW4b3Db.moyTQ4.LPuSB9dMkJcBky8FjEp7+wpxmMK
                              
                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @treynterrio
                                last edited by

                                @treynterrio Your submit button is momentary. That means the callback is triggered both when you press the button and when you release it.

                                So everything in your callback above this check is being done twice.

                                        if(!value)
                                            return;
                                

                                This check almost certainly wants to be at the top of the callback. Although I don't think this is the cause of the particular issue we've been discussing.

                                Also it looks like you're embedding a list of valid serial numbers in your project, is this correct? The script is not encrypted when compiled as a plugin so anyone with a little know-how will be able to see all of these serials.

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

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  treynterrio @d.healey
                                  last edited by

                                  @d-healey but the button in the other snippet was momentary too. I'll try it.

                                  and I know that this not a option to protect it. it's just a sample. I've already send 6 mails to info@hise.audio because of their licensing but I didn't get an answer yet.

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

                                    @treynterrio said in permanently displayed text:

                                    but the button in the other snippet was momentary too. I'll try it.

                                    In the snippet you put the check at the top of the callback (on line 8).

                                    As I say though, I don't think this will solve the problem. It's just another thing to check off.

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

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      treynterrio @d.healey
                                      last edited by

                                      @d-healey yeah the problem is still there

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

                                        @treynterrio HISE won't open the snippet for me today, which is strange because it worked last night... The whole snippet thing is buggy in the latest version though, hopefully will be fixed soon.

                                        Can you post the code from that snippet?

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

                                        T 2 Replies Last reply Reply Quote 0
                                        • T
                                          treynterrio @d.healey
                                          last edited by treynterrio

                                          @d-healey here is the snippet from last night again:

                                          HiseSnippet 2265.3ocsYssaaibFdjcXhsV6sYKJPukUWTPilnUTVVxIAsK8oD3M1IBVdCJJP6tTjijl0TCEHGpXk.icQeExM8UnuE4QoOB6aP5+vgGFdxV1aVdgf3L+y+78e5algSeOWKruuqGp15muXFFUaCkAKnrIGLwjPQGeHp1CTXXe11n8WLyz2GaipUa0Wv6r152CE97Key9lNlTKbZSHzabIV3SHSIrzV6a7RhiyyMswmSlJIcGiisboG353F..YUkVnYlVWXNF+JStXqnfpc+irILWuALS.MnZ2aeW6ECl39VpP92P7ICcv7WzQC.EIZ94tN1bDyaEcvDhic+XC1GAZoep4upv7+CJmRrIIsm5FdXXGpoiP1eTakrva0LvSWFdsjfWIPZEIHcOAj9JkAVdjYrzd334KTNlxvdiLA2tLTDxhVY3FJG3BRPYMmZdA94dvKIiPqaqVORE9YqmUuN358YpyM8TmQc12IvSW8upFO1wX1AtSm4RgWzZDKPCXbw+uoOl0G7RrybCXDJVaT.0hQboZi2p96qu93liff9dNNZstbmV5c02QeaX3P6CwiIzSLWf8zXdAXnQU3AZ28Rtl0za0rURiXpsPTnkq3vlPsbBrwZMFf8HlN9M+QeNrpSg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G+hSWKrE.Szv6LdckS4uqpGmkonzpYKzTnJ66sr3l+i0QnxGS66vX19NLlN2gwrycXLcuCio2cXL6dsigSvAbltSEkCPC8OJ7C4Tq1QTN2aXVH5+yBf0a0
                                          
                                          d.healeyD 1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @treynterrio
                                            last edited by

                                            @treynterrio Magic! It opens now.

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

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

                                            25

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            104.0k

                                            Posts