Writing to 3 MIDI channels at the same time

Hello I want to send the information of an analog input to three channels simultaneously. For example with a mpxv5004 sensor to control three midi output channels please guide me since I can't control more than one channel

The goal is to figure out how to send a signal to multiple channels at a time.

Split from an old thread

vahidvzv:
Hello I want to send the information of an analog input to three channels simultaneously. For example with a mpxv5004 sensor to control three midi output channels please guide me since I can't control more than one channel

Post the code you have that controls one channel the way you want it to. Adding a couple of extra writes to other channels should be simple but will depend on what code you're using now.

Steve

There are 4 MIDI send commands in there. What happens if you just add extra commands after each existing MIDI.sendxxxxxxxx() identical except with the 3rd parameter set to 2 or 3 instead of 'channel' as now? E.g.

 MIDI.sendControlChange(CC_Number, breathCC, channel);
 MIDI.sendControlChange(CC_Number, breathCC, 2);
 MIDI.sendControlChange(CC_Number, breathCC, 3);

Repeat for the other MIDI commands.

Steve

1 Like

slipstick:
4 دستور ارسال MIDI در آنجا وجود دارد. چه اتفاقی می افتد اگر فقط بعد از هر MIDI موجود دستورات اضافی اضافه کنید .sendxxxxxxxx () به جز پارامتر 3 که به جای "channel" در حال حاضر روی 2 یا 3 تنظیم شده است؟ به عنوان مثال تکرار برای دستورات MIDI دیگر. استیو

 MIDI.sendControlChange(CC_Number, breathCC, channel);

MIDI.sendControlChange(CC_Number, breathCC, 2);
MIDI.sendControlChange(CC_Number, breathCC, 3);



آیا می توان همزمان با یک کد کوچک خروجی یکسانی بر روی USB داشت؟

Reported to moderator as follows

Reported by vahidvzv on Today at 05:13:21. They left the following message:

Thank you very much. The channel problem was fixed thanks to your help

Yet another spurious "Report to moderator", this time by @hanszull

apart from mpxv4006gp and mpx5010gp, what type of sensor can you use?

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