Cabbage Logo
Back to Cabbage Site

Reset sliders within a loop / UDO

Hi,
Could a Guru help with this Csound problem : I try to reset all sliders to 0 within a loop as it is done for one slider in the previous post :http://forum.cabbageaudio.com/t/cabbage2-beta-reset-value-of-slider/538/2
In the attached short patch, only the last slider is reset. I suspect a problem between i and k value… but I tried everything without success.
Cs_testResetSlider.csd (1.4 KB)
Many thanks for help

You can do it by entering an i-rate loop after a reinit, see attached.
Cs_testResetSlider.csd (945 Bytes)