HISE Logo Forum
    • Categories
    • Register
    • Login

    How to update/change Tile data?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 422 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.
    • P
      pes
      last edited by

      Hi,

      I´ve tried to set the data values for Tiles like the keyboard-tile:

      {
        "KeyWidth": 13,
        "DisplayOctaveNumber": false,
        "LowKey": 66,
        "HiKey": 127,
        "CustomGraphics": false,
        "DefaultAppearance": true,
        "BlackKeyRatio": 0.69999999,
        "ToggleMode": false,
        "MidiChannel": 1
      } 
      

      I tried:

      1. the property editor
      2. json editor (cmd+j)
      3. Code:
      const var myTile = Content.get('myKeyboardTile');
      myKeyboardTile.setContentData({
         "HiKey": 111,
      });
      

      Nothing works.
      The data switches back to previous data all the time.
      I´ve updated HISE from the development branch.

      What am I doing wrong?

      Cheers
      P

      1 Reply Last reply Reply Quote 0
      • staiffS
        staiff
        last edited by

        when changing some parameters in the data: press F5 first. and only after that recompile/save.

        if you don't do F5 your modifications are lost ;)

        Excuse me i'm French.

        P 1 Reply Last reply Reply Quote 1
        • P
          pes @staiff
          last edited by

          @staiff thanks a lot!!! this drove me crazy like... you saved my day, MERCI BEAUCOUP!!!!

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

          47

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts