gogins / cloud-5

Complete browser-based computer music studio for algorithmic composition and live coding
Other
9 stars 1 forks source link

Investigate sending control signals to Strudel from cloud-5 #67

Closed gogins closed 5 months ago

gogins commented 5 months ago

I have implemented this in ISCS-2024.html and it looks like it is working, but there is no change to the piece. I will debug.

gogins commented 5 months ago

This works. The name of the control function in Strudel must exactly match the name of the control parameter, of course, e.g. Cloud5('GraphicsHue') for parameters.GraphicsHue:

const csac = await import('../csoundac.mjs');
csac.diagnostic_level(csac.INFORMATION);
let hue = new csac.Cloud5('GraphicsHue');
pure(0)
  .control(hue, "<.1 .5 .8>".slow(8))