I’m learning to work with the Executable to run delayed tasks using eclipse java and max6. I don’t want to use MaxClock since
the tasks shouldn’t be repeated. the ‘WritingMaxExternalsInJava.pdf’ guide shows that the function scheduleDelay() should be available
that should allow me to run Executable classes with specified delays but for some reasons they are not available.
maybe this document is outdated.
can anyone please provide a replacement to scheduleDelay function ?
question number 2: if I create an Executable class that implements Executable in a separated file for a cleaner code,
all the outlet and inlet functions are not visible for that class. how can i overcome that problem ?
I can’t answer Q1 since I’m away from anything resembling a real computer, but for Q2: pass the parent MaxObject as an argument to the constructor of your Executable class.
thank you. works. now what’s the last is the first question :)
MaxSystem.scheduleDelay(Executable, double). It looks like a typo in the docs. The method’s definitely in
max.jar, at least according to Eclipse.
thank you! that works!
C74 RSS Feed | © Copyright Cycling '74