Giter VIP home page Giter VIP logo

Comments (9)

jshea2 avatar jshea2 commented on July 17, 2024

The position translate is probably because of this: image
If you delete that, it should be fine. I'll make an update soon.

As for the visibility of sources, that looks correct to me. What scene item(source) are you using? Can you screenshot what visibility thing you're trying to change?

from osc-for-obs.

awrebels avatar awrebels commented on July 17, 2024

from osc-for-obs.

awrebels avatar awrebels commented on July 17, 2024

Sorry image didn't post I guess
IMG_5686

from osc-for-obs.

jshea2 avatar jshea2 commented on July 17, 2024

I got it to work when I recreated the layout. What are you using to send OSC? One thing I noticed is in your "OSC IN:" the log should have a comma "," between the string and argument. So it should say...
OSC IN: /INTRO/AWR/visible, 0

This would mean your 0 is still in the string. Make sure where you put the 0 or 1 is in the 'value' or 'argument' input field (if they have it) rather than in the initial string or use a comma if it wants that. Some applications are different in how they send out OSC. Qlab separates them out by spaces.

Screen Shot 2021-01-07 at 1 52 53 PM

from osc-for-obs.

jshea2 avatar jshea2 commented on July 17, 2024

This also might explain the scene change, because you can change a scene just in the string without an argument. Let me know if this helps.

from osc-for-obs.

awrebels avatar awrebels commented on July 17, 2024

Interesting - yea i noticed that comma in your example video but it didn't seem to do anything when I tested it. So I'm using ETC Sound2light which sends osc commands with an On and Off trigger. Your point about the value/argument field made me test a couple options; comma, brackets, space, and FINALLY the equal (=) sign, and that was the solution. Just in case anyone else has these issues.

image

Your code is brilliant - thanks for the help!

Side question: with qlab which version do you need at a minimum? Do we need to go up to the $1K license (yikes) or is it just, I assume, the audio license?

from osc-for-obs.

awrebels avatar awrebels commented on July 17, 2024

I think I got a source filter visibility snippet working as well in case anyone needs it.

//Triggers Source Filter Visibility else if (msg[0].includes('filterEnabled')){ console.log(OSC IN: ${msg[0]} ${msg[1]}) var msgArray = msg[0].split("/") msgArray.shift() var filterEnabled; if(msg[1] === 0 || msg[1] === 'off'){ filterEnabled = false } else if(msg[1] === 1 || msg[1] === 'on'){ filterEnabled = true } obs.send("SetSourceFilterVisibility", { 'sourceName': msgArray[0].split('_').join(' ').toString(), 'filterName': msgArray[1].split('_').join(' ').toString(), 'filterEnabled': filterEnabled, }).catch(() => { console.log("ERROR: Opacity Command Syntax is Incorrect. Refer to Node OBSosc Github for Reference") }) }

from osc-for-obs.

jshea2 avatar jshea2 commented on July 17, 2024

Nice, Good to know! I'd love to check out your project once you're finished. I love (and miss) tech theatre projects! You inspired me today to update the code and add some stuff.

  • Filter Visibility
  • Rotation
  • I included my quick edit template for TouchOSC

I also started a Discord cause I thought it'd be cool to see what kind of tech projects people are making and talk about tech for live events stuff.
https://discord.gg/FJ79AKPgSk

from osc-for-obs.

jshea2 avatar jshea2 commented on July 17, 2024

Sorry! didn't see the QLab question. Yes, to send OSC cues at least the Audio license is required. If QLab is just receiving OSC, then the free works.

from osc-for-obs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.