Page 1 of 1
OSC remapping for individual clip
Posted: Tue Aug 22, 2017 13:50
by mfo
Hi,
a little question:
For Resolume's OSC-output I've successfully remapped "/activeclip/video/position/values" to something like "/duration/seektoposition" (in OSC Application mapping, effectively overwriting "/activeclip/video/position/values").
But instead of /activeclip I would need to do this with i.e. /layer1/clip12. Any chance to achieve this?
Maybe by editting contextualOscShortcuts.xml? I saw the clip shortcut in it, but with hashtags, which maybe refer to activeclip? Removing the hashtags only broke the OSC out, didn't help.
Bests,
Marcel
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 13:59
by Zoltán
use /composition/layer1/clip1/video/position/values
replacing the numbers as you need
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 16:30
by mfo
Hm, how do you mean?
If I use "/composition/layer1/clip1/video/position/values" in contextualOscShortcuts.xml it does do anything.
But I found a work-around: the Layer Transport panel! (Usually have it deactivated.) Thus I can at least limit the OSC-remapping to one layer.
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 17:40
by Zoltán
yeah, sorry you don't actually have to put /composition in front of the address.
so if you want to control any clip's property you can address the clip directly for example layer 1 clip 3 playhead position you'd send a float 0-1 to
/layer1/clip3/video/position/values
or /layer1/video/position/values for the currently playing clip in layer 1
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 18:46
by mfo
i think you misunderstood my initial request (just editted it to make it more clear). i'm looking for a way to remap the OSC address resolume sends to, its about output.
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 19:54
by Zoltán
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<avenue>
<versionInfo name="Resolume Arena" majorVersion="5" minorVersion="1" microVersion="4"
revision="56521" id="1"/>
<shortcuts>
<contextualShortcuts>
<oscShortcut isContextual="1" mappingModeType="1" contextDetermination="3"
contextIndex1="0" contextIndex2="0" contextIndex3="-1" path="/layer#1/clip#1/video/position/values"
type="2" optionIndex="-1" loop="0" address="/position"/>
</contextualShortcuts>
</shortcuts>
</avenue>
works for me to remap the clip position to /position
I edited the xml file by hand w resolume not running.
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 20:06
by mfo
Did you look into the results? Because that is what I do and the result is: activeclip's position is being put out, not /layer1/clip1's (to stay in your example). Please try with another clip running in parallel, which has focus!
EDIT: Ah, wait. This makes all the difference: contextDetermination="3"!
When I map inside Resolume it always is contextDetermination="1".. how did you find out about this?
Nice one, btw. Thanks!
Re: OSC remapping for individual clip
Posted: Tue Aug 22, 2017 20:47
by Zoltán
I mapped a clip launch which addresses the clip directly then rewrote the osc address to be the clip position.