# Parsing midi.channel problem

**URL:** <https://discourse.nodered.org/t/parsing-midi-channel-problem/78085>\
**Category:** General\
**Created:** [1 May 2023 21:52 UTC](https://discourse.nodered.org/t/parsing-midi-channel-problem/78085 "2023-05-01T21:52:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vento](https://avatars.discourse-cdn.com/v4/letter/v/48db29/32.png) [@vento](https://discourse.nodered.org/u/vento)\
**Post date:** [1 May 2023 21:52 UTC](https://discourse.nodered.org/t/parsing-midi-channel-problem/78085/1 "2023-05-01T21:52:07Z")

</div>

Hi, would be wonderful if anybody can help me, I am trying to split the 6 MIDI channels that arrive via USB from an Elektron Model Samples. I put the first MIDI object, which receives and sends to a switch, which selects when the second value of the input array (note, velocity) is greater than zero, then it passes forward to another switch, where I have the problem. It is set in msg, where I wrote midi.channel, and under the variable == 1. Too bad it also passes me the MIDI of the other channels. So how may I correct? After the first switch that pass a midi on like msg, I was thinking to use 6 switches that separate the six channels. I founded the path midi.channel setting debug to complete msg, then I used it in the switch.But don't work as expected

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 June 2023 21:52 UTC](https://discourse.nodered.org/t/parsing-midi-channel-problem/78085/2 "2023-06-30T21:52:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
