Répondre à : Parse error

Accueil Forums Bugs Parse error Répondre à : Parse error

#5517
IanniX
Maître des clés

Alors, il s’agissait d’une erreur de retour à la ligne sur un trigger, certainement lié à notre éditeur de message, au niveau de , tcp:// :

	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 100 100 .1
 , tcp:// trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id ,");

La partition totale fonctionnelle est donc ci-dessous :

/*
 *	IanniX Score File
 */

/*
 *	This method is called first.
 *	It is the good section for asking user for script global variables (parameters).
 *	
 * 	This section is never overwritten by IanniX when saving.
 */
function askUserForParameters() {
	//title("The title of the parameter box");
	//ask("Group name of the parameter (only for display purposes)", "Parameter label", "myGlobalVar", "theDefaultValue");
}

/*
 *	This method stores all the operations made through IanniX scripts.
 *	You can add some commands here to make your own scripts!
 *	Scripts are written in Javascript but even with a limited knowledge of Javascript, many types of useful scripts can be created.
 *	
 *	Beyond the standard javascript commands, the run() function is used to send commands to IanniX.
 *	Commands must be provided to run() as a single string.
 *	For example, run("zoom 100"); sets the display zoom to 100%.
 *	
 *	To combine numeric parameters with text commands to produce a string, use the concatenation operator.
 *	In the following example center_x and center_y are in numeric variables and must be concatenated to the command string.
 *	Example: run("setPos current " + center_x + " " + center_y + " 0");
 *	
 *	To learn IanniX commands, perform an manipulation in IanniX graphical user interface, and see the Helper window.
 *	You'll see the syntax of the command-equivalent action.
 *	
 *	And finally, remember that most of commands must target an object.
 *	Global syntax is always run("<command name> <target> <arguments>");
 *	Targets can be an ID (number) or a Group ID (string name of group) (please see "Info" tab in Inspector panel).
 *	Special targets are "current" (last used ID), "all" (all the objects) and "lastCurve" (last used curve).
 *	
 * 	This section is never overwritten by IanniX when saving.
 */
function makeWithScript() {
	//Clears the score
	run("clear");
	//Resets rotation
	run("rotate 0 0 0");
	//Resets score viewport center
	run("center 0 0");
	//Resets score zoom
	run("zoom 100");
}

/*
 *	When an incoming message is received, this method is called.
 *		- <protocol> tells information about the nature of message ("osc", "midi", "direct?)
 *		- <host> and <port> gives the origin of message, specially for IP protocols (for OpenSoundControl, UDP or TCP, it is the IP and port of the application that sends the message)
 *		- <destination> is the supposed destination of message (for OpenSoundControl it is the path, for MIDI it is Control Change or Note on/off?)
 *		- <values> are an array of arguments contained in the message
 *	
 * 	This section is never overwritten by IanniX when saving.
 */
function onIncomingMessage(protocol, host, port, destination, values) {
	//Logs a message in the console (open "Config" tab from Inspector panel and see "Message log")
	console("Received on '" + protocol + "' (" + host + ":" + port + ") to '" + destination + "', " + values.length + " values : ");
	
	//Browses all the arguments and displays them in log window
	for(var valueIndex = 0 ; valueIndex < values.length ; valueIndex++)
		console("- arg " + valueIndex + " = " + values[valueIndex]);
}

/*
 *	This method stores all the operations made through the graphical user interface.
 *	You are not supposed to modify this section, but it can be useful to remove some stuff that you added accidentaly.
 *	
 * 	Be very careful! This section is automaticaly overwritten when saving a score.
 */
