Sending and receiving information to other devices (iphones even?)
Ok, looking at MobMuPlat, it is interesting, very interesting, but it is not really doing what I want, I think.
Can an iphone with MobMuPlat send information to a PD app on a laptop?
How can I implement a sustain pedal to a synth?
@alexesc The patch I posted above contains only the most basic vanilla objects and will work for mobmuplat......... https://forum.pdpatchrepo.info/topic/13294/how-can-i-implement-a-sustain-pedal-to-a-synth/5
Just add an inlet for the sustain pedal control and remove the [print] objects and it will do the same as [sustain] from cyclone.
If mobmuplat can work with [bag]...... check the list of objects it can work with....... then that could be more efficient as @emviveros suggests. Mobmuplat didn't implement all vanilla objects in the past, but maybe that has changed.
David.
mobmuplat grid not receiving message from pd
@borelei Wish85.exe *32 is fine if you also see pd.exe *32 or pd.com *32 in the task manager.
That means you are running a 32 bit version of Pd.
For a 64-bit Pd you would see pd.exe and wish86.exe.
It looks like for you mobmuplat is receiving floats just fine...... but they have commas like 1,000
That is weird..... or are they decimal points like 1.000....... hard to see on the screenshot.
@liamorourke I have an idea for a fix which will mean you can send [pdwrapper] a formatting message from the pd patch for each change of message type. I will upload it here asap.
I will then try to automate it but I am not sure it's possible given the various messages that can be sent.
I need to look at why there is an extra float going to the grid and how the /flash command is supposed to work...... so I need to do a fair bit of research in the examples on the Mobmuplat github.
CAN you post a link to where the "flash" is documented please?
I thought feedback was causing the network errors. It is good to know that is the cause.
If you could both zip up and upload your complete pd patch to this thread that would be useful for testing....
even though I cannot do a complete test with an Android device.
David
mobmuplat grid not receiving message from pd
@liamorourke The saturation of netsend/netreceive might be because you have a feedback loop between Pd and Mobmuplat.
I cannot see the rest of your patch so I cannot tell if that is the case.
If you are using Mobmuplat as the primary input for data you should use a "set" message for data you send from Pd to mobmuplat so that Mobmuplat does not send the data straight back to Pd.
This evening I will make you a wrapper that will work for all the guis (but only for you in this setup).
But before that..... could you please test the original [pdwrapper] with "MMPExamples-Sequencer" here.... https://github.com/monkeyswarm/MobMuPlat/tree/master/Shared/patches
It contains a grid...... shows how to prepend the set message to the data to stop a feedback loop.... and if it works with the original [pdwrapper] then your problem was somewhere else.....
David.
mobmuplat grid not receiving message from pd
@liamorourke I think you need to raise an issue on the site...... https://github.com/monkeyswarm/MobMuPlat/issues unless you can see it already raised.
The project started in the days of "Pd Extended" and the deprecation of the MrPeach library (on the Pd side of Mobmuplat) has caused some difficulty.
[oscformat] is buried inside [pdwrapper] and so you cannot easily format a message. MrPeach took care of that behind the scenes.
Integers can be defined for [oscformat] and the wrapper could be modified.
But you need to know first whether that really is a problem.
What was your definition for the grid?
0 0 as x y for every toggle does not look like it should be correct.
David.
mobmuplat grid not receiving message from pd
I open the pdwrapper.pd first... then the patch which I'm working on. then I send the message via [send toGUI].
exactly as it looks in the screenshot. I forgot to mention... I can send data to toggles and sliders in mobmuplat without any issue. that's what makes me think it's something to do with the fact that the number comes into the editor as float. on mobmuplat website it says that toggles and sliders accept float but on the grid section it doesn't say anything about float... it just says 'numbers'
thanks
mobmuplat grid not receiving message from pd
Hi,
I'm trying to send on/off data from a patch in pd to a single row grid in mobmuplat but for some reason It's not working. The input/ output console in mobmuplat shows the data coming in but for some reason it's coming in as floats instead of integers which is strange because in pd's console the message shows up as integers.
I notice on the mobmuplat website it just says that the grid input will take:
"a trio of numbers to set a grid cell: cellX, cell Y, value (0 or 1)."
Then when I click on one of the grid boxes in the mobmuplat editor it shows the output from the grid is: -
/moment0 0 0 1
(the target grid cell is called moment0)
So this matches up with what I've got printing in the pd console but for some reason the numbers convert to floating points when they enter mobmuplat. And nothing happens to the grid GUI element

I understand that this isn't a mobmuplat forum but I didn't know where else to ask. There isn't really much support out there for it from what I can see.
Thanks
Serial communication method which is native to vanilla
@liamorourke More here..... https://forum.pdpatchrepo.info/topic/11567/solved-anyone-using-mobmuplat-having-some-port-number-issues
Are you still planning to run Ubuntu alongside Android though? If you are you can use the Mobmuplat wrapper to set up communication between them (Mobmuplat GUI in Android and Pd in Ubuntu).... see that thread...... and in Pd..... running in Ubuntu..... you can use [comport] for the Arduino...... maybe.....?
David.
Serial communication method which is native to vanilla
Hi,
I'm tyring build something which involves sending arduino data to mobmuplat on android. My plan was... to use [comport] but this isn't working... and then i noticed why... on the mobmuplat website it says that only patches which are completely native to vanilla will work... ie. no installed externals... which [comport] is. So now I'm wondering if there is any way within vanilla that I can read serial info without installing anything extra. Thanks
running PD patch on ubuntu touch
I'm just wondering if anyone has any experience trying to run a pd patch on a smartphone which is running UBUNTU TOUCH
I'm not too fussed about the programming side of things as I'm happy doing that on my laptop but I'd like to run pre-made patches with GUI's on there if possible. this way I can permanently fix the smartphone into an enclosure I'm building for a pd/arduino project... thus giving me the SBC and the touchscreen interface all-in-one and for a very modest price.
I know there is mobmuplat on android... perhaps this might work??? I also noticed in the pd downloads page there are two versions of extended for raspbian (ARM) so perhaps seeing as the phone i've just bought has a cortex a7, this might work. It doesn't arrive till next wednesday tho so am unable to try just yet.
Just looking at my options I guess... if it's not possible I can always just leave android on there and use mobmuplat but I've been wanting to have a butchers at ubuntu touch for ages and now seems like a good opportunity
ThaNKS

