munshkr / flok

Web-based P2P collaborative editor for live coding sounds and images
https://flok.cc
GNU General Public License v3.0
263 stars 40 forks source link

double eval, loudness jumps #299

Open felixroos opened 3 weeks ago

felixroos commented 3 weeks ago

i've noticed with multiple people using strudel, it can happen that suddenly the loudness seems to double.. i assume it's some evaluation timing problem, where there's a small chance for a pane to be evaluated twice. I'm not sure if this problem is strudel only + fwiw i think it only started to appear recently, at least i haven't noticed before.

here's an example of what i mean: https://youtu.be/jdFSmr3koXg?si=pbSBBUUNYe6IxFLx&t=3470

the evaluation at 57:52 in the bottom left pane suddenly doubles the pattern for that pane. it might or might not be coincidence, but the pane on the top left is also evaluating at a similar point in time, also creating a flash glitch for the bottom left ( https://github.com/munshkr/flok/issues/296 ).

edit: it should be noted that the doubling vanishes on the next evaluation