-
liamorourke
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
@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 -
liamorourke
should i remove the pdwrapper from the patch before uploading to android? Would it cause any conflictions? or extra CPU usage?
-
liamorourke
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 -
liamorourke
ahhh right... I will try unzipping it now. thanks
-
liamorourke
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
-
liamorourke
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
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.
-
liamorourke
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
okay with the patch left exactly as you've sent it I'm getting: -
oscformat: no method for 'sliii'
in the pd consoleand I'm only getting the button 'off' messages: -
[in] /flash 15 0 0
[out] /flash 15 0 0etc. in the mmp console.
thanks
-
liamorourke
@whale-av thank you... I will have look and reorder the message shortly and let you know how I get along.
-
-
liamorourke
hi David... thanks for getting back to me. When you open my patch you will find that everything to do with messages being sent to MMP are in the supatch called [pd tempoGUI]
I have marked everything up in that subpatch and have commented as much as i can to make things easier for you.
the pdwrapper I have supplied in the zip is the newer version that you already did some editing on.
Thank you very much again for your help
oh and finally... /flash is just the address I have given to the grid.
-
liamorourke
hi again,
i think i might have ran into a problem which might be to do with what you were saying about how you had edited the pd wrapper for mobmuplat for me. You were saying that it might 'break' some of the other gui objects.So far everything actually seems to be working fine however, when I prepend a message to the grid with the word "set" in order to block return communication, the outward message (from pd to mmp) becomes a float again. Which means that the grid doesn't recognize it. looking at the mmp console, it has actually changed the message so that it starts with /set instead of /flash so maybe it's just that i'm not prepending the message correctly. But it's strange that the last value has changed back to a float. Which was the problem before.
Also, It sort of works without the set prepend but then I get a return message every time i send one and this is causing netsend/netreceive blocked errors.
-
-
liamorourke
is there a way to output all of the stored values in a table on a single line (in a list) so that I can unpack them?
I've tried sending tabread a [0, 1, 2, 3( message but this outputs the values on different lines. Here's my attempt.
tableInOut.pd
thanks -
-
liamorourke
ah right... thats makes sense.
I'll give it a go this evening
thank you -
liamorourke
Hi,
I'm trying to set up a save/ preset function on a sequencer I've patched using [textfile].
I have the information (ones and zeros) coming via [receive]'s from toggles in the main patch and I am successfully able to write the data to the .txt file on my hard drive. However, I can't seem to figure out how to read it back afterwards. I've followed the helpfile and sent a [read /file.txt( message to [textfile] but I am not getting anything at all on a print out from [textfile]
Can anybody see what I'm doing wrong please?
here's my patch.
textfileWriteRead.pd
Thank you very much -
liamorourke
this looks SICK!!! shame the project I'm working on atm is for android on mobmuplat so I'm limited to vanilla-only patches. Definitely gonna have a good look at this once I move onto the next project tho.