Project

monoemur & serial osc

Started by dimi on .

Sign in or create an account to join the conversation.

28 posts

Topic starter
Hi all

I've been trying to get monome applications that use serialosc to work with monoemur. But so far no luck.

I noticed that monome applications using serialosc only need to get access to a servicename and use the serialosc.maxpat to accomplish this.

So i modified the monoemur_3.0 patch to setup(create) a servicename (using oscbonjour) at a port number.
I updated it to
1. receive from the monome application at that port number
2. send to the monome applicaton at that port number

I modified serialosc to get a list of all udp servicenames instead of those prefixed with _monome.
So when I started the monome application, i could select the servicename I setup in the monoemur patch.
But no connection at all, hence no fun with lemur...

Has anyone succeeded in getting this to work ? or is it impossible?
warm regards
dimi
Hi
I'd been keen to have a look into it as well . . .
I've had success with the monome suite for live from stretta but not the standalones so much

It seems there are a few different versions of serialosc out there as well, with manual port, and autofind/connect variants . .
Probably not best to actually edit serialosc patch imho - makes for yet another variant . . .

I have used the zeroconf objects and gotten servicename and port info to 'standard' serialosc ie. as -monome-osc._udp,
Just have a few issues to sort - but pretty close at the moment - should be quite possible

will post results a bit later

Cheers
MM
OK
Quick update: Definitely possible - Working proof of concept completed. Just needs test and tidy . . .
Will post something at some point soon once I've checked that there are no major issues
Worked out most of the issues - discovery, connection, old/new name conversion, addressing etc . .
But these problems may be better addressed with an updated Lemur project, rather than mediating Max patch

Part of the problem, unless your using a weird monome app like I was, is the new address space with serialosc
The monemur project uses the older addressing so is incompatible with the newer apps without revision somewhere

Are many people interested in monome type uses?

Cheers
MM
Wow, great that you had a breakthrough!

To answer to your point on your previous post, regarding compatibility of monoemur with monome apps, i too had only tested it with the maxforlive suite (v.2.0) of stretta.
If you however see the section in the monome apps, it clearly has this suite as well as several other apps under monomeserial compatible.

To test, I opened up polygome maxpat (offered as a separate download) for serialosc & monomeserial and tried both... only the monomeserial version worked and this confirmed my suspicion of needing to work on it.

As you identified serialosc brings a different concept from a port oriented setup to a service one. However there are protocol changes too.
One thing i didn't yet figure out - and maybe this is what you refer to - is whether the lemur monoemur template also should be adapted to conform to those as well.
Is this why you talk about leaving the max patch to do the bare minimum and update the template as well?

As a way forward, i would really love a serialosc solution for the lemur. All new monome apps are now using it and there are enough people interested (or will be for sure), by the looks of posts in the monome community.

warm regards
dimi
I have a monome 128 and use pages to run multipe apps at once. Might be worth to try it... and pages is awesome anyway. Has it´s own sequencer,
clip launcher, fader, etc.
http://docs.monome.org/doku.php?id=app:pages
It takes a while to set it up right, but once you done that it should work with the iPad as well. I know someone got it running, not sure if he
used monomemur for it though. I can run all apps, monomeserial or not, using pages with serial osc installed. Pages takes care of it.

Regarding monoemur, I remember some time ago that it caused lots of trouble when I tried to use it with my legacy lemur, because it has never been updated.

And yes, I would be interested as well to try monoemur on my iPad, especially using a 256 version. I´d still probably prefer my monome, but I´d
give it a try and see how it goes. ;)
Yes, Pages looks great.
I wonder however how many layers we have to setup to get a simple monome app going...
Every little one adds to the user, makes it more cumbersome to use, more error prone.. i don't know.
Having to run the monoemur max patch, pages and then another monome app, for me at least would be a serious reason to turn to another alternative.
Once you have pages set up it is really smooth and fast to get apps going, not many layers.

