Skip to content

Commit 679c6e4

Browse files
committed
changes for icmc - deal with after touch
1 parent a6d052a commit 679c6e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

default_setup.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[midi]
22
port: 2
33
device_id: 144
4-
noteoff_id: 0
4+
noteoff_id: 128
55

66
[snippets]
77
#Ndef(~name.next,{|pitch=420,fx=88| SinOsc.ar(456*LFTri.kr(fx).range(100, pitch)) * EnvGen.kr(Env.perc) * ev.amp}).play(0,2);(1/ev.rit).wait;}}).play(~ts, quant:0).envir = (rit: ~tremoloL, amp: 0.036);

hybrid/hybrid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def ck_loop(prototype='hello world'):
479479
codeK_thread.open_port(myPort)
480480

481481
print('port', myPort)
482-
482+
483483
#go to the end of the codespace screen
484484
mapping.goDown()
485485

@@ -491,7 +491,7 @@ def ck_loop(prototype='hello world'):
491491
if msg:
492492
message, deltatime = msg
493493

494-
if message [0] != 254:
494+
if message[0] != 254 and message[0] != 208:
495495
if message[2] > 0: #only noteOn
496496
if (message[0] == device_id):
497497

0 commit comments

Comments
 (0)