HISE Logo Forum
    • Categories
    • Register
    • Login

    Keyboard strip

    Scheduled Pinned Locked Moved General Questions
    22 Posts 4 Posters 1.3k 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.
    • d.healeyD
      d.healey @arminh
      last edited by

      @arminh Have you set DefaultAppearance to false?

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

      1 Reply Last reply Reply Quote 0
      • A
        arminh
        last edited by

        @d-healey yup

        //KEYBOARD
        
        const var keyboard = Content.getComponent("keyboard");
        
        const var datadump = keyboard.get("Data");
        
        keyboard.set("Data", '{
          "KeyWidth": 43,
          "DisplayOctaveNumber": false,
          "LowKey": 48,
          "HiKey": 83,
          "CustomGraphics": true,
          "DefaultAppearance": false,
          "BlackKeyRatio": 0.7,
          "ToggleMode": false,
          "MidiChannel": 1,
          "UseVectorGraphics": false,
          "UseFlatStyle": true,
          "MPEKeyboard": false,
          "MPEStartChannel": 1,
          "MPEEndChannel": 16
        }');
        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @arminh
          last edited by

          @arminh There's no need to do it that way. You can just setup the floating tile data in the interface designer. It shouldn't make a difference but try it anyway. If that doesn't work could you send me your keyboard graphics to test with?

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

          1 Reply Last reply Reply Quote 0
          • A
            arminh
            last edited by

            @d-healey here's my example keys.

            https://we.tl/t-7yL3bYgDMV

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

              I see the problem now. You need to have all 22 images before it will apply the custom graphics, you can't have some keys custom and others not.

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

              A 1 Reply Last reply Reply Quote 0
              • A
                arminh @d.healey
                last edited by

                @d-healey oh okey, thx for answer

                1 Reply Last reply Reply Quote 0
                • lalalandsynthL
                  lalalandsynth
                  last edited by

                  How can I use my own images and create a keyboard ?
                  Cannot see a way to add the images ?

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

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

                    Link Preview Image
                    HISE | Docs

                    favicon

                    (docs.hise.audio)

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

                    1 Reply Last reply Reply Quote 2
                    • lalalandsynthL
                      lalalandsynth
                      last edited by

                      Hmm, but there is a problem with this .
                      Its only 12 images ...what about the top key ? Which is different ?

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @lalalandsynth
                        last edited by

                        @lalalandsynth I guess it starts with a C, so img0 - C, img1 - C# etc..

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

                        1 Reply Last reply Reply Quote 0
                        • lalalandsynthL
                          lalalandsynth
                          last edited by lalalandsynth

                          @ulrik said in Keyboard strip:

                          so img0 -

                          YEs , which then repeats for each octave I assume ...until you hit the top key , which looks different then all the other keys , hehe.

                          https://lalalandaudio.com/

                          https://lalalandsynth.com/

                          https://www.facebook.com/lalalandsynth

                          https://www.facebook.com/lalalandsynth

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @lalalandsynth
                            last edited by

                            @lalalandsynth Ahh, ok my bad, I misunderstood, sorry

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

                            lalalandsynthL 1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @ulrik
                              last edited by

                              It is not possible to put in this key :)
                              15973514420311581495749038900096.jpg

                              https://lalalandaudio.com/

                              https://lalalandsynth.com/

                              https://www.facebook.com/lalalandsynth

                              https://www.facebook.com/lalalandsynth

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

                                @lalalandsynth I might be wrong but I thought the black keys were overlaid onto the white keys. So all white key images can look like the top key.

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

                                lalalandsynthL 1 Reply Last reply Reply Quote 1
                                • lalalandsynthL
                                  lalalandsynth @d.healey
                                  last edited by lalalandsynth

                                  @d-healey Yes , although I would prefer not do do that since I want a more realistic looking keyboard.
                                  Also, that does not really help unless I am only making one octave.

                                  I should allow for the 12 keys plus a top key, the default has a top key .

                                  **Also a bit strange that if you want the default keys with say two octaves you need to set the lowkey to 96 to see the top key ) but my lowest note is at 36. AAAaand the top note is a G which is uncommon.
                                  Can that be transposed somehow ?

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

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

                                    You can set lowest/highest note in the property editor. You can make an entirely custom keyboard using a panel.

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

                                    lalalandsynthL 1 Reply Last reply Reply Quote 0
                                    • lalalandsynthL
                                      lalalandsynth @d.healey
                                      last edited by lalalandsynth

                                      @d-healey said in Keyboard strip:

                                      You can set lowest/highest note in the property editor.

                                      Yes, I know , I was referring to the fact that to see the top note with a two octave keyboard (plus 7 notes) I need to set the lowest note to 96. Depends on GUI size.

                                      @d-healey said in Keyboard strip:

                                      You can make an entirely custom keyboard using a panel.

                                      That is probably the way to go, I guess using a bunch of buttons ? But that way I would lose the velocity placement capability of the default keyboard.

                                      Probably best if a 13th note image was added ;)

                                      https://lalalandaudio.com/

                                      https://lalalandsynth.com/

                                      https://www.facebook.com/lalalandsynth

                                      https://www.facebook.com/lalalandsynth

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

                                        @lalalandsynth

                                        That is probably the way to go, I guess using a bunch of buttons ? But that way I would lose the velocity placement capability of the default keyboard.

                                        No buttons required. Just paint routines and mouse callbacks.

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

                                        lalalandsynthL 1 Reply Last reply Reply Quote 0
                                        • lalalandsynthL
                                          lalalandsynth @d.healey
                                          last edited by

                                          @d-healey Yes, But I would want to use images.

                                          https://lalalandaudio.com/

                                          https://lalalandsynth.com/

                                          https://www.facebook.com/lalalandsynth

                                          https://www.facebook.com/lalalandsynth

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

                                            @lalalandsynth
                                            f97d0416-8cd7-46c7-b948-8368826dc681-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

                                            54

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts