move namedtuples

This commit is contained in:
onyx-and-iris 2026-01-18 12:22:53 +00:00
parent b45bd38706
commit 14f79d1388

View File

@ -31,28 +31,6 @@ class VbanRtPacket:
_samplerate: bytes # data[40:44] _samplerate: bytes # data[40:44]
class EqGains(NamedTuple):
bass: float
mid: float
treble: float
class Positions(NamedTuple):
pan_x: float
pan_y: float
color_x: float
color_y: float
fx1: float
fx2: float
class Sends(NamedTuple):
reverb: float
delay: float
fx1: float
fx2: float
@dataclass @dataclass
class VbanRtPacketNBS0(VbanRtPacket): class VbanRtPacketNBS0(VbanRtPacket):
"""Represents the body of a VBAN RT data packet with NBS 0""" """Represents the body of a VBAN RT data packet with NBS 0"""
@ -239,6 +217,28 @@ class VbanRtPacketNBS0(VbanRtPacket):
) )
class EqGains(NamedTuple):
bass: float
mid: float
treble: float
class Positions(NamedTuple):
pan_x: float
pan_y: float
color_x: float
color_y: float
fx1: float
fx2: float
class Sends(NamedTuple):
reverb: float
delay: float
fx1: float
fx2: float
@dataclass @dataclass
class VbanVMParamStrip: class VbanVMParamStrip:
"""Represents the VBAN_VMPARAMSTRIP_PACKET structure""" """Represents the VBAN_VMPARAMSTRIP_PACKET structure"""