Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.55 KB

tutorial5.md

File metadata and controls

48 lines (37 loc) · 1.55 KB

Tutorial 5

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

  1. Computer running grandMA3 onPC (Version)
  2. grandMA3 onPC 2Port Node 2K
  3. python 3.9 or higher

System Flowchart

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]
Loading

Configuration guide for grandMA3 onPC

Please refer to the setup guide for instructions specific to configuring OSC control on the grandMA3 onPC software.

setupguide_link

OSC Support on grandMA3

For more instruction in OSC for grandMA3, please refer to this link.

Installation / Operation

In this example, we will be using a Raspberry Pi to control grandMA3 on PC.

  1. Create a file directory (in this example we will call the folder grandma)
mkdir grandma
  1. Copy the respective python file into the folder ~/grandma
grandma.py
  1. Edit the IP Address and Port Number (line 18 and 19) of the computer running grandMA3 on PC in grandma.py
LAPTOP_IP = "192.168.0.100"		# send to laptop w grandMA3
PORT = 8000                     # laptop w grandMA3 port number
  1. Execute grandma.py. If the file is executed successfully, Sequence 1 will be triggered in the software
python3 grandma.py