Highlights all the output message operators when banged. The H operator shouldn't have an output port but a right-side-locked port type, and has been modified.
Unified · Split
| @@ -242,6 +242,7 @@ BEGIN_OPERATOR(midicc) · 241 unmodified lines | |||
| 242 | Usz channel = index_of(channel_g); | 242 | Usz channel = index_of(channel_g); |
| 243 | if (channel > 15) | 243 | if (channel > 15) |
| 244 | return; | 244 | return; |
| 245 | PORT(0, 0, OUT); | ||
| 245 | Oevent_midi_cc *oe = | 246 | Oevent_midi_cc *oe = |
| 246 | (Oevent_midi_cc *)oevent_list_alloc_item(extra_params->oevent_list); | 247 | (Oevent_midi_cc *)oevent_list_alloc_item(extra_params->oevent_list); |
| 247 | oe->oevent_type = Oevent_type_midi_cc; | 248 | oe->oevent_type = Oevent_type_midi_cc; |
| @@ -305,6 +306,7 @@ BEGIN_OPERATOR(midi) · 57 unmodified lines | |||
| 305 | if (vel_num > 127) | 306 | if (vel_num > 127) |
| 306 | vel_num = 127; | 307 | vel_num = 127; |
| 307 | } | 308 | } |
| 309 | PORT(0, 0, OUT); | ||
| 308 | Oevent_midi_note *oe = | 310 | Oevent_midi_note *oe = |
| 309 | (Oevent_midi_note *)oevent_list_alloc_item(extra_params->oevent_list); | 311 | (Oevent_midi_note *)oevent_list_alloc_item(extra_params->oevent_list); |
| 310 | oe->oevent_type = (U8)Oevent_type_midi_note; | 312 | oe->oevent_type = (U8)Oevent_type_midi_note; |
| @@ -335,6 +337,7 @@ BEGIN_OPERATOR(udp) · 24 unmodified lines | |||
| 335 | } | 337 | } |
| 336 | n = i; | 338 | n = i; |
| 337 | STOP_IF_NOT_BANGED; | 339 | STOP_IF_NOT_BANGED; |
| 340 | PORT(0, 0, OUT); | ||
| 338 | Oevent_udp_string *oe = | 341 | Oevent_udp_string *oe = |
| 339 | (Oevent_udp_string *)oevent_list_alloc_item(extra_params->oevent_list); | 342 | (Oevent_udp_string *)oevent_list_alloc_item(extra_params->oevent_list); |
| 340 | oe->oevent_type = (U8)Oevent_type_udp_string; | 343 | oe->oevent_type = (U8)Oevent_type_udp_string; |
| @@ -356,6 +359,7 @@ BEGIN_OPERATOR(osc) · 15 unmodified lines | |||
| 356 | STOP_IF_NOT_BANGED; | 359 | STOP_IF_NOT_BANGED; |
| 357 | Glyph g = PEEK(0, 1); | 360 | Glyph g = PEEK(0, 1); |
| 358 | if (g != '.') { | 361 | if (g != '.') { |
| 362 | PORT(0, 0, OUT); | ||
| 359 | U8 buff[Oevent_osc_int_count]; | 363 | U8 buff[Oevent_osc_int_count]; |
| 360 | for (Usz i = 0; i < len; ++i) { | 364 | for (Usz i = 0; i < len; ++i) { |
| 361 | buff[i] = (U8)index_of(PEEK(0, (Isz)i + 3)); | 365 | buff[i] = (U8)index_of(PEEK(0, (Isz)i + 3)); |
| @@ -384,6 +388,7 @@ BEGIN_OPERATOR(midipb) · 22 unmodified lines | |||
| 384 | Usz channel = index_of(channel_g); | 388 | Usz channel = index_of(channel_g); |
| 385 | if (channel > 15) | 389 | if (channel > 15) |
| 386 | return; | 390 | return; |
| 391 | PORT(0, 0, OUT); | ||
| 387 | Oevent_midi_pb *oe = | 392 | Oevent_midi_pb *oe = |
| 388 | (Oevent_midi_pb *)oevent_list_alloc_item(extra_params->oevent_list); | 393 | (Oevent_midi_pb *)oevent_list_alloc_item(extra_params->oevent_list); |
| 389 | oe->oevent_type = Oevent_type_midi_pb; | 394 | oe->oevent_type = Oevent_type_midi_pb; |
| @@ -474,7 +479,7 @@ END_OPERATOR · 84 unmodified lines | |||
| 474 | 479 | ||
| 475 | BEGIN_OPERATOR(halt) | 480 | BEGIN_OPERATOR(halt) |
| 476 | LOWERCASE_REQUIRES_BANG; | 481 | LOWERCASE_REQUIRES_BANG; |
| 477 | PORT(1, 0, OUT); | 482 | PORT(1, 0, IN | PARAM); |
| 478 | END_OPERATOR | 483 | END_OPERATOR |
| 479 | 484 | ||
| 480 | BEGIN_OPERATOR(increment) | 485 | BEGIN_OPERATOR(increment) |