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 @treynterrio
      last edited by

      @treynterrio can anyone please just solve this for me? I still don't know what I'm missing or what I'm doing wrong

      HiseSnippet 1097.3ocsVEtiZbCD1KbaagdopQJO.q3GQfzUztji.MUscyAbUzliCURO09qDytdA2aWaztduDZTj5iReT5iTeCZGau.dS3hNgZ1efvdlO6uuY7L1SS4AjrLdJxp1yWuhfrN1d1ZlX4fkXJCMdHx5SrEjLA5r0qvYYjPjkU0ePZyp1QH02+78mgiwr.xtoPnq3z.xynITwtYm5+Sz33ywgjmSSL79T+wAb1.dLOG3QUaWzJbv03EjIXoaUrARLJjJ3oyDXfLHqiNiGtd1R9qXZ+uhlQmGSjC7PyfERO8473PIikyhFrjFGNcidyPvpLcm5qpU+CrufFR2N+tnvWpL3rCgY7vpRY5UsD87LomqA81CkrLnzQZJce6YAozUhcVj74ysGyDjzHLD1Moh1WTETU6AbvClncB9Zx4ovfsHZ1008DmNcca8M0q6.eP3OS3bCN0QFxc9VmMXWPDC3Iq3LXPyFRiM.LkgLlsJWbqXTV2.R8CkESYDmnbVffxYNb1r74vAkyxEB4w.lHkG2LXyRbBrIw4jVJruodMZjSyhYpUqVJQjmx.YTyo3KlGfigMQSJ01KozURHMAdr0QoZZmQ.NJHuVz3DMFSOzKUHVfgU5MZ4+Dsau0vsc+aDaAHs1g4IqdZ1ON6xIMkfOQgr8umwYPf.7WIEXEpu+PlY3nQKIEKBJCvwwygRil6MjISl5rRHP2BpDywgPxOQQlR7ndcYjjlMjDANF1LrkyCeniw31RuaAQYcLzLRUXChAFYwIbA4RVyV0gjT82V24cMEEsWaErOljtWyxVEoeHfMY4IyIoaOlT3HT+Ttnz91KJM6YDnSIFNxYiYTwkqHraqSBpHOB+6WFODx3xJ4h4.+VQRETIErFRtAZKpqqqYOjjcsfuBV0sIenvVnrduhp9mgmShQzPYeXU6vWusu4eF4udWSzI9KIzEKMZ212+UzPwxsS72y8oBRhtOaGsZk4SUG1Hfsyn+gQW4F9DH9g212Z9hMcnO19zN85680tt8kMwtCb+SsUmgLHu+KMHu+u4ukHk4rOeOxpLS52ysWGuG0Uok8RwcpFYU216w85A.5hJELJsRlZ5Xsl9hBMoq3ThBlxnHzPa+Ung1bh7oYWvSfECmtVeBJCeCYLaZJApozA22Q0u78T824eWTQMaOOu9m12qTvvv6aKI99W6.W3wCyiwhx2BJu5uv.TEV5pG40KrLpXs4SC9e6pw6JEuu8TpHX494Xk8vQnV8iAGKdPw8rGEEQBD6H3Q1m+qebd8.5m44BJawEXQJENNZOIOYFjrCHvtyXjXYWPqJx9U5wtxwxHvLBKTM3eguBidxwVEF81XDkfCR4uHP26U9jkOSMCvIl50Z0ruPN1wCo5GC3rca6hRfWO8hf.o7+JnE59wz4.v7nC.yoG.ltG.lGe.X5c.X5+AwHe35SyE7Dc4.LwzQpKorrFwj82UmBQ+GXAl1zF
      
      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @treynterrio
        last edited by

        @treynterrio Your snippet works here

        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 I've export it and tested it but now the text stays in the wrong label it should be in the black one above because the label where you type something will disappear

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

            @treynterrio I'm only seeing what you post, is that the code you're testing? If so then you need to change it to set the text to show where you want it to.

            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 its still the same issue when I hit compile nothing changes the console don't say Compile OK I can change in the script Name to Input or Input to Name its everything the same there must be something inside that must be changed but I don't know what

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

                @treynterrio said in permanently displayed text:

                console don't say Compile OK

                Sometimes it doesn't show but it will show above the Console

                79b36037-2d43-49ab-bfd9-343e30488e5d-image.png

                Are you using the same snippet you posted above to test?

                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 its the same

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

                    @treynterrio Can you show me a video of it not working for you?

                    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 works now in the snippet, but it doesn't work in my project. the file is created but the file will not be loaded

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

                        @treynterrio What is the difference between the snippet and 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 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
                                            • First post
                                              Last post

                                            19

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            104.0k

                                            Posts