Is is possible to trigger the cycle of a continuous function in time with a pattern?
For example, I want to modulate a filter's cutoff with a saw, that is gated in time with the LHS sound pattern and has the same cycle length as each event:
s "[~ speakspell:4]!2" # lpf (struct "[~ 1]!2" $ range 0 20000 saw) # lpq 1
I believe that the above code only samples from saw as it goes from 0 to 20000 over a whole cycle
I think struct "[~ 1]!2" is not needed in this case because you use #: the pattern s "[~ speakspell:4]!2" dictates the structure and a value of saw is sampled whenever the LHS pattern produces an event.
But perhaps I didn't get your question?