Wire: How direct to a desired target node by a selection

Post your questions here and we'll all try to help.
Post Reply
User avatar
webel
Posts: 80
Joined: Tue Feb 08, 2022 03:49
Location: Sydney, Australia

Wire: How direct to a desired target node by a selection

Post by webel »

I have multiple VideoPlayers (each one for a different kind of pre-generated background), triggered by a Transport Play.

I am currently using a Switch to then choose which one to use.

This seems inefficient, as (maybe) all background videos are "playing" when only one will be used.

What I'd like to do (see attached image) is choose where to "shunt" the Transport Play and only have one background video triggered at a time. Is there any Node dedicated to doing this? (I can see how to do it with some maths and logic gymnastics but it's not pretty and hard to maintain.)

The Node for this would have multiple outlets, only one of which is active/chosen.
2022-03-24-21-48-38-DK Wire BlendX2 (Edited) copy.jpg
Darren Kelly (PLAYlogo), Webel IT Australia

Zoltán
Team Resolume
Posts: 7599
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Wire: How direct to a desired target node by a selection

Post by Zoltán »

How about this?

--begin-wire-patch--
1019.3ocuWszjhhDD9uxFbFLp2O5a1Saum1K6dXOz1GPnTIFrvAJ5GaG9eeyBQQG74nwnQThIeUUYkeejYxWAIEVqIwkUXqBd3kuBlVVr.t.SCCJpcKqcAuFF3J7lXgAYVvBJ30UgcHY8QxaQtOPwFfnNjxPuG3hyrlx8QKO.ZXqpL4qc28Qq.HkYyl4WkMnoGxKHn9tqzCL07A.DrYKRMPr3q.L0OF6fEdRsasso4Eu6+084RSvCq+aXvaw409+ZdyXcAqZ22nzrEFa05P61oriwsS7EvCa8pnpr+yrCba8hIvgZKTLBft9dawz7SmWrIP..euLd4xL6rc.mLuHKYW3+sYoIF7Z.9jhZaZiyN2jMatK3AJDtdOK0MG1YMPqe.l3nAJNWvwvHSnjf4O8lICTTphhkJIFooRNrhI4wUMKXVJrURoPKIBdDURIQLRZbjTRMQS3T7HVLSSHLumYJ8AnfGPMqPQx2g49VVpoHvKWxKJ8gd3iHFgZLYqbwV25Mpgx2I3zFM1dfs0449C67rzTi0G7ANOdgG6nOVFaS8ANL6F3duyjXpNGKtUJGcZ9Ly5Ls74YDGjKWabP1VQ5w1bEd.WhvZDin6HaBe.gJnJMVfvbA4DbsPo0Qrg5uEoHCeLRyzRXRTJigtKbM5Tj8Kd1N7ZFdcyiu36+51k7pao2vtcKMJr22WOhf8OiclF4Juub8xy9fQdm6Bk22h9hHY8DXJtdfjSnJDsMswdJLtRvHboBStnzIJkOchfgS+ckN4WQIbXx7eVlm0DhwhaqvC5LITlTTjeEYpNHUx08XRLkMfowRhVBDGwSYMTIFA14PtCkPPNWkAthCTIiyhTZCOxHvwDVRLIke+yVzDG5HRWYsI7ZFNFQ9Xa7EK6yia61I5Ze9ralWJ6Bszbk8fzb8uzbtLe5l6G4.UnnPEJofoPXDgS0HwFYmhN.zZLESxvmU2MT9zSQruoYQZwH3pgrg.dwnghg2ptqqA26ozaSOqmnRBZ01KOxFOMNuxbDU7+Vl0VbQ0WFeQoNNLEhOPOkXLZ.AIPHLj1PRUcIO1zVIbGgFZS7TkAd9IXfIQOGoeVxiF8DjxgHjZEZzsxgFa7jbS5QCjdNwWCsz7iZiM4y8SUCx4chJgAklJy00iJ3M01lWYokc9KiqrvVrnggHnqsfQU1La7kWDv+5IKc+TFAm4icNWAnwV7XKYrkN1xFa4ishwV4XqZrUGzs.QESmt+o+m2MO+.5iY6ApWZhGqcNu+b97Dd81NkmXLsliwR7llYIDw.sRyglbOi.iGmRiXwTdjll5KNM0vSHLh7NUb5TOLq2WOz9lsa0CuOOKY9ez9lsqVqwJpKWyqqV8+3tbF3N
--end-wire-patch--
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

User avatar
webel
Posts: 80
Joined: Tue Feb 08, 2022 03:49
Location: Sydney, Australia

Re: Wire: How direct to a desired target node by a selection

Post by webel »

Thx. Clever solution. At least addresses my immediate need.

Longer term, I think there is a use/need for a node like PureData's 'route': http://pd-tutorial.com/english/ch02s02.html
---

TIP: https://resolume.com/support/en/wire-sa ... solidating:
Copy For Sharing

When you select any number of nodes and right click them, there will be an option to copy for sharing. This will turn your patch into a big mess of text that you can copy and paste onto a forum, chat channel, private message or your diary. The other user can copy that text and paste it into Wire (right click on an empty spot on the patch and paste). This is the quickest way to share patches among users.
Darren Kelly (PLAYlogo), Webel IT Australia

Zoltán
Team Resolume
Posts: 7599
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Wire: How direct to a desired target node by a selection

Post by Zoltán »

Awesome,

I think we have a ticket for a kind of "reverse gate" node one input many outputs.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Post Reply