I am trying to get the same functionality from [line~] inside gen~. I would like to send [counter] instructions as follows:
go to 1. in X ms;
go to 0. immediately;
stay at 0. for Y ms.
X and Y will be variable.
The main challenge is working out how to tell [counter] to wait. I'm fairly sure there isn't a direct equivalent to [line~] in the gen world. The MaxMSP version is below fwiw: