Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

OSC output from Runway #7

Open
reborn225 opened this issue Apr 25, 2019 · 14 comments
Open

OSC output from Runway #7

reborn225 opened this issue Apr 25, 2019 · 14 comments

Comments

@reborn225
Copy link

Have set the address for OSC in Processing as the same in Runway. But it's not detecting OSC in Processing. Any clue?

@cvalenzuela
Copy link
Member

Hey! Did you check the port?

@reborn225
Copy link
Author

Hey! So the default on Runway is "127.0.0.1:57102". I did a port scan in Network Utility (mac) but it wasn't able to detect if 57102 was available or not... Is there any way to manually change the address and port in Runway by any chance?

@reborn225
Copy link
Author

Screen Shot 2019-04-26 at 11 46 52 AM

@cvalenzuela
Copy link
Member

You can't change the ports for now. That feature will be enabled in future releases.
Which Processing code are you using?

@reborn225
Copy link
Author

I used the code from this runwayml / processing thread.

Side note, I tried OSCulator and OSC_data_monitor today and was not able to detect incoming OSC from Runway...

@masterofshapes
Copy link

Im having same issue in touchdesigner were you able to resolve?

@agermanidis
Copy link
Member

agermanidis commented Jun 21, 2019

Hi @reborn225 and @masterofshapes, you need to first create an OSC client and then send a message with the address /server/connect to Runway's OSC server at the port displayed within the app in order to start receiving data from Runway. Here's a working example with PoseNet: https://github.com/runwayml/processing/blob/master/posenet/posenet.pde. Just change the variable runwayPort to the port displayed in the app. Let me know if this works!

@reborn225
Copy link
Author

Will try, thank you for the reply!

@reborn225
Copy link
Author

Processing was able to operate the example code you provided, but it still does not receive OSC messages from the port in Runway. Could I possibly visit the office and have you guys take a look on it? I live in New York as well and is a Music Tech student from Steinhardt. I want to create an audio-visual installation using PoseNet. Please let me know!

Kenji

@masterofshapes
Copy link

Thanks for reply I just tried this in touch designer manually and also using your touch-designer example script both didn't work am I missing something? Does example on github work for touchdesigner in version 0.66 of runway?

@billythemusical
Copy link

billythemusical commented Aug 1, 2019

Hey guys - I'm having the same prob with Processing example for im2txt. I get a NullPointerException pointing to line 77. Here is the full console log from Processing:

2019-08-01 14:00:50.190 java[20802:535604] Can't open input server /Library/InputManagers/QuicKeysIM
OscP5 0.9.9 infos, comments, questions at http://www.sojamo.de/oscP5


### [2019/8/1 14:0:51] PROCESS @ OscP5 stopped.
### [2019/8/1 14:0:51] PROCESS @ UdpClient.openSocket udp socket initialized.
### [2019/8/1 14:0:52] PROCESS @ UdpServer.start() new Unicast DatagramSocket created @ port 57200
### [2019/8/1 14:0:52] PROCESS @ UdpServer.run() UdpServer is running @ 57200
### [2019/8/1 14:0:52] INFO @ OscP5 is running. you (192.168.1.87) are listening @ port 57200
NullPointerException

It seems to only happen when Runway tries to send data over the connection. Like if I stop the model, launch the Processing sketch, and then start the model again, I get the NullPointerException error in Processing. I can also replicate the error if I change the port number in Processing to not match Runway and then change it back.

Best,
Billy

@cvalenzuela
Copy link
Member

I just pushed a fix, can you try with the latest updates?

@billythemusical
Copy link

im2txt.pde example now working on my end!

@chiaraZac
Copy link

hi,
I am having same issue as @reborn225 , did anyone managed to sort OSC messages from the port in Runway?

It seems all good but it does not show the data in println() , this is the message i get:

OscP5 0.9.9 infos, comments, questions at http://www.sojamo.de/oscP5
[2019/8/31 17:14:51] PROCESS @ OscP5 stopped.
[2019/8/31 17:14:51] PROCESS @ UdpClient.openSocket udp socket initialized.
[2019/8/31 17:14:52] PROCESS @ UdpServer.start() new Unicast DatagramSocket created @ port 57200
[2019/8/31 17:14:52] PROCESS @ UdpServer.run() UdpServer is running @ 57200
[2019/8/31 17:14:52] INFO @ OscP5 is running. you (192.168.0.21) are listening @ port 57200

Hope anyone who has managed to sort it out can help me with this matter.

Thanks a lot.
C
@chiaraZac
Write

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants