Finished K-Fêt config
This commit is contained in:
commit
6bcd0af329
36 changed files with 1334 additions and 0 deletions
13
eos_midi/eos_object/macro.py
Normal file
13
eos_midi/eos_object/macro.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
""""EOS Macro"""
|
||||
from pythonosc.udp_client import SimpleUDPClient
|
||||
|
||||
|
||||
class Macro:
|
||||
"""EOS Macro"""
|
||||
def __init__(self, macro_id: int, osc_client: SimpleUDPClient):
|
||||
self.macro_id = macro_id
|
||||
self.osc_client = osc_client
|
||||
|
||||
def fire(self):
|
||||
"""Fires macro"""
|
||||
self.osc_client.send_message(f"/eos/macro/{self.macro_id}/fire", [])
|
Loading…
Add table
Add a link
Reference in a new issue