Bug with observing live clips

Jun 4, 2012 at 12:21pm

Bug with observing live clips

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

– Pasted Max Patch, click to expand. –
#56412
Jun 4, 2012 at 12:45pm

Hi I just get a js test when copying that code. I am unable to see the javascript code.

#202300
Jun 4, 2012 at 2:40pm

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” );
}

#202301

You must be logged in to reply to this topic.