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:
- the property editor
- json editor (cmd+j)
- 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!!!!