Old 03-29-2024, 10:09 AM   #1
tomson_fauster
Human being with feelings
 
Join Date: Sep 2023
Posts: 5
Default Send OSC list to Reaper to write automations

Hi to all!

I would like to ask you a question about OSC.

Is there a method, utilizing Reaper Actions or alternative approaches, to transmit a list of OSC data, each comprising a timeline and three additional variables, from another application?
This list will be used to write/overwrite automation within the Reaper session.


I think including the timeline within the OSC message is crucial since each timestamp in the OSC data needs to align with the current Reaper timeline.

Thank you all for the help!

Last edited by tomson_fauster; 04-01-2024 at 01:24 PM.
tomson_fauster is offline   Reply With Quote
Old 03-30-2024, 12:53 AM   #2
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,773
Default

What do you mean by a "timeline in OSC" ? AFAIK, OSC is dedicatedly a realtime protocol for single events.
mschnell is offline   Reply With Quote
Old 03-30-2024, 08:25 AM   #3
tomson_fauster
Human being with feelings
 
Join Date: Sep 2023
Posts: 5
Default

I try to explain the issue better.
I would like to send a list (or a single event at a time; it doesn't matter) from Unity software (in this case) to Reaper.

I would like to save coordinates in Unity with time stamps (e.g., 0 sec, variable 1, var2, var3; first sec, var1, var2, var3, etc., where the values change over time).
I would like these variables to override my automation of 3 variables in a Reaper plugin along its timeline, taking as reference the timestamp of the list I made on Unity and then putting at second0 the values that are in var1, var2, var3, then at second1 change those values with the 1st-second values of the variables and so on).

It is indifferent whether to send a complete list or a single event at a time (timestamp, var1,var2,var3).

What I would like to do, however, is to do some interactions in Unity for 30 seconds and send some coordinates (rescaled and adequately mapped) into Reaper to have it write the automation explained earlier in the 30-second timeline.


I hope I have explained the issue better.
Thank you very much for your help.
tomson_fauster is offline   Reply With Quote
Old 03-30-2024, 11:57 AM   #4
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,773
Default

Time stamps being sent in a realtime protocol like OSC does not seem to make sense.
mschnell is offline   Reply With Quote
Old 04-01-2024, 01:22 PM   #5
tomson_fauster
Human being with feelings
 
Join Date: Sep 2023
Posts: 5
Default

Do you have any advice on how to achieve what I have written?
Thanks in advance!
tomson_fauster is offline   Reply With Quote
Old 04-02-2024, 12:01 AM   #6
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,773
Default

If I understand correctly it's not possible to send such via OSC by means of any usual OSC usage guidelines.

OTOH, any device is free to send just anything via OSC, as there is no mandatory definition of the content of OSC messages.

ReaLearn or OSCIIBot are two Reaper-related propgrams I know that might be able to receive and decode such messages and maybe allow to do something sensible with the content.
mschnell is offline   Reply With Quote
Old 04-04-2024, 01:43 PM   #7
tomson_fauster
Human being with feelings
 
Join Date: Sep 2023
Posts: 5
Default

Thank you very much!

I have tried the different actions (see the attachment), and indeed, none allow me to "write" the points as I want (based on an external controller, like a MIDI controller, or just sent points from another software via OSC).

Effectively, most of these actions only allow one to write the current value. I don't know if you know of any other actions as well.

I will now investigate further in the forum if anyone has experience with my issue.
I thought what I had in mind to do was possible with the actions, leaving out the timeline thing.


Anyway, thank you again for the help!
Attached Images
File Type: png reaper_screen (1).png (88.4 KB, 9 views)
tomson_fauster is offline   Reply With Quote
Old 04-04-2024, 04:08 PM   #8
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,773
Default

Quote:
Originally Posted by tomson_fauster View Post
only allow one to write the current value.
This is exactly what OSC is designed for.
mschnell is offline   Reply With Quote
Old 04-14-2024, 09:27 AM   #9
pljones
Human being with feelings
 
pljones's Avatar
 
Join Date: Aug 2007
Location: London, UK
Posts: 768
Default

Essentially, you'd want to write a sequencer inside Unity itself to handle the sequencing of the control messages being sent to Reaper.
__________________
Quote:
Originally Posted by Tony Williams
...Playing fast around the drums is one thing. But to play with people for others, to listen to, that's something else. That's a whole other world.
pljones is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.