I save a preset of pages with apps and pages intern stuff I like most e.g. clip launcher / fader / molar / boing / obo / plinkonome / party4 / raptor / polygome
I use max for live, so it might be a bit easier once I know which apps I want I put them all in one folder, ready for use.
The first time you do that you have to check a bit more how each external app accepts osc (e.g. osc autofocus apps didn´t do well for me) and might have to change that, or
search for a different version of that app, but in the end I found a solution for almost all apps I wanted and mostly serial osc then does take care of the osc in/out ports hassle.

Next time you open pages java app, load the preset like mentioned above, open Ableton, either a default, or saved project with everything you want in it if you wish,
or load the m4l, or molar you wish and you are ready to go. Takes me 5 minutes to get my monome running and have all of the above ready to use. ;)

Btw.: Phortran who did pages is a great guy, always willing to help...even if you do not have a monome :D
http://post.monome.org/comments.php?DiscussionID=9603&page=29#Item_18
Macciza wrote:OK
Quick update: Definitely possible - Working proof of concept completed. Just needs test and tidy . . .
Will post something at some point soon once I've checked that there are no major issues
Worked out most of the issues - discovery, connection, old/new name conversion, addressing etc . .
But these problems may be better addressed with an updated Lemur project, rather than mediating Max patch

Part of the problem, unless your using a weird monome app like I was, is the new address space with serialosc
The monemur project uses the older addressing so is incompatible with the newer apps without revision somewhere

Are many people interested in monome type uses?

Cheers
MM
Hello Macciza
have you had any luck with testing? Do you need any help? Let me know if i can help...
Hi
Here you go - have a try of this - MonemurConnector v 3.03 . . .
It is a quick hack to route/rename the data that gets sent, do prefix, info etc. . .
Not the perfect solution - but workable for the moment with serialOSC monome apps
Not cleaned up inside or anything yet - still looking at getting Lemur to handle it all.
Check it out and see how it goes for you.
^^monemur_v303b.maxpat.zip
©2013 Macciza. CC BY-NC-SA Attribution-NonCommercial-ShareAlike

Cheers
MM
this worked great! any serialosc app worked without problems. maybe led status was not updated correctly (but that could be due to a particular app) in some instances. I discovered where my max patch was flawed (in many levels :oops: ).
I now see what you meant by handling it all in the lemur template... i am very inexperienced to do this and help out. Still haven't made a template yet.
But do you think we can have one template handling both monomeserial and serialosc? or a separate for each type of application?

a huge thanks for all your work!
No worries
Yeah I have noticed some weirdness at times with led redraws - not sure where the issue is
There are also a few newer messages that I did not deal with -

A Monemur connector that deals with both schemas should be possible . . .
Will probably look at a self-contained version on the Lemur also
It would be good to include some info overlays that change with app as well
Also an 16 color or RGB version would also be good to get happening . . .

Cheers
MM
yeah get back on it man!
the monemur was tiny when I first loaded it up on legacy screen!
got loads of custom monome patches that ahve been totally essential part of writing/gigging for a while now! i love some of the odler patches waaay more than the new ones that's why i wanted to get the others to work!
Hi
The original monemur v3 should have been legacy sized , running old format . . .
I did up an iPad sized version and implemented serialosc format . . .
Then someone took that work and repacked it for iPhone - is that where you started?
There should be a native iPad version somewhere, I will have a look . . .
I also did an Arc implementation with a 40h grid that probably still needs finalising

Really want to work towards an RGB version in the end . . .

MM
yeah man, that's where I started from!
couldn''t see the v3 for legacy, will have a look again but don't suppose it matters as there's a version working and its on my Lemur, cant ask for more ;)
the virtual arc that someone posted the link to on monome forum, i cant get to load up on mine, just instantly crashes JazzEditor everytime!
yeah an RGB version would be sweet! someone made a real one on the monome website didn't they? and added the code they'd used to get it to work with the arduino? not sure tho
yo yo! I downloaded the legacy v3 patch and I'm having problems getting it to respond to the touches
I have set everythign up according to the max patch such as set osc 0 to my computer's IP (92.blah blah)
and then set the lemur to port 7999 and set the Lemur IP (listed in settings to the max patch)
I can get the patches to start working but only when I actually click on the monome patches I want to run but then they do not respond to any of the touches I make on the Lemur yet the visual feedback is there?