Assuming that you have a toggle somewhere in the patcher named "yoyo". You can use the pattr system to get it’s value using getvalueof.
var toggle = this.patcher.getnamed("yoyo");
Outstanding. Thanks EJ!
lets see what version 6 will bring to us!
any references / articles in this matter are always welcome!
happy patching guys!
the current version is attached.
yet super simple, build a grid of toggles than outputs bang when the playhead passes by a toggle set to ON.
need to improve it a bit to be really useful, but the main concept and code is pretty much there.
any feedbacks, suggestions, improvements, are more than welcome.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions