Comments (9)
The position translate is probably because of this:
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.
from osc-for-obs.
Sorry image didn't post I guess
from osc-for-obs.
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.
from osc-for-obs.
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.
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.
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.
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.
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.
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)
- Update download link from README.md to point to the latest release HOT 1
- Where has the code gone? HOT 4
- Linux version HOT 3
- Win10 Autostart Behaviour HOT 2
- License? HOT 1
- Default config clearing HOT 2
- Websocket 5.0 Compatiblity HOT 6
- Invalid Syntaxe HOT 5
- oscmessage /[type]/transition [duration] not fully working ? HOT 3
- Problem Installing on Windows 10 HOT 3
- Problem with Source Visibility in Windows 10 HOT 2
- Problems to activate QLab cues from OBS after updating software HOT 4
- T-Bar control HOT 2
- Qlab to obs HOT 2
- backwards scene order
- Javascript Error HOT 1
- Transition preview to program OSC command would be nice HOT 3
- /scene does not work HOT 5
- Way to reverse osc output string? HOT 3
- [Feature request] Send stream status via OSC output HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osc-for-obs.