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
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"
}
}
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
Oups, Sorry the ‘/center’ message works perfectly, but I had to restart IanniX.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |