From f93733a7908088b347d4d225e56892458f4e97f5 Mon Sep 17 00:00:00 2001 From: Graham Northup <grissess@nexusg.org> Date: Tue, 11 Sep 2018 01:54:08 -0400 Subject: vibrato, chorus, and parent events --- packet.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packet.py') diff --git a/packet.py b/packet.py index 5819a73..9865802 100644 --- a/packet.py +++ b/packet.py @@ -22,11 +22,14 @@ class CMD: KA = 0 # No important data PING = 1 # Data are echoed exactly QUIT = 2 # No important data - PLAY = 3 # seconds, microseconds, frequency (Hz), amplitude (0.0 - 1.0), port + PLAY = 3 # seconds, microseconds, frequency (Hz), amplitude (0.0 - 1.0), port, flags CAPS = 4 # ports, client type (1), user ident (2-7) PCM = 5 # 16 samples, encoded S16_LE PCMSYN = 6 # number of samples which should be buffered right now +class PLF: + SAMEPHASE = 0x1 + def itos(i): return struct.pack('>L', i).rstrip('\0') -- cgit v1.2.3-70-g09d2