function madeThroughGUI() {
//GUI: NEVER EVER REMOVE THIS LINE
	run("center 182.047 5.99213");
	run("speed 0.357");
	run("zoom 2433.07");
	run("rotate 0 0 0");

	run("registertexture background -193.5  87.5 193.5 -87.5 Source Res Serignan oct 18/mur_partition_fleche_oct_18.jpg");

	run("add curve 11");
	run("setpos current -173.483 -6.80492 0");
	var points11 = [
		{x: -9.51415, y: 9.23959, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 158.667, y: 9.11029, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 293.435, y: 10.7008, z: 0, c1x: 36.4332, c1y: 0.305514, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points11.length ; i++)
		run("setpointat current " + i + " " + points11[i].x + " " + points11[i].y + " " + points11[i].z + " " + points11[i].c1x + " " + points11[i].c1y + " " + points11[i].c1z + " " + points11[i].c2x + " " + points11[i].c2y + " " + points11[i].c2z);
	run("add cursor 12");
	run("setcurve current lastCurve");
	run("setpos current 67.0724 3.22558 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.7797103659782493");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 27");
	run("setpos current -39.8284 36.6015 0");
	var points27 = [
		{x: -142.789, y: -2.46413, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 142.611, y: -2.46163, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points27.length ; i++)
		run("setpointat current " + i + " " + points27[i].x + " " + points27[i].y + " " + points27[i].z + " " + points27[i].c1x + " " + points27[i].c1y + " " + points27[i].c1z + " " + points27[i].c2x + " " + points27[i].c2y + " " + points27[i].c2z);
	run("add cursor 28");
	run("setcurve current lastCurve");
	run("setpos current 53.6026 34.1394 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.8276804661622259");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add curve 13");
	run("setpos current -165.406 -12.2205 2");
	var points13 = [
		{x: -18.5694, y: 13.9696, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 36.6987, y: 14.0993, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: -22.9184, c2y: -0.0258093, c2z: 0},
		{x: 96.0226, y: 14.0986, z: 0, c1x: 22.9184, c1y: 0.0258093, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 209.207, y: 14.0923, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: -36.8355, c2y: -0.19156, c2z: 0},
		{x: 280.182, y: 14.9306, z: 0, c1x: 36.8355, c1y: 0.19156, c1z: 0, c2x: -24.6163, c2y: -0.297777, c2z: 0},
		{x: 332.289, y: 15.5812, z: 0, c1x: 24.6163, c1y: 0.297777, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points13.length ; i++)
		run("setpointat current " + i + " " + points13[i].x + " " + points13[i].y + " " + points13[i].z + " " + points13[i].c1x + " " + points13[i].c1y + " " + points13[i].c1z + " " + points13[i].c2x + " " + points13[i].c2y + " " + points13[i].c2z);
	run("setposz current 2");
	run("add cursor 14");
	run("setcurve current lastCurve");
	run("setpos current 55.8579 1.94649 2");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.673244225320312");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 29");
	run("setpos current -72.8441 66.5148 0");
	var points29 = [
		{x: -110.904, y: 2.5808, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 174.523, y: 2.57629, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points29.length ; i++)
		run("setpointat current " + i + " " + points29[i].x + " " + points29[i].y + " " + points29[i].z + " " + points29[i].c1x + " " + points29[i].c1y + " " + points29[i].c1z + " " + points29[i].c2x + " " + points29[i].c2y + " " + points29[i].c2z);
	run("add cursor 30");
	run("setcurve current lastCurve");
	run("setpos current 52.4719 69.0919 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add curve 15");
	run("setpos current -173.34 -4.06227 0");
	var points15 = [
		{x: -9.90077, y: 4.57708, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 172.8, y: 4.93372, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 335.39, y: -33.613, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points15.length ; i++)
		run("setpointat current " + i + " " + points15[i].x + " " + points15[i].y + " " + points15[i].z + " " + points15[i].c1x + " " + points15[i].c1y + " " + points15[i].c1z + " " + points15[i].c2x + " " + points15[i].c2y + " " + points15[i].c2z);
	run("add cursor 16");
	run("setcurve current lastCurve");
	run("setpos current 51.5354 -11.4745 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.6753040605660316");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 1");
	run("setpos current -13.3519 8.22633 0");
	var points1 = [
		{x: -169.625, y: -2.69265, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 13.0451, y: -2.94473, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 173.981, y: 58.4572, 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 49.7251 24.3703 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.6655552048263536");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 17");
	run("setpos current -168.602 -3.2368 0");
	var points17 = [
		{x: -14.2711, y: 2.40769, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 168.418, y: 2.87905, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 289.635, y: -29.3205, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points17.length ; i++)
		run("setpointat current " + i + " " + points17[i].x + " " + points17[i].y + " " + points17[i].z + " " + points17[i].c1x + " " + points17[i].c1y + " " + points17[i].c1z + " " + points17[i].c2x + " " + points17[i].c2y + " " + points17[i].c2z);
	run("add cursor 18");
	run("setcurve current lastCurve");
	run("setpos current 51.5521 -14.1007 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settime current 236.22");
	run("settimepercent current 0.7666729936361524");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 3");
	run("setpos current -14.3638 9.82806 0");
	var points3 = [
		{x: -168.726, y: -3.08745, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 14.0932, y: -3.37688, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 133.291, y: 57.7394, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points3.length ; i++)
		run("setpointat current " + i + " " + points3[i].x + " " + points3[i].y + " " + points3[i].z + " " + points3[i].c1x + " " + points3[i].c1y + " " + points3[i].c1z + " " + points3[i].c2x + " " + points3[i].c2y + " " + points3[i].c2z);
	run("add cursor 4");
	run("setcurve current lastCurve");
	run("setpos current 47.2479 30.8153 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.7457096419543487");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 19");
	run("setpos current -32.9275 -10.1096 0");
	var points19 = [
		{x: -150.017, y: 8.06508, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 32.5921, y: 8.39648, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 195.212, y: -57.4397, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points19.length ; i++)
		run("setpointat current " + i + " " + points19[i].x + " " + points19[i].y + " " + points19[i].z + " " + points19[i].c1x + " " + points19[i].c1y + " " + points19[i].c1z + " " + points19[i].c2x + " " + points19[i].c2y + " " + points19[i].c2z);
	run("add cursor 20");
	run("setcurve current lastCurve");
	run("setpos current 49.3573 -21.8311 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.6597390409637287");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add curve 5");
	run("setpos current -175.61 0.803107 0");
	var points5 = [
		{x: -7.35823, y: 3.96481, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 175.348, y: 3.68429, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 294.498, y: 32.4428, 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 51.7578 17.0431 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.7737866696275569");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 21");
	run("setpos current -89.6528 -15.4105 0");
	var points21 = [
		{x: -93.2881, y: 12.1423, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 89.311, y: 12.5233, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 211.337, y: -50.7547, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points21.length ; i++)
		run("setpointat current " + i + " " + points21[i].x + " " + points21[i].y + " " + points21[i].z + " " + points21[i].c1x + " " + points21[i].c1y + " " + points21[i].c1z + " " + points21[i].c2x + " " + points21[i].c2y + " " + points21[i].c2z);
	run("add cursor 22");
	run("setcurve current lastCurve");
	run("setpos current 47.2592 -27.5713 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.7380570029597597");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add curve 7");
	run("setpos current -127.041 -2.63699 0");
	var points7 = [
		{x: -55.9368, y: 6.15971, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 126.781, y: 5.94482, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 288.466, y: 36.0209, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points7.length ; i++)
		run("setpointat current " + i + " " + points7[i].x + " " + points7[i].y + " " + points7[i].z + " " + points7[i].c1x + " " + points7[i].c1y + " " + points7[i].c1z + " " + points7[i].c2x + " " + points7[i].c2y + " " + points7[i].c2z);
	run("add cursor 8");
	run("setcurve current lastCurve");
	run("setpos current 52.3398 13.0923 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.6804032675811198");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 23");
	run("setpos current -14.0617 -15.9096 0");
	var points23 = [
		{x: -168.537, y: -17.3921, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 116.851, y: -17.3911, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points23.length ; i++)
		run("setpointat current " + i + " " + points23[i].x + " " + points23[i].y + " " + points23[i].z + " " + points23[i].c1x + " " + points23[i].c1y + " " + points23[i].c1z + " " + points23[i].c2x + " " + points23[i].c2y + " " + points23[i].c2z);
	run("add cursor 24");
	run("setcurve current lastCurve");
	run("setpos current 53.6213 -33.3009 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.8277152493951868");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add curve 9");
	run("setpos current -179.156 -0.789074 0");
	var points9 = [
		{x: -3.86922, y: 3.6711, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 281.549, y: 3.67656, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points9.length ; i++)
		run("setpointat current " + i + " " + points9[i].x + " " + points9[i].y + " " + points9[i].z + " " + points9[i].c1x + " " + points9[i].c1y + " " + points9[i].c1z + " " + points9[i].c2x + " " + points9[i].c2y + " " + points9[i].c2z);
	run("add cursor 10");
	run("setcurve current lastCurve");
	run("setpos current 53.1948 2.88654 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.8276275445327338");
	run("settime current 236.22");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");

	run("add curve 25");
	run("setpos current -9.49842 -62.1416 0");
	var points25 = [
		{x: -172.922, y: -5.11212, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
		{x: 112.505, y: -5.10537, z: 0, c1x: 0, c1y: 0, c1z: 0, c2x: 0, c2y: 0, c2z: 0},
	];
	for(var i = 0 ; i < points25.length ; i++)
		run("setpointat current " + i + " " + points25[i].x + " " + points25[i].y + " " + points25[i].z + " " + points25[i].c1x + " " + points25[i].c1y + " " + points25[i].c1z + " " + points25[i].c2x + " " + points25[i].c2y + " " + points25[i].c2z);
	run("add cursor 26");
	run("setcurve current lastCurve");
	run("setpos current 53.7996 -67.2481 0");
	run("setwidth current 5");
	run("setboundssourcemode current 1");
	run("setmessage current 20, osc://ip_out:port_out/curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos , tcp:// curve collision_curve_id collision_curve_group_id collision_value_x collision_value_y collision_value_z collision_xPos collision_yPos collision_zPos ,");
	run("settimepercent current 0.8276021480712501");
	run("setcoloractive current 0 0 255 255");
	run("setcolorinactive current 255 255 255 255");
	run("settime current 236.22");

	run("add trigger 47");
	run("setpos current -0.46469 1.73256 2");
	run("setposz current 2");

	run("add trigger 46");
	run("setpos current -45.4289 1.79213 2");
	run("setposz current 2");

	run("add trigger 49");
	run("setpos current 37.8152 1.848 2");
	run("setposz current 2");
	run("setposy current 1.8480000495910645");

	run("add trigger 48");
	run("setpos current 18.349 1.7 2");
	run("setposz current 2");
	run("setposx current 18.349000930786133");
	run("setposy current 1.7000000476837158");

	run("add trigger 51");
	run("setpos current 57.0217 27.127 0");

	run("add trigger 50");
	run("setpos current 52.233 17.126 0");

	run("add trigger 53");
	run("setpos current 76.4715 69.1381 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 100 100 .1 , 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("trig current false");

	run("add trigger 52");
	run("setpos current 67.479 69.0907 0");

	run("add trigger 55");
	run("setpos current 101.624 34.3676 0");

	run("add trigger 54");
	run("setpos current 73.2411 44.15 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 101 100 0.1 , 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("trig current false");

	run("add trigger 56");
	run("setpos current 101.717 -55.9316 0");

	run("add trigger 33");
	run("setpos current -182.436 0.488606 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 3 100 .1 , 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("add trigger 32");
	run("setpos current -182.161 34.1273 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 2 100 .1 , 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("add trigger 35");
	run("setpos current -181.885 -67.1693 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 5 100 .1 , 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("add trigger 31");
	run("setpos current -183.204 69.1 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 1 100 .1 , 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("add trigger 34");
	run("setpos current -182.103 -33.2805 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , midi://midi_out/note 1 4 100 .1 , 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("add trigger 37");
	run("setpos current -141.431 69.1217 0");

	run("add trigger 36");
	run("setpos current -159.825 69.1106 0");

	run("add trigger 39");
	run("setpos current -108.833 34.1931 0");

	run("add trigger 38");
	run("setpos current -121.898 34.1561 0");

	run("add trigger 41");
	run("setpos current -86.4087 -33.3051 0");

	run("add trigger 40");
	run("setpos current -97.4311 34.1167 0");

	run("add trigger 43");
	run("setpos current -66.566 69.0857 0");

	run("add trigger 42");
	run("setpos current -74.0079 -33.3467 0");

	run("add trigger 45");
	run("setpos current -42.5875 5.34224 0");
	run("setmessage current 1, osc://ip_out:port_out/trigger trigger_id trigger_group_id trigger_value_x trigger_value_y trigger_value_z trigger_xPos trigger_yPos trigger_zPos cursor_id cursor_group_id , 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("add trigger 44");
	run("setpos current -57.0117 69.0857 0");

//GUI: NEVER EVER REMOVE THIS LINE
}

/*
 *	This method stores all the operations made by other softwares through one of the IanniX interfaces.
 *	You are not supposed to modify this section, but it can be useful to remove some stuff that you or a third party software added accidentaly.
 *	
 * 	Be very careful! This section is automaticaly overwritten when saving a score.
 */
function madeThroughInterfaces() {
//INTERFACES: NEVER EVER REMOVE THIS LINE
	run("zoom 2433.07");
	run("rotate 0 0 0");
	run("speed 0.357");
	run("center 182.047 5.99213");

//INTERFACES: NEVER EVER REMOVE THIS LINE
}

/*
 *	This method is called last.
 *	It allows you to modify your hand-drawn score (made through graphical user interface).
 *	
 * 	This section is never overwritten by IanniX when saving.
 */
function alterateWithScript() {
	
}

/*
 *	//APP VERSION: NEVER EVER REMOVE THIS LINE
 *	Made with IanniX 0.9.20
 *	//APP VERSION: NEVER EVER REMOVE THIS LINE
 */

/*
    This file is part of IanniX, a graphical real-time open-source sequencer for digital art
    Copyright (C) 2010-2015 ? IanniX Association

    Project Manager: Thierry Coduys (http://www.le-hub.org)
    Development:     Guillaume Jacquemin (https://www.buzzinglight.com)

    This file was written by Guillaume Jacquemin.

    IanniX is a free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

© IanniX Association

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