Simulate multislider with jit.lcd

glBeatriz's icon

Hi mailinglist

I am trying to visualize 4 numbers (percentages) in a screen, and use [jit.lcd] to simulate a multislider.

It seems that in jit.lcd it is not possible to draw 4 rectangles which actualize their shape at the same time, because I must send the message "clear" to erase the previous figure and give the impression of a moving slider.

My current solution is to use one jit.lcd for each rectangle, and then add the 4 matrices in [jit.expr]. Still, the patch refuses to cooperate (the red rectangle is misteriously missing).

Where is the problem?
Many Thanks
Beatriz

outoff's icon

I suppose that is jit.expr inputs must numerated from "0" ))
In russian this method called "Metod Nauchnogo Tyka")))))))))
Cheers

glBeatriz's icon

Thanks outoff! It works nicely.
Indeed ounting from in[0] in jit.expr allows to see the red rectangle that was missing.

Beatriz