aboutsummaryrefslogtreecommitdiff
path: root/broadcast.py
diff options
context:
space:
mode:
authorGraham Northup <grissess@nexusg.org>2018-09-11 23:39:38 -0400
committerGraham Northup <grissess@nexusg.org>2018-09-11 23:39:38 -0400
commit5c205fd148900dc787c99a4ce1898a49abfd901d (patch)
treeec0d1f5e55c897f8fd6c457c5ec3dd7beb3d0a4e /broadcast.py
parenta47d62027c8eefbaecdae73e34334d237841e374 (diff)
broadcast now uses samephase, client can clip
Diffstat (limited to 'broadcast.py')
-rw-r--r--broadcast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/broadcast.py b/broadcast.py
index 5fbdeab..80e4c59 100644
--- a/broadcast.py
+++ b/broadcast.py
@@ -614,7 +614,7 @@ for fname in args:
if options.clamp:
amp = max(min(amp, 1.0), 0.0)
flags = 0
- if note.get('parent', None):
+ if note.get('par', None):
flags |= PLF.SAMEPHASE
for cl in cls:
s.sendto(str(Packet(CMD.PLAY, int(pl_dur), int((pl_dur*1000000)%1000000), int(440.0 * 2**((pitch-69)/12.0)), amp, cl[2], flags)), cl[:2])