Controlling groove~ via js
Hi all - can anyone explain why this doesn't work? apologies for the screenshot but i can't workout how to embed a js file into copy compressed.
at the minute all i want to do is bang the js object and it sends out the messages for looping groove~. i'll obviously be able to build this up into something more useful but for now even this basic thing won't work - groove~ just carries on looping for the full length of the sample. no error messages in the max window.
Any ideas?
thanks
Matt
Probably this works:
outlet(0, "setloop", start, end);
kind of found the answer here https://cycling74.com/forums/jscript-adds-double-quotes-to-output/
you have to use a variable to build the text first then what comes out of the outlet is a list rather than a symbol
var outString = "setloop"
outlet(0, outString , start, end);
hopefully that'll be useful for someone else.