diff --git a/vban_cmd/packet.py b/vban_cmd/packet.py index 05ce74d..fe77ac6 100644 --- a/vban_cmd/packet.py +++ b/vban_cmd/packet.py @@ -31,28 +31,6 @@ class VbanRtPacket: _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 class VbanRtPacketNBS0(VbanRtPacket): """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 class VbanVMParamStrip: """Represents the VBAN_VMPARAMSTRIP_PACKET structure"""