How to update/change Tile data?



  • 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



  • 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 😉



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


Log in to reply
 

5
Online

337
Users

1.0k
Topics

7.0k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.