diff options
author | Grissess <grissess@nexusg.org> | 2016-06-14 02:44:27 -0400 |
---|---|---|
committer | Grissess <grissess@nexusg.org> | 2016-06-14 02:44:27 -0400 |
commit | bb38c09530d7e66182c0db5205c15b143f3d5a9b (patch) | |
tree | e3bc3b9a408b05380b08c8e7a5526a9896a461bf /client.py | |
parent | 368b5db51d76c162656abd26c88991f0f7f8a556 (diff) |
Modwheel stuff, floating-point amplitude
Diffstat (limited to 'client.py')
-rw-r--r-- | client.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ while True: elif pkt.cmd == CMD.PLAY: dur = pkt.data[0]+pkt.data[1]/1000000.0 FREQ = pkt.data[2] - AMP = MAX * (pkt.data[3]/255.0) + AMP = MAX * (pkt.as_float(3)) signal.setitimer(signal.ITIMER_REAL, dur) elif pkt.cmd == CMD.CAPS: data = [0] * 8 |