Welcome to %s forums

BrainModular Users Forum

Login Register

osc interface with string on ios or android

General Discussion about whatever fits..
Post Reply
joffo78
Member
Posts: 1033
Contact:

osc interface with string on ios or android

Unread post by joffo78 » 25 Apr 2021, 12:00

hello
I am looking for someone who can help me to make a
interface for an osc remote control developed on the "open stage control" software : https://openstagecontrol.ammd.net/
I have created a patch to broadcast subtitles from a listbox in "HH".
I would like to send the text of this listbox via osc to an object and select the line to display from an android or ios device.
Does anyone here have any knowledge on this subject?
Thanks in advance.
JF
PS: I don't see any inconvenience in using something else than openstage control (touch osc or lemur for example).

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 27 Apr 2021, 18:20

it seems not to be an easy soft, I'll take a look.

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 28 Apr 2021, 01:19

Thanks a lot.
If there is a simpler way to do this, I'd love to hear it too !

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 24 May 2021, 19:51

Hi !
sorry for the late answer, it's been a busy month.

maybe easier to use P5.js with proper libraries (P5.gui, or P5.touchgui, p5js-osc)
there are exemples so should be easier to do !

are the Android client to be on a wifi local network ?
The number of android devices connected simultaneously should be anticipated as class C networks only allow for 254 clients

https://github.com/genekogan/p5js-osc

https://p5js.org/libraries/
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 24 May 2021, 20:42

I did some test with TOUCH OSC
if you use the "label" widget, you can send text from Usine to an android phone or IOS
If you plan to use this with artist and yourself it's the simplest solution I know of.

But if you're planning to send text to members of the public, the P5.js solution will be better as people just need to connect to an address with any browser.
Cheers
Attachments
osc send to label.PNG
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 26 May 2021, 22:43

Hi oli lab.
Thanks for your answer
no it's only for one person who have to display subtitle for an audience
First solution may be to tricky for me .
I will explore the touch osc solution but i'm afraid it will be to heavy for as many text

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 26 May 2021, 22:46

par rapport à ton exemple il semblerait que c'est le contraire que je cherche à faire.
C'est à dire que c'est à partir de la tablette que je souhaite choisir le texte à afficher . J'ai donc besoin de disposer de la liste de texte sur la tablet .
Telle est ma difficulté.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 27 May 2021, 00:12

beaucoup de texte comment ?

avec touch OSC, il peut y avoir des "labels" et un bouton à coté de chacun des labels

HH4 envoie les textes à chaque label et quand on appuie sur un bouton, HH4 affiche le texte correspondant

easy peasy !

pour l'OSC il faut juste penser mettre un port different pour celui qui entre et celui qui sort.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 May 2021, 18:52

it is done, with touch OSC !
Attachments
text remote.wkp
(97.79 KiB) Downloaded 236 times
text2.7z
(703 Bytes) Downloaded 281 times
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 28 May 2021, 20:27

Thanks oli.
Unfortunatly for me i'm afraid it doesn't match . I need a hundred lines

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 29 May 2021, 19:23

you can use a text as long as you want
it will display 5 lines at a time (or more if you adapt the patch)
You can as well load a text from a hard drive.

if you're planning to display 100 lines at a time, maybe it won't be that practical.

for those kind of problematic I use a set of cards with RFID tags and a custom-made RFID reader that send OSC

Or specifically for text I use random !

anyway I'm happy to help !
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 38 guests