In this tutorial, we are attempting to control the grandMA3 using python osc messaging protocol.
The resources in this tutorial are tested with the following hardware
- Computer running grandMA3 onPC (Version)
- grandMA3 onPC 2Port Node 2K
- python 3.9 or higher
graph LR
A[Python 3.9<br>Computer or Raspberry Pi] <--LAN--> B[Network Switch]
B <--LAN--> C[grandMA3 on PC<br>use this IP Address]
B <--LAN--> D[grandMA3 2Port Node 2K]
Please refer to the setup guide for instructions specific to configuring OSC control on the grandMA3 onPC software.
For more instruction in OSC for grandMA3, please refer to this link.
In this example, we will be using a Raspberry Pi to control grandMA3 on PC.
- Create a file directory (in this example we will call the folder
grandma
)
mkdir grandma
- Copy the respective python file into the folder
~/grandma
grandma.py
- Edit the IP Address and Port Number (
line 18 and 19
) of the computer running grandMA3 on PC ingrandma.py
LAPTOP_IP = "192.168.0.100" # send to laptop w grandMA3
PORT = 8000 # laptop w grandMA3 port number
- Execute
grandma.py
. If the file is executed successfully, Sequence 1 will be triggered in the software
python3 grandma.py