How do you get the value of an OSC input
How do you get the values coming in via OSC, the one that's a floating point between 0 to 1.
I imagine it would be something like event.trigger.value
but I'm trying it without luck.
Maybe @Simon_Franglen knows as I know you already played around with OSC.
Hoping to create some nice RME Totalmix Support :)
- Christian Scheuer @chrscheuer2020-06-15 23:37:21.754Z
Ahh.. I think we may not have support for values.. We should fix this asap - especially if you're making me an RME package :D
- AAndy Bourgeois @Andy_Bourgeois
Hi, Is this now possible? I'd like to dynamically populate my stream deck with clips and controls using max for live and osc...
Christian Scheuer @chrscheuer2021-10-28 02:49:51.850Z
Hi Andy,
No, we missed this since there hasn't been many requests for OSC triggers. I'll make sure to log it in our system so we can take a look.
- AAndy Bourgeois @Andy_Bourgeois
Thanks!
- SIn reply toJesperA⬆:SoundFlow Bot @soundflowbot
This issue is now tracked internally by SoundFlow as SF-245
- TIn reply toJesperA⬆:Tony David Cray @tdc
Has this been updated? I am keen to use values sent via OSC from a NodeJS applet.
Christian Scheuer @chrscheuer2022-03-28 09:13:12.131Z
Hi Tony,
No, this hasn't made it into our schedule yet. You can use the SF cli instead though:
- TTony David Cray @tdc
Thanks Christian I shall take a look at that.
- In reply tochrscheuer⬆:TTony David Cray @tdc
Hi Christian,
I have gotten this working with commands being trigger via the cli and can send through arguments as needed ( very cool ). But unfortunately this doesn't help with some solutions that only send OSC.
It would be very empowering for Soundflow to pass through OSC arguments similar to MIDI via your CommandInvocation Interface.
Thanks, Tony
Christian Scheuer @chrscheuer2022-03-29 08:35:14.137Z
Great progress! Absolutely agreed. Reading OSC values is something we need. This got blocked back when we last looked into it on the complexity of making that into a good API.
Just to help move that process along, what would you expect out of the API to read the passed in OSC arguments?
What kinds of structures would you be sending?- TTony David Cray @tdc
For 90% of cases with OSC single float32 would suffice, but on occasions a vec3 would be passed if we were doing immersive mixes. For integration with SoundFlow, I would really only see a single float being needed though.
Christian Scheuer @chrscheuer2022-03-29 09:50:17.387Z
Cool. Just out of curiosity - what's the setup you're making here? What kind of external input would this come from?
- TTony David Cray @tdc
There are a number of things I am trying to achieve. ( apologies for being a little verbose )
Studio Controller. I presently have a StreamDeck that is running as the main controller at the console. This talks to TotalMix via OSC to set monitoring levels to a calibrated level, Dim, Mute etc. As well as recalls a number of presets that configure the monitors from Mono, Stereo then up the 32ch immersive setup we have. The controller also runs the lights via Hue. Using presets and a few individual lights.
Production Controller I use a StreamDeck XL as a production system to run scripts from KM that do a number of things with TotalMix via OSC for talkback / listenback etc, but also a lot of macros to control Pro Tools etc. Increasingly I am finding that I am taking the StreamDeck XL to sessions on location at other studios / venues as it helps a lot with productivity.
Location Sessions Recently I have migrated my location recording system to the RME AVB system based around a bunch of 12Mic systems and some AVB Tool units. These all talk over the network and I am working on getting the Pro Tools Mic Pre feature to be able to control these units, With some additional middleware like SF I can see this would be an elegant and workable solution. I had been down the path of NodeJS and Max as some of this middleware but that always like it wasnt the right tool.
Trick Bag From the little I have gleaned over the past two days of looking into SF, I am thinking it may be the solution for many things we would like to work on. It would be trivial to write some scripts that receive some UI input in a surface that contained some fades that could then output some form of cartesian coordinates for some custom panner in an IOSONO or d&b SoundScape system for example.
There are many devices in the audio industry that employ OSC as an interface and so having at least a basic implementation within SF for recieving OSC values would be great.
Cheers, Tony.
Christian Scheuer @chrscheuer2022-03-29 10:19:40.681Z
Thank you for that detailed explanation. Those are indeed very interesting setups. I think you'll have a ton of fun with SoundFlow going forward based on this :)
It also sounds like you've got quite a bit of programming experience. Let me know if you'd like to be on the waiting list for our Developer Program and we'll reach out to you when slots open up again :)
- TTony David Cray @tdc
Thanks Christian, I would be up for that - feel free to add let me know.
- In reply toJesperA⬆:Jesper Ankarfeldt @JesperA2023-12-04 16:03:33.860Z
Just bumping this, as I just tried again to get the value from an OSC trigger :)