Closed dappertutto closed 3 years ago
@maccallum
@dappertutto
Line 19 that o.printbytes
prints is the size of the /light_phrase
message. The difference you're seeing between the far left part of the patch and the far right is because on the right, you're converting /light_phrase
to a 64-bit int, while on the left, it is a 32-bit int (Odot's natural int size is 32-bits).
On the right, change
/light_phrase = int64(/light_phrase * 1000. / 2)
to
/light_phrase = int32(/light_phrase * 1000. / 2)