X-Raym / REAPER-ReaScripts

X-Raym's Free and Open Source Scripts for Cockos REAPER.
http://www.extremraym.com/en/my-reaper-scripts/
GNU General Public License v3.0
182 stars 51 forks source link

Add channel mapping to "16 pads MIDI Notes Map" #20

Closed abaco closed 2 years ago

abaco commented 2 years ago

Hey, this adds the ability to map the midi channel for each individual pad, in addition to mapping notes. Shift + left click increasing the channel, shift + right click decreases it. Decreasing below 1 means the channel won't be mapped (the default behavior).

The purpose is to easily route different pads to different tracks, as channel-based routing is trivial in Reaper. In this way one can use different synths from the same controller.

I'm not sure about the UX... with this implementation the feature is basically hidden.

X-Raym commented 2 years ago

@abaco seems nice ! I will make few modifications and surely merge it, thx! (PS: glad you find this script useful!)

X-Raym commented 2 years ago

@abaco can you check thatthis doesn't sent unwanted CC ?

I got CC messages with this version, which I don't have in my MIDI message, and with previous version of the script

704: 90 24 7F [Note On] chan 1 note 36 vel 127
705: 80 24 00 [Note Off] chan 1 note 36
706: 90 26 7F [Note On] chan 1 note 38 vel 127
707: 80 26 00 [Note Off] chan 1 note 38
708: BF 1F 7F [CC31 MSB] chan 16 val 127
709: AF 1F 00 [Aftertouch] chan 16 note 31 val 0
710: 92 32 7F [Note On] chan 3 note 50 vel 127
711: 82 32 00 [Note Off] chan 3 note 50

SOmething is wrong with msg1

X-Raym commented 2 years ago

Added to reapack. Thx for your contribution!

X-Raym commented 2 years ago

I have added shift+mouse_wheel for channel offset. Way quicker

https://github.com/X-Raym/REAPER-ReaScripts/commit/03f29412c0f62084a4f11f9d31c4c880fb087eb3#diff-12cb4dd0589eb29e47fb013c39a1ac030ac947643d17edf700c23f5a8f886286

abaco commented 2 years ago

Wonderful! ❤️