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
-
Serial communication method which is native to vanilla
-
Maybe you could install a virtual midi port on your arduino ? So mobmuplate would treat it like any other usb midi port.
Esta lloviendo in Berlin...
-
@Il-pleut said:
Maybe you could install a virtual midi port on your arduino ? So mobmuplate would treat it like any other usb midi port.
Thanks.
I'm actually just having a look at using OSC-UDP with [netreceive] which looks quite promising to be fair. But failing that I might have a look into what you've suggested there
Il-pleut. Thanks -
Also... i'm guessing UDP will not route through the audio buffer which means I can have the buffer size set quite high without latency. This will be very beneficial as the phone's CPU probably isn't all that
-
@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. -
no David I'm planning to run it on android on it's own
I'm currently looking at an arduino library project that claims it can send OSC via USB. SO that could possibly work with [netreceive]... I think
thanks though -
https://www.arduino.cc/en/Reference/MIDIUSB
This could make things easyer.
Esta lloviendo in Berlin...
-
@Il-pleut said:
https://www.arduino.cc/en/Reference/MIDIUSB
This could make things easyer.
yeah I did look at that but I think it only works on MCU's with onboard USB. There is also the Hiduino bootloader for the u2 series of serial chips but unfortunately the board im using is a clone and has a ch340 which won't support any of that. I'm looking at a few serial - midi converter programs. The thing that's making it more difficult is that I need it to run on android. However, I do a bit of ruby programming on my phone and thus have ruby set up ready and can run programs with ease in my terminal app (termux). And I've actually just found a half-started ruby based serial - midi converter project by someone on github. AT the moment it only sends note values and I actually need CC so I'm gonna have a go at editing it and see what happens.
Thanks again