external time control

Accueil Forums Feedback external time control

  • Ce sujet contient 3 réponses, 2 participants et a été mis à jour pour la dernière fois par Roland Cahen, le il y a 10 années et 4 mois.
4 sujets de 1 à 4 (sur un total de 4)
  • Auteur
    Messages
  • #3436 Répondre
    Roland Cahen
    Invité

    Is it possible to control the time position of the score in real time via OSC. My aim would be to scratch through a score.
    Thanks
    Roland

    #3437 Répondre
    IanniX
    Maître des clés

    Hi Roland!

    You have two possibilities:
    — score absolute time control : /iannix/goto [time] that seeks in score. But it will not trig triggers.
    — cursors absolute time control : /iannix/setTime [id] [time], where [id] can be a specific cursor or you can set it to all to target all the cursors.

    If you want your score to be static when you don’t move cursors manually, please set score speed to 0.001 for example (/iannix/speed 0.001).

    To know all the available OSC commands, open the « Helper panel » (? icon) and make actions through GUI interface (for example, seeking or moving manually cursors). It will show you the syntax and options.

    Max example (copy and paste it into Max):

    {
    	"boxes" : [ 		{
    			"box" : 			{
    				"maxclass" : "newobj",
    				"text" : "loadbang",
    				"numoutlets" : 1,
    				"patching_rect" : [ 236.0, 15.0, 60.0, 20.0 ],
    				"id" : "obj-16",
    				"fontname" : "Arial",
    				"outlettype" : [ "bang" ],
    				"numinlets" : 1,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "message",
    				"text" : "/iannix/speed 0.01",
    				"numoutlets" : 1,
    				"presentation_rect" : [ 128.0, 79.0, 0.0, 0.0 ],
    				"patching_rect" : [ 236.0, 40.0, 108.0, 18.0 ],
    				"id" : "obj-15",
    				"fontname" : "Arial",
    				"outlettype" : [ "" ],
    				"numinlets" : 2,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "flonum",
    				"numoutlets" : 2,
    				"patching_rect" : [ 105.0, 15.0, 50.0, 20.0 ],
    				"id" : "obj-12",
    				"fontname" : "Arial",
    				"parameter_enable" : 0,
    				"outlettype" : [ "float", "bang" ],
    				"numinlets" : 1,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "message",
    				"text" : "/iannix/settime all $1",
    				"numoutlets" : 1,
    				"patching_rect" : [ 105.0, 40.0, 119.0, 18.0 ],
    				"id" : "obj-13",
    				"fontname" : "Arial",
    				"outlettype" : [ "" ],
    				"numinlets" : 2,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "flonum",
    				"numoutlets" : 2,
    				"patching_rect" : [ 10.0, 15.0, 50.0, 20.0 ],
    				"id" : "obj-5",
    				"fontname" : "Arial",
    				"parameter_enable" : 0,
    				"outlettype" : [ "float", "bang" ],
    				"numinlets" : 1,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "message",
    				"text" : "/iannix/goto $1",
    				"numoutlets" : 1,
    				"patching_rect" : [ 10.0, 40.0, 89.0, 18.0 ],
    				"id" : "obj-3",
    				"fontname" : "Arial",
    				"outlettype" : [ "" ],
    				"numinlets" : 2,
    				"fontsize" : 12.0
    			}
    
    		}
    , 		{
    			"box" : 			{
    				"maxclass" : "newobj",
    				"text" : "udpsend 127.0.0.1 1234",
    				"numoutlets" : 0,
    				"patching_rect" : [ 10.0, 68.0, 140.0, 20.0 ],
    				"id" : "obj-1",
    				"fontname" : "Arial",
    				"numinlets" : 1,
    				"fontsize" : 12.0
    			}
    
    		}
     ],
    	"lines" : [ 		{
    			"patchline" : 			{
    				"source" : [ "obj-15", 0 ],
    				"destination" : [ "obj-1", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
    , 		{
    			"patchline" : 			{
    				"source" : [ "obj-13", 0 ],
    				"destination" : [ "obj-1", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
    , 		{
    			"patchline" : 			{
    				"source" : [ "obj-16", 0 ],
    				"destination" : [ "obj-15", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
    , 		{
    			"patchline" : 			{
    				"source" : [ "obj-12", 0 ],
    				"destination" : [ "obj-13", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
    , 		{
    			"patchline" : 			{
    				"source" : [ "obj-5", 0 ],
    				"destination" : [ "obj-3", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
    , 		{
    			"patchline" : 			{
    				"source" : [ "obj-3", 0 ],
    				"destination" : [ "obj-1", 0 ],
    				"hidden" : 0,
    				"disabled" : 0
    			}
    
    		}
     ],
    	"appversion" : 	{
    		"major" : 6,
    		"minor" : 1,
    		"revision" : 8,
    		"architecture" : "x86"
    	}
    
    }
    #3443 Répondre
    Roland Cahen
    Invité

    Thanks a lot for this clear answer. Sorry not to have found it. I did not pay attention to the format of the OSC messages:
    /iannix/speed $1 (without space between /tags)

    It seems that the « /setpos <target> <x> <y> <z> » message is not recognized. The center message looks quite similar but the position is not send out by IanniX.

    I also noticed that IanniX control messages send by max through UDP seem not to be updated in the inspector, which should only be ok if you know perfectly all the controls, but difficult to understand if you are learning the software.

    Best regards
    Roland

    #3445 Répondre
    Roland Cahen
    Invité

    Oups, Sorry the ‘/center’ message works perfectly, but I had to restart IanniX.

4 sujets de 1 à 4 (sur un total de 4)
Répondre à : external time control
Vos informations :





© IanniX Association

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