TWO 4 Win V0.12.7 How to/feature request OSC/Midi Controls

Hello,

I have a use case where I’m using TWO as a middleware to my OSC data and sometimes when traveling I don’t have my source data host. As a result I would like to record some basic OSC value between 0 and 1 over a time period to support unit testing in TouchDesigner as I develop my boilerplate.

My initial thought was I could change the slider on the Scene tab for the relevant level in the namespace and would be great if I could map my midi controller (learn feature) or a set namespace that I could use TouchOSC on my phone for basic transport functions or slider/knob.

Play, Record etc I think spacebar will play/stop but not sure on record?

Not sure if you have the ability to do this/some of this or a new request please?

Example Scene Control

Example Transport Controls

Example Midi Controller

1 Like

Hi,

Always great to see people’s use-cases!

I do not have a keyboard shortcut for recording - a simple change and an important omission so I should be adding it, thanks for pointing that out.

As for remote controlling TWO’s transport, that I DO support - with the glaring omission of recording(!):

5.4 Remote-controlling the Transport state
You can now send OSC messages to TWO’s timelines transport.
These are:

  • TWO/Transport/Play ii / ff / if/ fi …
  • /TWO/Transport/Play i / f
  • /TWO/Transport/Time i / f

So,
“/TWO/Transport/Play 1, 20000” would start transport playback, at 20000 milliseconds of the timeline.
“/TWO/Transport/Play 1” wold start at wherever the time caret is currently positioned.
“/TWO/Transport/Play 0” would stop.
And “/TWO/Transport/Time 30000” would skip to 30000 milliseconds, without altering the playback state.

All sent to the OSC port set in global settings labelled “Incoming Model Events Port”. Hm. That name could be improved too.

I will be adding recording keyboard/OSC control soon, thanks for the reminder!

Best,
Ilias B.

1 Like

Ok great I can test it when it’s ready.

Just to note, I’ve added this now, with the latest 0.13.0 release.

Shift + Space starts recording now (while space alone starts playback).

And, the OSC message: “/TWO/Transport/Record”, with the same argument options as Play above, will start/stop recording.

Obviously while recording a normal stop message will stop recording too.

Best,
Ilias B.

Hi there! First of all, great work on this application! Im doing a little project at my work with it and it’s looking good!
I’m contacting you regarding the commando to start recording in the timeline. When I just click the button with the mouse it starts recording actual data, but when I use the keyboard commando or OSC commando it just plays and doesn’t record data even it says it is recording. Is this a bug or am I doing something wrong?

Best,
Tijmen

1 Like

Hi, thanks!

It was a bug in 12.7, which 13 fixes, but only on Windows, since I haven’t made a release for MacOS in a while I’m afraid.

Are you on Windows, and if so, have you downloaded version 13?

Then, as per above:
Shift + Space starts recording now (while space alone starts playback).

And, the OSC message: “/TWO/Transport/Record”, with the same argument options as Play above, will start/stop recording.

If you’re on MacOS, sorry for the delay, I’ve been a bit too busy with my day job to get a build going on Mac, but I plan to address that in the coming weeks at most…

Best,
Ilias B.

Hi!

I’ve the v13 on Windows (Parallels). What I mean is that the commando’s work, but it doesn’t record anything. It only records actual data when I click on the record button.


1 Like

Hi,

You’re very right!

I did a quick test and could reproduce it on my end. I’ll make a fix ASAP. I hope in the meantime this isn’t blocking your project.

By the way, whatever it is you’re making do share if/when you can!
I am always keen to see how TWO is used out int the wild.

Best,
Ilias B.

Hi!

Thanks for the quick response. So great that you’re going to fix it. For now it isn’t blocking my project and I’m definitely not in a hurry.

I will share my project with you. How can I do that the right way? Should I make a new topic?

Greets, Tijmen

1 Like

A separate topic would be awesome!

I’ve added the “Showcase” category for the purpose.

Best,
Ilias B.

Hi,

I have now uploaded a new Windows release, 0.13.2, which fixes the remote OSC recording triggering issue:

https://www.controlmedia.art/two_win/TWO-0.13.2.exe

Let me know how it works out for you!

Now on to the long overdue MacOS update.
(If you downloaded the 0.13.1 build I had briefly uploaded, replace with this 0.13.2, a transport playback bug had sneaked in).