HISE Logo Forum
    • Categories
    • Register
    • Login

    look and feel slider retaining HISEs value modes?

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 336 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.
    • StraticahS
      Straticah
      last edited by

      Hey there, my plugin has about 15 dials showing different parameters like values from 0 to1, pitch -12 to +12, some milliseconds some divisions and so on. So most of the dials have a specific "mode".

      Once i use look and feel to draw my dials they loose this functionality and just display numbers. What is the best way to keep those or is there a way to acess the original laf setup that the core HISE dials are using and going from there? I decided to not go for filmstrips this time since i have to deal with the display of numbers and divisions :) Any ideas on how to tackle this?

      d1b3966d-f4ae-4d7d-ae3a-d84d3ac61bc2-image.png

      Also attached an image on where i want to head with this:

      19853186-4717-481e-94c1-d5ad97862855-image.png

      building user interfaces in HISE :)
      web: www.vst-design.com

      d.healeyD oskarshO 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @Straticah
        last edited by

        @Straticah You can get the value from the obj in the laf function, I think the suffix is also available there. Use Console.print(trace(obj)); to see what data you have access to.

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

        StraticahS 1 Reply Last reply Reply Quote 1
        • StraticahS
          Straticah @d.healey
          last edited by Straticah

          @d-healey hey david, yes i got the suffix to work how would i go with the divisions? 1/4 for example? Its 0-18 in LAF but i would need 1/1 to 1/64T

          building user interfaces in HISE :)
          web: www.vst-design.com

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

            @Straticah Oh right, i think there's an engine function to get the tempo value. I'm not at the computer right now to check .

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

            StraticahS 1 Reply Last reply Reply Quote 0
            • StraticahS
              Straticah @d.healey
              last edited by

              @d-healey alright no problem, i will see how far i get with the slider/value combination i have.

              building user interfaces in HISE :)
              web: www.vst-design.com

              1 Reply Last reply Reply Quote 0
              • oskarshO
                oskarsh @Straticah
                last edited by

                @Straticah Use obj.valueAsText

                see example here:

                HiseSnippet 1191.3ocsWssaaaCFlxIJa1csXcnO.D4l3.XXjCdcEXXn14f6Lxg5EmVrghgBZIJaNSQpQQkDkfBzK1E6MXX6p8Dr62UKuC6IXuA6hc+1OkjskabRbbwzEIhj+eTee+GH+cakzgFFJUHqhGGGPQVejcmXgt+18ILAp0NHqGXe.ITSU3zo1JNfDFRcQVVK7LyDVEWDk772OcKBmHbnimBgdoj4P2m4yzimsc88XbdShK8XleNqqUukiTrsjKi.9rf8Zn.hy.RO5gDiYErQVKsqKSKUczDMMDYs3VR23N8kmJRs+krPVWN0LXcTGXiRmtoj6ZXrYVz18Yb21C0cHB1k1i8BKj5Edj8ALW1n4G6M93jEviQj2eXUXR5svDza8qidSgRV4nzhoT5g1cbTr.83UL74d1sDPvwi.t87TI0VTg+of81RvBgtpOY.soBFLBQ4Gu1ZUvveV8yKUBb8gZ7IDEtgRQhweA9UCQ1ip2V5GHEvfxKumP1c8kWsRI7UetdDabmQr4cFQskWcZ.9VPc4j29MZBha3t3nnPvZeoCguuTNngvsIkxKa7HfgUUzdLS1eyHgilIEkWwUQN8Holnh6vYtT0JUvgIu.laP4IU3xCDcwLQpmbU7EkJVpHLU0Pp9JeoTXEK8lRkXBNSPwdYeqw6a4dUvxteWxNwMa.l.R.loJAnuAcQPOgRNsZfhAtCsxDdMPR16h8Le5zJqxo+Kr5o8YPVpub.0XSupFg0fy5IntGSOSaPW8DBOh1HzLtBlTAuhC3yTT2U.HuYDOkhCkZ5yEkWszEIJA+tK44M00LAAkjyopotr43A0MArrHxuKUUAmvyQFB0LSVHtzrUH5jlSjyPonkfoed.Ma7MeRBJKoxblRFCAS0IkuOHq7MMoAwfM4CrSJkPIjO+glnYF7FuOf278Abso.9Es1gnIliuxbDfyIfpzLSLvZG5IvcAoGlUzdGZ3.sLHwSkUDCW9bq9pyPV1V6AeqXyKOAdITGahjKkX.xm45xoskgLSlRtKm9CnJNnC67DFewi9sm8Wm+CO0O+8WHjO4r7WmEF44wNK4hGOF2OTCbpkObeDx5SreQHE6R8HQbMNb.rOPo6.nxQlXOJmnt+sFCy8UOtd7nAu8U0uMwYYrK3mpmWbCo+DhqV87h6G+y5CEmsM9KO+NqOeoK0b4SSE86inBm3IT78t0DuwT4xixo3e0s9rENWd5JNe7ai5yqnNlBJA5Bx4NEFqkSTu8qxGFGLagQzFWlWT+xOad98ICieykSnQH6ebXzcq4LLZJFcXcobn0rqz1AzvizMhSzS1Ejo0urELZHeqGl1KDf1hyGZd2ViV75OQdsYtysYktOztMS6ze57svT3KbD1+27MqQy6auqmG0QOlrKZ27quwtJuyTYZcXhNRFoYhdGPfzES9ygQ9cf1Bbn.SDBJOzb9ZAyMBoiWyL13Y5PEtIC9W3Iaw0MisxVb8gKBmm5nju1I8JESaseXxL.mDIczWD9oEvX7TtBDpQXu1wYxs5J.2XdAt47Br17B7SmWfOddA9YyKvmb6.M+HnFQZoeZ4DBcP6cSt62xZWAAxFSxbQ+GPPuKtd
                

                HISE Developer for hire :)

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

                  Oskarsh has the right idea :)

                  The function I was thinking of is this one

                  8a69bb84-140f-470a-a08a-3f0c287418a9-image.png

                  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

                  19

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.6k

                  Posts