Global Modulator and custom table label



  • @Christoph-Hart When using a Table in a Global Modulator, the info label when dragging a node shows "Not assigned" for the Y-axis. I guess it's normal behaviour because the global mod doesn't know where it is connected. However, it doesn't look neat in the GUI.

    Is it possible to do something so the label is customizable or just to have the possibility to switch the label off?
    Just having a percentage value when the table is in a global mod would be a nice solution too
    In short, anything but "Not assigned"...

    Screen Shot 2019-12-15 at 16.59.41.png



  • +1

    I'm sure I asked about this too but I can't find the thread now.





  • Alright, here we go:

    Table1.setTablePopupFunction(function(x, y)
    {
        return Math.round(x*100) + "% | Change me!";
    });
    

    Just pass in any function that converts the coordinates to a text and it'll override whatever text is being displayed. I also drive-by fixed the snap values only being updated at script compilation.

    HiseSnippet 989.3ocsV8maaaCElxwZnVadXEXG.NCL.4kLA4l3jFDLLO6D25slDuI2f1MLzwHQawEIRAIJW60k6vNB6nsivtAajhRVJstoAFH7uz6W78wGeuOpwwLWbRBKFn0XxxHLP6SzcVR49C7QDJXzw.sOVeB5x.7DbBGzeYDJIA6Azz15IRGzZTGjs92usOJ.Qcwkp.fKXDW7yHgDdo1w89ARPvPjGdBIrh260ajKiNfEvREfYKcaPDx8JzL7YHoa0zAZezIdDNK1gi33DfV89LukN9rWSU9eAIgH.pTnCvQrQJ0CYAdRDK0BF3SB7FWbnS.hcYbYIXKUI3y0Ok3QVourT7YYFfkQTsdnU61fWmpvy9tCOsJvqtBdOT2wMlDwKsntlFQ433oHwUPUXo7ETaTM8ALgGTtUH5J7vXgvpHL221dGXWa61G0znog3hHgCmihgYW8cfeCrH1YX9.VXDiJDLaoL2REkRvJAyy9ZLKJMZXJ0kSXTyoEerXG3x1MMdSSCnXEi4owT3oHtuULKk5Yt3q5HfAbaXquD9mPQsmNCCCweQqiLtVkmlFDZ.ghgE6IjQ6mx4LZGIJiYAltEPbGwoHHEWlPxTyBMMjxkf1ghhtPZJw7WrsdT2cf1VGz8Wk4rANHA+ABP440YHb8EqbL1psL3bjN.EDbonO27sOBsOpxo6LFGeN0rswaLZXbsA7sMMc5ZskuUA330ZVN+EeaAZRSCuDGWTCKbTzHdyNc82emd0AQWUUohiL5HJgedDl995+A4kRwjPsbTIROOaNnY9bP1MBfH51efhppCHCvUYh7PbDPKU+w6Ycy07yeJ64COb9Sd596NHSdQ+WN6vc+Q63CTxyPrfConzK5pjkQss0nI+7dJ4e+O9dmssVvmu6J6S2V5zgJY0YHC3ao.9mlCb0MdFxanme8+tPG77QGKQuXXNuXHJPQ3XNQV60NFOWPxpXFZneLN4JNKJqZk23I3M+f0qEkI7E8VVJ7rdul3w8Wo3eV1yGSl4Wxm+298.URU86vIrLY+FtRx9qzdf2krSP4x7RCP7axCKe7I2fnk8FDdRRMZBgur5iS2Kjy2U39P8wDtq+5was0fWY298Ldyepqo9ISmhc4kfst9vWb++tF3mXobBclf3OlHZHzOKMzQ7xuKVx3SE7sBcZ0jD.JYaorrx3fodYB+mXkariTVK2XmBifPjaL6UtpoO4ioOHSi.Szr+ong9oRY3pgNccaKaPn3M9W45JKEes.6qOlGsAwr6FDydaPLc2fX1eCh4fMHlGeqwH+8puKkyBUiIBEiOIi7SS6DpjpJqiD7+L5HeiO
    


  • @Christoph-Hart That's cool! Thanks a lot 😉


Log in to reply
 

10
Online

601
Users

2.4k
Topics

18.4k
Posts