Does State Values work for SuperDirtMod?

I learned about SuperDirtMod in the following article and am trying it out.

I tried the following patterns.

setF "tremolo" 1

d1
  $ s "superhammond/2"
  # n "[5,7,10]"
  # gain 0.5

mod1
  $ segment 32
  $ pF "tremolorate" (cF 0 "tremolo")
  # pF "tremolodepth" (0.1)

I want to control the "tremolorate" effect by state values "tremolo". I want to control the "tremolorate" effect by state values "tremolo" because I want to manipulate the effect externally in OSC.
Is there any way to support state values?

I solved the problem by changing

setF "tremolo" 1

to

streamSetF mod "tremolo" 1

Thank you.

i think this is natively integrated in tidal and superdirt now, have a look here:
https://tidalcycles.org/docs/reference/control_busses

1 Like