Saturday, July 4, 2020

#1 2020-05-14 05:54:40 am

Fredrik71
Member
Registered: 2019-10-23
Posts: 279

SSH, Midi, Server...

I like to share with you different ways to send message from device A to device B.
If you are looking for a way to execute AppleScript from mobile device.

Its no secret its possible to send Siri Shorcuts from iOS device to Mac.
And using the SSH to remote login and execute commands.

SSH use ip so it depend on the Network condition but it could give good result.

===

Client and server
This approach use a server on host computer and client send message to it.
The connection depends on the Network condition but it could feel slow compare to SSH.
Its possible to use cable connection but the test I have done its still slower and SSH.

===

Send note message over Midi.
This is very fast and have same experience as good network condition for SSH.
Midi controller could send message over Bluetooth, Network or USB.
In the Midi Audio Setup -> Show Audio Device pane we could enable iOS device that are
connected to our mac host. Now we are connected with USB cable to our mac host.

We need to have a program to translate midi message to useful things.
https://www.bome.com/products/miditranslator

Now we could send note message to the mac host and execute AppleScript command.

And its very fast... smile

===

Have before talk about Portal Touch but this technology is slow compare to Midi and SSH.

===

MidiPipe is a free software that are able to pipe midi message from a device to host Mac
to execute AppleScript.
http://www.subtlesoft.square7.net/MidiPipe.html

Regards.

Last edited by Fredrik71 (2020-05-17 09:46:38 am)


I  have skied the highest mountain without logic, and still its the imagination that take me anywhere. Its the desire of something that matters for any knowledge I have or could learn.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)