@liamorourke Yes...... schoolboy error...
And just seen that I need to add set to other parts of that subpatch as well.
I cannot see where the tempo bar "/flash" output is coming back into Pd .... so I cannot see the feedback that causes the network block and means the set message is required.
New one........ mmptest.zip
I think you should only receive tempo in the [pd GUI] radio bar....... and not send it....... remove the send address........
David.
-
mobmuplat grid not receiving message from pd
-
okay... this seems interesting. I didn't get any signals through to MMP with that last patch. so just to check that I had everything opened properly I decided to edit the patch so that it was the same as it was before with just
[list prepend /flash] to see if I get the messages through to MMP back.and every time I connected [list prepend /flash] to [send toGUI] pure data crashes... as in it instantly closes. I tried it 3 times and it did the same thing (crashed) at the exact moment the two objects.
Thanks
-
@liamorourke I think I am too tired today.
Another...... mmptest.zip
I have put the [pdwrapper] into [grid] so that it is opened at the same time.
I have just put Mobmuplat on my phone so as to stop working in the dark.
I get the message pd file chowsaw-newer.pd not found when I open grid.mmp...... any ideas?
Google is silent.
David. -
that's okay... it's looking for chopsaw-newer.pd as the pd patch file to link to. I think that was the name when i originally posted it. but then somewhere along the lines I changed it to the same name as the mmp file to make things simpler.
You can change which pd file mmp looks for in the editor on your laptop/ computer. it's under the 'doc' tab at the top-ish left... in the option: 'main Pd file' browse for the patch you have edited and select that. Then obviously you need to upload both the mmp file and the selected pd patch to you android device.
But i dont think the issue is about it running on android. it's about whats happening when pd is open with mobmuplat editor on pc/ mac.
-
I'm still not getting any messages through with the files in that last link you provided. Also my version of pd (vanilla) doesnt recognize the [pdwrapper] object that you've put in there. So i tried opening it seperately but still nothing.
-
@liamorourke Ok...... I have it working with the editor.
It's a lot easier when I can see what is happening.
mmptest.zip
Just open [grid]
I have put [pdwrapper] into [grid] so it will open at the same time.
AND I have made some small changes also to [pd tempoGUI] and [pd tempo]
David. -
@liamorourke If the [pdwrapper] does not create it is because you didn't un-zip the download......
David. -
okay... that seems to be working now David... However I had to open the pdwrapper seperately as pd didn't recognize the one you placed inside [grid]. but that's fine... it doesn't really make any difference... the main thing is it works.
Would you like me to report back as to whether this pdwrapper works with the rest of the MMP GUI objects?
Thank you very much for all your help
-
ahhh right... I will try unzipping it now. thanks
-
ah.. actually it was because the file is named Pdwrapper.pd but the object was called [pdwrapper] without a capital P. Just changed it on the object and it works.
Thanks again -
should i remove the pdwrapper from the patch before uploading to android? Would it cause any conflictions? or extra CPU usage?
-
@liamorourke I think it will not work with sliders for example.
For the grid you are sending "set 0 0 1" so the patch sends "format siii" to format.
I did it with a message
[;
format format siii(but it could be
[format siii(
sent into [s format]Anyway whatever the message you are sending you can send a format message first.
It applies to the message....... not the address like /fader
David. -
@whale-av so does siii stand for symbol integer integer integer
where the symbol is the address... and then the three ints are the values?
eg. /flash 0 0 1 -
@whale-av I don't know about uploading to Android.
Do you actually put the Pd patch on the android device?
If so then maybe you don't need the wrapper.
Maybe the patch talks directly to the GUI and the OSC is no longer involved.
In which case the work we have done has only been for testing with the editor.I obviously don't know much about Mobmuplat.
David. -
@liamorourke No..... siii is for the message part...... set 0 0 1
Buy yes........ symbol and integer.
The address /flash is not involved.To send /fader 2.837 you would just need "format f"
But for /fader set 2.837 you would need "format sf"My bedtime...... hope it all works.
David. -
okay... so i can define whether im sending integer or float from within the patch. that's good. You've been VERY helpful again David I really appreciate all this. take care
-
@liamorourke That's right.
I just tested your grid on my phone and it works.
The [pdwrapper] is just for testing the patch with the editor while you are developing it...... so it is not required when you upload the patch [grid] to Android.
So the messages to format can also be dropped from [grid] once you have completely finished the development and are happy with your patch.BUT it looks like Mobmuplat might be designed to talk over a network at the same time to Pd on another device...... your computer?
If that is the case the wrapper would still be needed on the computer and the right hand side of the wrapper might need some modification.
I have a lot of reading to do.
I cannot get the wrapper to open the broadcast socket and talk to my phone yet...... probably a setting in my home routers will need to be changed.......
David.