letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.25k stars 2.2k forks source link

osc support #4114

Open xinglicai opened 2 years ago

xinglicai commented 2 years ago

Hello, I am engaged in the interactive multimedia industry. I am using espeasy, but most of the interactive software in our industry supports the OSC protocol. I hope to add the OSC protocol support to the protocol. Thank you!

TD-er commented 2 years ago

Do you have links describing the protocol?

I assume it wil be a "controller" ?

xinglicai commented 2 years ago

This is the library link of Arduino, https://github.com/hideakitai/ArduinoOSC Thank you for developing such a good software as espeasy, which is really the gospel of our art interaction industry.

---Original--- From: @.> Date: Mon, Jun 27, 2022 14:17 PM To: @.>; Cc: @.**@.>; Subject: Re: [letscontrolit/ESPEasy] osc support (Issue #4114)

Do you have links describing the protocol?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xinglicai commented 2 years ago

It is to add OSC protocol support to the controller. It is a special UDP protocol with address. If you can add support, it will be great.

TD-er commented 2 years ago

Just quickly browsed through the library you posted. I find it a bit strange to see there is a special version for Ethernet and one for WiFi. Have to look into it why that may be.

There seems also be a client and a server instance. I assume the ESPEasy support should be a client, right? Do you also have a link to a piece of software running on Windows/Linux implementing the broker side?

TD-er commented 2 years ago

Oh and to get an idea of how it is actually being used, can you give some examples of what data should be sent and how it should be formatted?

xinglicai commented 2 years ago
  1. human infrared sensor. When a person walks by, the interactive software receives the address /data, the message content is 1, and the port is 7000. The interactive software plays video. When there are multiple human infrared sensors, multiple videos can be triggered
  2. rotary encoder: when the encoder is rotated, the encoder value passes through the address /data, and the message content is: encoder value, port 7000. The interactive software content is synchronized with the rotation to achieve interesting interactive effects
  3. the screen of the wind sensor is dandelion. The wind value is transmitted to the interactive software through the OSC. The dandelion in the screen can fly away. The stronger the wind, the faster it flies In short, as long as it is a state change and a real-time numerical change, it can be converted into a trigger condition for interaction, so as to create interesting interaction effects.

---Original--- From: @.> Date: Mon, Jun 27, 2022 14:51 PM To: @.>; Cc: @.**@.>; Subject: Re: [letscontrolit/ESPEasy] osc support (Issue #4114)

Oh and to get an idea of how it is actually being used, can you give some examples of what data should be sent and how it should be formatted?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xinglicai commented 2 years ago

The OSC has a Windows version debugging client. the name is osctool,I will send it later.

xinglicai commented 2 years ago

osctools link: Edited as it looks like commercial software, which we don't want to use without a license.

TD-er commented 2 years ago

Don't you have a link to the original tool download?

xinglicai commented 2 years ago

https://opensoundcontrol.stanford.edu

---Original--- From: @.> Date: Mon, Jun 27, 2022 14:17 PM To: @.>; Cc: @.**@.>; Subject: Re: [letscontrolit/ESPEasy] osc support (Issue #4114)

Do you have links describing the protocol?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TD-er commented 2 years ago

I'm not seeing a download page on there. only a (very extensive) list of implementations.

TD-er commented 2 years ago

I only found this one: OSC Tools But that's a paid tool.

xinglicai commented 2 years ago

Give me a email, I will send to you.

---Original--- From: @.> Date: Mon, Jun 27, 2022 15:49 PM To: @.>; Cc: @.**@.>; Subject: Re: [letscontrolit/ESPEasy] osc support (Issue #4114)

I'm not seeing a download page on there. only a (very extensive) list of implementations.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

TD-er commented 2 years ago

My point is that it does look like it isn't free software and I don't want to encourage users to copy non-free software.

xinglicai commented 2 years ago

Sorry, there is no open source OSC debugging tool. This is an OSC debugging tool developed by a friend of mine. In addition, you can also use interactive tools such as openFrameworks, Processing, Max, Unity, Touch Designer to debug. Because of the relationship from China, I Uploading is inconvenient. Now upload the file to the Google network disk, please check it. https://drive.google.com/file/d/18H_Qx7HXRw8Q-kIUMQaMY04L8TauEGIq/view?usp=sharing

xinglicai commented 2 years ago

I sent you that your debugging tool has an English version. I have set the configuration file to English. Please check!

TD-er commented 2 years ago

I will see if the debugging tool is needed. If it is needed, we need to find a way to obtain a license, either by buying it or if it is being made available for free for OpenSource development (no idea what terms apply to the license) But I will not use pirated software.