A few bugs...



  • @Christoph-Hart Ok so to begin, at init we can see in the ScriptWatchTable that,

    const var myTable = Engine.createAndRegisterTableData(1);
    

    creates an object that transforms into a table only when you recompile, which makes the table unknown at init.



  • Why don't you use 0 as index? The registered tables / audio files / slider packs are supposed to be consecutive (so actually the first call will create one at index 0.



  • @Christoph-Hart Ok that explains why I couldn't even reproduce the same snippet you gave me few days ago. And actually in my project I have 8 scriptnode tables up to 12, because the first 4 are not in place already so the counting begins at 4... Will check that in a wee moment! 😉



  • @Christoph-Hart In fact no, in my project I already created the registered table from index 0 (but I don't have the first 4 in the graph)
    But they never connect automatically. I need to recompile first in order to have the globals in the watchtable, and update all indexes in the graph anyway.

    Engine.createDspNetwork("dsp");
    
    global gainTable0 = Engine.createAndRegisterTableData(0);
    global gainTable1 = Engine.createAndRegisterTableData(1);
    global gainTable2 = Engine.createAndRegisterTableData(2);
    global gainTable3 = Engine.createAndRegisterTableData(3);
    
    global freqTable0 = Engine.createAndRegisterTableData(4);
    global freqTable1 = Engine.createAndRegisterTableData(5);
    global freqTable2 = Engine.createAndRegisterTableData(6);
    global freqTable3 = Engine.createAndRegisterTableData(7);
    
    global QTable0 = Engine.createAndRegisterTableData(8);
    global QTable1 = Engine.createAndRegisterTableData(9);
    global QTable2 = Engine.createAndRegisterTableData(10);
    global QTable3 = Engine.createAndRegisterTableData(11);
    


  • @Christoph-Hart Please try this snippet, the second table never seems to update by itself (on top of the fact that you have to recompile to get the globals)

    HiseSnippet 1269.3oc6W0sSibCE1S.uKIEp5J0GfQb0fJMJIc2sHUUsABjpnRXiHzsqTuXqYFmDqLi8HOd.RWw6Vej12f1ismIYxP.ghDza5vEXe74X+4yOe9jARgOMIQHQNUuXVLE4rMd3LtZRmIDFG06Xjy2gUzDkahujEq3h.pqhbYH0MMNfnX7wtv+HtrjjTJ5nYwjjDZ.xwYieQuANU2DY99x6NhDR39zEhPnOHX9zSYQL0BoCZ+qrvvtj.5ErnBZ+5187E7NhPQJ.1MvMPwD+ojwzy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0fDDy9aOA68xbCdoFh6fuVRhMcX1rI5duSIwgPSiOUWDmJ4PqhEZaog1VXKrVFUaCnRRqaV5+DOqyFKnkufHgFTLDkK70Zpp7Yfg83WAOOZIh5y3en7Kp8I2TVV6SEWSkkZTGd5MN9tRaOTQi0kxEe7Z3T50VuVQoVNRCaQOd.8FzcvBpvi4PovchEs9+XwyTr3Kua4XQw6ToIEUac5N6YgfMh3KEex29lgNtrkQBP5yM+dxp3954tya4DiaTuAJB98cex2W2jw2CcErZaZsF17CqgMudMr4MqgMucMr4GWCaN3AsQ+SqOLUIhrMfBBFbhI4xw4DtNu0TEg9WPEFVXa
    


  • Why do you make them global? The whole point of this system is that you can access them over the property system like with any other module that uses tables.



  • @Christoph-Hart I used global because it wasn't working, but it was an to solving the issues, effectively I will retry without. Please don't tell me it's the reason it doesn't work 🙄



  • @Christoph-Hart It doesn't work at all without globals...



  • This post is deleted!


  • This post is deleted!


  • This post is deleted!


  • @Christoph-Hart Do you want me to push some of these issues on git?



  • Nope I‘ll chew through the list when I am done with the current SNeX rewrite.


Log in to reply
 

10
Online

601
Users

2.4k
Topics

18.4k
Posts