I know you'll hate this, but there is something wrong here : https://learn.bela.io/tutorials/pure-data/communication/controlling-bela-from-a-gui/
This part won't work:
In sketch.js:
Bela.data.sendBuffer(0, 'float', [0, 1, 2])
Bela.data.sendBuffer(0, 'float', [100, 101, 102])
This will result in arrays named a and b in Pd which contain: a: [ 0, 1, 2] b: [100, 101, 102].
No, it doesn't: you're sending the data to the same array (ID='0'), so b will be empty.