<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Mar 3, 2008, at 11:55 AM, Kassen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">If I understand correctly I don't think this is a "problem with the pull model" per-se but more of a issue in two very different models touching each-other.</span></blockquote><div><br class="webkit-block-placeholder"></div>true.</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">I don't think linking all MAX "cables" to ChucK "Ugen connections" is the most sensible way of linking them. Some MAX cables will represent concepts closer to ChucK code or events while others will indeed be more like Ugen-connections.</span></blockquote><div><br class="webkit-block-placeholder"></div><div>The idea would be to instantiate a chuck object like this [chuck~ 2 5] where the first number is the number of output channels and the second is the number of inlets on the object, each of which would be receiving a stream of data from some 'external' object.  These would be represented as variables in the chuck~ script, and whenever a value of that variable was requested *during* the execution of the script (see below, this is the problem) it would deliver the currently-set value coming from the 'external' object.  This isn't hard to do, I've built other objects like this.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">How hard/possible would it be to represent such a slider as a variable event member and the changing of the slider as broadcasting the event? Perhaps a sort of virtual protocol could be created, something like Hid or MIDI except linked to MAX objects instead if hardware objects?</span></blockquote><div><br class="webkit-block-placeholder"></div><div>That's kind-of what I do now, variables can come into chuck~ as $1, $2, etc. BUT:</div><div><br class="webkit-block-placeholder"></div><div>when the script is sent to the chuck parser, those values get 'frozen' when the script executes.  This is the problem -- I want to be able to have a chuck~ variable (probably would have to be a ugen) that will dynamically change as values come into the post-parser executing script.  I think MIDI and OSC in chuck possibly work this way, but I'm not sure.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; ">I would say that here "crafting a event" might be a more fertile solution then "crafting a Ugen". My knowledge of MAX is rather rudimentary though.</span></blockquote><br></div><div>Could be -- how is chuck set up to respond to 'events' during script execution?  I'm missing something, I think.  Although this is max-oriented, I suspect that the pd chuck~ probably has a similar situation.</div><div><br class="webkit-block-placeholder"></div><div>brad</div><div><a href="http://music.columbia.edu/~brad">http://music.columbia.edu/~brad</a></div><div><br class="webkit-block-placeholder"></div><br></body></html>