#N canvas 470 252 450 300 10; #X text 119 213 - Outlet: List of MIDI note on (keys; #X text 120 193 - Inlet: Bang to get the list.; #X text 131 227 that are being pressed).; #X text 110 36 Keeps track in a list of which keys; #X text 121 52 are being pressed (MIDI note on); #N canvas 455 318 572 308 list-MIDInoteon 0; #X obj 153 17 inlet bang; #N canvas 623 364 450 300 on_off_route 0; #X obj 86 31 notein; #X obj 72 72 pack f f; #X obj 72 132 route 0; #X obj 72 102 zl rev; #X obj 23 245 outlet on; #X obj 114 246 outlet off; #X obj 111 160 list split 1; #X text 192 16 Routes MIDI note on messages to; #X text 192 34 the left outlet \, and note off; #X text 193 52 messages to the right outlet; #X connect 0 0 1 0; #X connect 0 1 1 1; #X connect 1 0 3 0; #X connect 2 0 5 0; #X connect 2 1 6 0; #X connect 3 0 2 0; #X connect 6 1 4 0; #X restore 258 26 pd on_off_route; #X obj 207 126 list-extend; #N canvas 429 293 527 367 list-deletevalue 0; #X obj 174 23 inlet list; #X obj 68 25 inlet value; #X obj 92 75 list-find; #X obj 137 226 list-delete; #X obj 159 185 list; #X obj 78 313 outlet; #X obj 157 106 limit 0 1; #X obj 80 269 switch; #X obj 156 130 + 1; #X obj 156 155 t b f; #X text -128 121 the value is not found; #X text -133 13 Inlet 0: Value to delete; #X text -134 31 Inlet 1: A list; #X text -130 80 then the value to delete; #X text -139 64 - First input the list \,; #X text -141 106 - Outputs the complete list if; #X obj 177 50 list; #X text -142 154 - Stores the output list.; #X connect 0 0 16 0; #X connect 1 0 2 0; #X connect 2 0 3 1; #X connect 2 1 6 0; #X connect 3 0 7 2; #X connect 4 0 3 0; #X connect 4 0 7 1; #X connect 6 0 8 0; #X connect 7 0 5 0; #X connect 7 0 16 0; #X connect 8 0 9 0; #X connect 9 0 4 0; #X connect 9 1 7 0; #X connect 16 0 4 1; #X connect 16 0 2 1; #X restore 272 215 pd list-deletevalue; #X obj 249 169 spigot; #X msg 338 87 1; #X obj 222 59 t f b; #X msg 243 85 0; #X obj 319 56 t f b b; #X obj 201 264 outlet; #X obj 203 181 list; #X text -95 23 Keeps track in a list of which keys; #X text -84 39 are being pressed (MIDI note on); #X text -89 103 - Outlet: List of MIDI note on (keys; #X text -88 83 - Inlet: Bang to get the list.; #X text -77 117 that are being pressed).; #X connect 0 0 2 0; #X connect 0 0 10 0; #X connect 1 0 6 0; #X connect 1 1 8 0; #X connect 2 0 4 0; #X connect 2 0 10 1; #X connect 3 0 2 1; #X connect 4 0 3 1; #X connect 5 0 4 1; #X connect 6 0 2 0; #X connect 6 1 7 0; #X connect 7 0 4 1; #X connect 8 0 3 0; #X connect 8 1 2 0; #X connect 8 2 5 0; #X connect 10 0 9 0; #X restore 158 123 pd list-MIDInoteon;