Changing a clip's color when its notes changes

    Apr 24 2011 | 6:20 pm
    So it would be really useful to me to have my MIDI clips switch color when their contents change. And I can see a brute force way to do this, clearly, with an for each clip observing "notes" triggering an associated "color" message into an live.object. But I have 320 such clips I want to monitor, which seems kind of gross.
    I'm wondering if there is a way via javascript, maybe, to monitor all clips and get the address of any clip whose notelist changes.

    • Apr 25 2011 | 8:33 am
      Ok, so I built this the brute force way, and I realize now that I have to use deferlow objects to allow the bangs from the observer to trigger the color change message. Is that problematic in any way? That is, could this potentially cause problems I'm not aware of, this deferlow trick?
    • Apr 26 2011 | 6:09 am
      Its fine, as displaying information is a low priority anyway. What you call brute force, is the way to go. I would call a js a brute force, as you would have to implement what does all by yourself...