Bug with observing live clips


    Jun 04 2012 | 12:21 pm
    Hi, am having issues creating multiple ovservers for live clips. Using the following patch I get to create 4-5 observers for the playing position before I get a crash. Anyone else seen similar behaviour?
    thanks L

    • Jun 04 2012 | 12:45 pm
      Hi I just get a js test when copying that code. I am unable to see the javascript code.
    • Jun 04 2012 | 2:40 pm
      hi, here is js code:
      inlets=1 outlets=2
      var track = 0;
      function test() { var api = new LiveAPI( callback, "live_set tracks " + track + " clip_slots 0" );
      if ( api.get( "has_clip" ) == "1" ) { post( "has clipn" ); api.goto( "clip" ); post( api.get( "name" ) + "n" );
      api.property = "playing_position"; }
      track++; }
      function callback( args ) { post( args + "n" ); }