Répondre à : trigerring cursors

Accueil Forums Scripts trigerring cursors Répondre à : trigerring cursors

#3470
IanniX
Maître des clés

Please copy and paste this in a new score to test:

run("add curve 1");
run("setpos current -2 0 0");
var points1 = [
	{x: 0, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	{x: 4, y: 2, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
];
for(var i = 0 ; i < points1.length ; i++)
	run("setpointat current " + i + " " + points1[i].x + " " + points1[i].y + " " + points1[i].z + " " + points1[i].c1x + " " + points1[i].c1y + " " + points1[i].c1z + " " + points1[i].c2x + " " + points1[i].c2y + " " + points1[i].c2z);
run("add cursor 2");
run("setcurve current lastCurve");
run("setpos current -2 0 0");
run("setspeedf current 1");
run("setpattern current 0 0 1 -1");
run("settime current 0");

run("add curve 5");
run("setpos current 0 0 0");
var points5 = [
	{x: 0, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	{x: 3, y: 0, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
];
for(var i = 0 ; i < points5.length ; i++)
	run("setpointat current " + i + " " + points5[i].x + " " + points5[i].y + " " + points5[i].z + " " + points5[i].c1x + " " + points5[i].c1y + " " + points5[i].c1z + " " + points5[i].c2x + " " + points5[i].c2y + " " + points5[i].c2z);
run("add cursor 6");
run("setcurve current lastCurve");
run("setpos current 0 0 0");
run("setpattern current 0 0 1 -1");
run("setcoloractive current _trigger_active");
run("settime current 0");

run("add trigger 3");
run("setpos current 1 0 0");
run("setmessage current 1, direct:// setSpeedF 2 1 , midi://midi_out/notef 1 trigger_value_y trigger_value_x trigger_duration , tcp:// trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id ,");
run("setcolor current 151 209 38 255");

run("add trigger 4");
run("setpos current 2 0 0");
run("setmessage current 1, direct:// setSpeedF 2 0 , midi://midi_out/notef 1 trigger_value_y trigger_value_x trigger_duration , tcp:// trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id ,");
run("setcolor current 255 0 0 255");

© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos