HISE Logo Forum
    • Categories
    • Register
    • Login

    Keyboard OctaveNumber Label

    Scheduled Pinned Locked Moved Solved General Questions
    keyboardfloating tileoctavenumberlabel
    6 Posts 3 Posters 403 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.
    • VorosMusicV
      VorosMusic
      last edited by VorosMusic

      This time just a really quick question.
      Is it possibly to change the font size of the floating tile keyboard octave-numbers, or do I need to make custom labels?

      Thanks for the help!

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

        @VorosMusic Use look and feel to create a completely custom keyboard.

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

        VorosMusicV 1 Reply Last reply Reply Quote 0
        • VorosMusicV
          VorosMusic @d.healey
          last edited by VorosMusic

          @d-healey
          Just took a quick look at it again.
          Does anyone know what function the keyboard numbers have?

          They seem to be not part of "drawwhitekeys" neither "drawkeyboardbackground"?

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

            @VorosMusic They don't have their own function, you can draw them when you draw the keys

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

            Christoph HartC 1 Reply Last reply Reply Quote 1
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              if(noteNumber % 12 == 0)
              {
                  g.drawAlignedText("C" + parseInt(noteNumber / 12) - 2, area, "centred");
              }
              
              VorosMusicV 1 Reply Last reply Reply Quote 2
              • VorosMusicV
                VorosMusic @Christoph Hart
                last edited by

                @d-healey @Christoph-Hart
                ok, than I'll do it that way!
                Thanks!

                1 Reply Last reply Reply Quote 0
                • VorosMusicV VorosMusic marked this topic as a question on
                • VorosMusicV VorosMusic has marked this topic as solved on
                • First post
                  Last post

                66

                Online

                1.7k

                Users

                11.7k

                Topics

                102.1k

                Posts